Build Information
Successful build of CoreDataKit, reference master (b3f1bb
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 19:00:37 UTC.
Swift 6 data race errors: 19
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
"Storage Wrappers/User Defaults/Codable User Storage.swift",
"Storage Wrappers/User Defaults/User Defaults.swift",
"Storage Wrappers/User Defaults/User Storage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/10] Write sources
[2/10] Write swift-version-2F0A5646E1D333AE.txt
[3/107] Compiling FRC CKCountResultsController.m
[4/107] Compiling FRC CKObjectResultsController.m
[5/107] Compiling FRC CKObjectIdResultsController.m
[6/107] Compiling FRC CKFetchedResultsController.m
[7/107] Compiling FRC CKDictionaryResultsController.m
[9/107] Compiling PublisherKit Bindable Center.swift
[10/107] Compiling PublisherKit Bindable Value.swift
[11/107] Compiling PublisherKit Any Cancellable.swift
[12/107] Compiling PublisherKit JSONDecoder.swift
[13/107] Compiling PublisherKit Error Model.swift
[14/107] Compiling PublisherKit HTTP Error.swift
[15/107] Compiling PublisherKit NSError.swift
[16/107] Compiling PublisherKit Array+Extension.swift
[17/107] Compiling PublisherKit Dictionary+Extension.swift
[18/107] Compiling PublisherKit Optional+Extension.swift
[19/107] Compiling PublisherKit URL+Extension.swift
[20/107] Compiling PublisherKit Validate.swift
[21/107] Compiling PublisherKit Zip.swift
[22/107] Compiling PublisherKit Zip3.swift
[23/107] Compiling PublisherKit Zip4.swift
[24/107] Compiling PublisherKit Zip5.swift
[25/107] Compiling PublisherKit Dispatch Queue.swift
[26/107] Compiling PublisherKit Operation Queue.swift
[27/107] Compiling PublisherKit Scheduler Time.swift
[28/107] Compiling PublisherKit Any Subscriber.swift
[29/107] Compiling PublisherKit Assign.swift
[30/117] Compiling PublisherKit Try Compact Map.swift
[31/117] Compiling PublisherKit Count.swift
[32/117] Compiling PublisherKit Debounce.swift
[33/117] Compiling PublisherKit Decode.swift
[34/117] Compiling PublisherKit Filter.swift
[35/117] Compiling PublisherKit Try Filter.swift
[36/117] Compiling PublisherKit Flat Map.swift
[37/117] Compiling PublisherKit Handle Events.swift
[38/117] Compiling PublisherKit Ignore Output.swift
[39/117] Compiling PublisherKit Just.swift
[40/117] Compiling PublisherKit Map Error.swift
[41/117] Emitting module PublisherKit
[42/117] Compiling PublisherKit Completion.swift
[43/117] Compiling PublisherKit Demand.swift
[44/117] Compiling PublisherKit Combine Latest Sink.swift
[45/117] Compiling PublisherKit Combine Latest Sink3.swift
[46/117] Compiling PublisherKit Combine Latest Sink4.swift
[47/117] Compiling PublisherKit Combine Latest Sink5.swift
[48/117] Compiling PublisherKit Data Task Sink.swift
[49/117] Compiling PublisherKit Handle Events Sink.swift
[50/117] Compiling PublisherKit Internal Sink.swift
[51/117] Compiling PublisherKit Merge Sink.swift
[52/117] Compiling PublisherKit Merge5.swift
[53/117] Compiling PublisherKit Merge6.swift
[54/117] Compiling PublisherKit Merge7.swift
[55/117] Compiling PublisherKit Merge8.swift
[56/117] Compiling PublisherKit NKPublishers.swift
[57/117] Compiling PublisherKit NSObject.swift
[58/117] Compiling PublisherKit Notification Center.swift
[59/117] Compiling PublisherKit Optional.swift
[60/117] Compiling PublisherKit Receive On.swift
[61/117] Compiling PublisherKit Replace Empty.swift
[62/117] Compiling PublisherKit Replace Error.swift
[63/117] Compiling PublisherKit URLRequest+Extension.swift
[64/117] Compiling PublisherKit Logger.swift
[65/117] Compiling PublisherKit Asynchronous Operation.swift
[66/117] Compiling PublisherKit Cancellable.swift
[67/117] Compiling PublisherKit Decoder.swift
[68/117] Compiling PublisherKit NSObject PublisherType.swift
[69/117] Compiling PublisherKit Publisher+Operators.swift
[70/117] Compiling PublisherKit Publisher+Subscribers.swift
[71/117] Compiling PublisherKit Publisher.swift
[72/117] Compiling PublisherKit Scheduler.swift
[73/117] Compiling PublisherKit Subscriber.swift
[74/117] Compiling PublisherKit Subscription.swift
[75/117] Compiling PublisherKit All Satisfy.swift
[76/117] Compiling PublisherKit Try All Satisfy.swift
[77/117] Compiling PublisherKit Any Publisher.swift
[78/117] Compiling PublisherKit Catch.swift
[79/117] Compiling PublisherKit Try Catch.swift
[80/117] Compiling PublisherKit Combine Latest.swift
[81/117] Compiling PublisherKit Combine Latest3.swift
[82/117] Compiling PublisherKit Combine Latest4.swift
[83/117] Compiling PublisherKit Combine Latest5.swift
[84/117] Compiling PublisherKit Compact Map.swift
[85/117] Compiling PublisherKit Map Keypath.swift
[86/117] Compiling PublisherKit Map Keypath2.swift
[87/117] Compiling PublisherKit Map Keypath3.swift
[88/117] Compiling PublisherKit Map.swift
[89/117] Compiling PublisherKit Try Map.swift
[90/117] Compiling PublisherKit First Match.swift
[91/117] Compiling PublisherKit Matches.swift
[92/117] Compiling PublisherKit Merge Many.swift
[93/117] Compiling PublisherKit Merge.swift
[94/117] Compiling PublisherKit Merge3.swift
[95/117] Compiling PublisherKit Merge4.swift
[96/117] Compiling PublisherKit Result.swift
[97/117] Compiling PublisherKit Retry.swift
[98/117] Compiling PublisherKit Sequence+Operators.swift
[99/117] Compiling PublisherKit Sequence.swift
[100/117] Compiling PublisherKit Share.swift
[101/117] Compiling PublisherKit NSTextField.swift
[102/117] Compiling PublisherKit NSTextView.swift
[103/117] Compiling PublisherKit UITextField.swift
[104/117] Compiling PublisherKit UITextView.swift
[105/117] Compiling PublisherKit Data Task.swift
[106/117] Compiling PublisherKit Operator Sink.swift
[107/117] Compiling PublisherKit Top Level Sink.swift
[108/117] Compiling PublisherKit Zip Sink.swift
[109/117] Compiling PublisherKit Zip Sink3.swift
[110/117] Compiling PublisherKit Zip Sink4.swift
[111/117] Compiling PublisherKit Zip Sink5.swift
[112/117] Compiling PublisherKit NKSubscribers.swift
[113/117] Compiling PublisherKit OnCompletion.swift
[114/117] Compiling PublisherKit Sink.swift
[115/117] Compiling PublisherKit Sinkable.swift
[116/156] Compiling CoreDataKit Base Stack.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataCloudKit.swift:15:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | public final class CoreDataCloudKit: CoreDataKit {
| `- note: class 'CoreDataCloudKit' does not conform to the 'Sendable' protocol
13 |
14 | /// The default instance with database name being application's name.
15 | private static let `internalDefault` = CoreDataCloudKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default instance with database name being application's name.
[117/156] Compiling CoreDataKit CoreData Cloud Stack.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataCloudKit.swift:15:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | public final class CoreDataCloudKit: CoreDataKit {
| `- note: class 'CoreDataCloudKit' does not conform to the 'Sendable' protocol
13 |
14 | /// The default instance with database name being application's name.
15 | private static let `internalDefault` = CoreDataCloudKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default instance with database name being application's name.
[118/156] Compiling CoreDataKit CoreData Stack.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataCloudKit.swift:15:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | public final class CoreDataCloudKit: CoreDataKit {
| `- note: class 'CoreDataCloudKit' does not conform to the 'Sendable' protocol
13 |
14 | /// The default instance with database name being application's name.
15 | private static let `internalDefault` = CoreDataCloudKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default instance with database name being application's name.
[119/156] Compiling CoreDataKit CoreDataCloudKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataCloudKit.swift:15:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | public final class CoreDataCloudKit: CoreDataKit {
| `- note: class 'CoreDataCloudKit' does not conform to the 'Sendable' protocol
13 |
14 | /// The default instance with database name being application's name.
15 | private static let `internalDefault` = CoreDataCloudKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default instance with database name being application's name.
[120/160] Emitting module CoreDataKit
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Cloud Persistent Container.swift:12:13: warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | final class CKCloudPersistentContainer: CKCloudContainer, CKContainerType {
| `- warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
13 |
14 | convenience init(with name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Persistent Container.swift:11:13: warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CKPersistentContainer: CKContainer, CKContainerType {
| `- warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
12 |
13 | convenience init(with name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Container Type.swift:11:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | protocol CKContainerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | init(with name: String)
13 | func updateContexts()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Store Description Methods.swift:11:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | public protocol CKStoreDescriptionMethods: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | func addStoreDescriptions(_ descriptions: [CKStoreDescription])
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataCloudKit.swift:15:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | public final class CoreDataCloudKit: CoreDataKit {
| `- note: class 'CoreDataCloudKit' does not conform to the 'Sendable' protocol
13 |
14 | /// The default instance with database name being application's name.
15 | private static let `internalDefault` = CoreDataCloudKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataCloudKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// The default instance with database name being application's name.
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:14:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
14 | private static let `internalDefault` = CoreDataKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public class var `default`: CoreDataKit {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:11:16: warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension NSError {
11 | static var errorDomain = "CKErrorDomain"
| |- warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorDomain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:13:16: warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var errorDomain = "CKErrorDomain"
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
| |- warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cannotDecode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cannotDecode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:83:43: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
81 | extension CKFetchRequest {
82 |
83 | class Inner<Downstream: NKSubscriber, Result: CKFetchResult>: NKSubscriber, NKSubscription where Downstream.Input == CKFetchedResults<Result>, Downstream.Failure == NSError {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
84 |
85 | typealias Input = CKFetchedResults<Result>
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:121:29: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
119 | }
120 |
121 | public struct Publisher<Result: CKFetchResult>: NKPublisher {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
122 |
123 | public typealias Output = CKFetchedResults<Result>
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:815:16: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
813 |
814 | @nonobjc @inline(__always)
815 | public var ckQueryableValue: CKQueryableType {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
816 | self
817 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:831:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
829 |
830 | @inline(__always)
831 | public class func ckDecode(data: Data) throws -> Self {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
832 | if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
833 | guard let object = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [Self.self], from: data) as? Self else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:59:16: warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
57 |
58 |
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
| |- warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'statusOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:61:16: warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
| |- warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'objectIds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:63:16: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class KeychainDefaults: Keychain {
| `- note: class 'KeychainDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = KeychainDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: KeychainDefaults {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class Keychain {
| `- note: class 'Keychain' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = Keychain()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | open class var standard: Keychain {
15 | .default
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:307:27: warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
305 | ///
306 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute migrate to a new device when using encrypted backups.
307 | public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
| |- warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |
309 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:313:27: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
311 | ///
312 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
313 | public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlockThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |
315 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:323:27: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
321 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
322 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
323 | public static let always = Accessibility(rawValue: kSecAttrAccessibleAlways)
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'always' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 |
325 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:329:27: warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
327 | ///
328 | /// This is recommended for items that only need to be accessible while the application is in the foreground. Items with this attribute never migrate to a new device. After a backup is restored to a new device, these items are missing. No items can be stored in this class on devices without a passcode. Disabling the device passcode causes all items in this class to be deleted.
329 | public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
| |- warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenPasscodeSetThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:335:27: warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
333 | ///
334 | /// This is not recommended for application use. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
335 | public static let alwaysThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAlwaysThisDeviceOnly)
| |- warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:343:27: warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
341 | ///
342 | /// This is the default value for keychain items added without explicitly setting an accessibility constant.
343 | public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
| |- warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlocked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:353:27: warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
351 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
352 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
353 | public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
| |- warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlockedThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | }
355 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/User Defaults/User Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class UserDefaults: Foundation.UserDefaults {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = UserDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: UserDefaults {
[121/160] Compiling CoreDataKit Persistent Container.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Persistent Container.swift:11:13: warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CKPersistentContainer: CKContainer, CKContainerType {
| `- warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
12 |
13 | convenience init(with name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Container Type.swift:11:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | protocol CKContainerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | init(with name: String)
13 | func updateContexts()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Store Description Methods.swift:11:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | public protocol CKStoreDescriptionMethods: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | func addStoreDescriptions(_ descriptions: [CKStoreDescription])
[122/160] Compiling CoreDataKit Container Type.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Persistent Container.swift:11:13: warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CKPersistentContainer: CKContainer, CKContainerType {
| `- warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
12 |
13 | convenience init(with name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Container Type.swift:11:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | protocol CKContainerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | init(with name: String)
13 | func updateContexts()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Store Description Methods.swift:11:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | public protocol CKStoreDescriptionMethods: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | func addStoreDescriptions(_ descriptions: [CKStoreDescription])
[123/160] Compiling CoreDataKit Stack.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Persistent Container.swift:11:13: warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CKPersistentContainer: CKContainer, CKContainerType {
| `- warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
12 |
13 | convenience init(with name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Container Type.swift:11:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | protocol CKContainerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | init(with name: String)
13 | func updateContexts()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Store Description Methods.swift:11:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | public protocol CKStoreDescriptionMethods: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | func addStoreDescriptions(_ descriptions: [CKStoreDescription])
[124/160] Compiling CoreDataKit Store Description Methods.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Persistent Container.swift:11:13: warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
9 | import Foundation
10 |
11 | final class CKPersistentContainer: CKContainer, CKContainerType {
| `- warning: class 'CKPersistentContainer' must restate inherited '@unchecked Sendable' conformance
12 |
13 | convenience init(with name: String) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Container Type.swift:11:27: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | protocol CKContainerType: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 | init(with name: String)
13 | func updateContexts()
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Protocols/Store Description Methods.swift:11:44: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | public protocol CKStoreDescriptionMethods: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | func addStoreDescriptions(_ descriptions: [CKStoreDescription])
[125/160] Compiling CoreDataKit Aliases.swift
[126/160] Compiling CoreDataKit Batch Delete.swift
[127/160] Compiling CoreDataKit Batch Insert.swift
[128/160] Compiling CoreDataKit Batch Update.swift
[129/160] Compiling CoreDataKit Asynchronous Fetch Clause.swift
[130/160] Compiling CoreDataKit DIctionary+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:11:16: warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension NSError {
11 | static var errorDomain = "CKErrorDomain"
| |- warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorDomain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:13:16: warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var errorDomain = "CKErrorDomain"
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
| |- warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cannotDecode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cannotDecode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[131/160] Compiling CoreDataKit DispatchQueue+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:11:16: warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension NSError {
11 | static var errorDomain = "CKErrorDomain"
| |- warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorDomain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:13:16: warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var errorDomain = "CKErrorDomain"
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
| |- warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cannotDecode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cannotDecode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[132/160] Compiling CoreDataKit NSError+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:11:16: warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension NSError {
11 | static var errorDomain = "CKErrorDomain"
| |- warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorDomain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:13:16: warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var errorDomain = "CKErrorDomain"
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
| |- warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cannotDecode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cannotDecode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[133/160] Compiling CoreDataKit Result+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:11:16: warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension NSError {
11 | static var errorDomain = "CKErrorDomain"
| |- warning: static property 'errorDomain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorDomain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorDomain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Extensions/NSError+Extension.swift:13:16: warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | static var errorDomain = "CKErrorDomain"
12 |
13 | static var cannotDecode = NSError(domain: errorDomain, code: NSURLErrorCannotParseResponse, userInfo: [NSLocalizedDescriptionKey : "Nil value for this object."])
| |- warning: static property 'cannotDecode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cannotDecode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cannotDecode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
[134/160] Compiling CoreDataKit Fetch Clause.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Cloud Persistent Container.swift:12:13: warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | final class CKCloudPersistentContainer: CKCloudContainer, CKContainerType {
| `- warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
13 |
14 | convenience init(with name: String) {
[135/160] Compiling CoreDataKit OrderBy.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Cloud Persistent Container.swift:12:13: warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | final class CKCloudPersistentContainer: CKCloudContainer, CKContainerType {
| `- warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
13 |
14 | convenience init(with name: String) {
[136/160] Compiling CoreDataKit Predicate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Cloud Persistent Container.swift:12:13: warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | final class CKCloudPersistentContainer: CKCloudContainer, CKContainerType {
| `- warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
13 |
14 | convenience init(with name: String) {
[137/160] Compiling CoreDataKit Where Clause.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Cloud Persistent Container.swift:12:13: warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | final class CKCloudPersistentContainer: CKCloudContainer, CKContainerType {
| `- warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
13 |
14 | convenience init(with name: String) {
[138/160] Compiling CoreDataKit Cloud Persistent Container.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreData/Containers/Cloud Persistent Container.swift:12:13: warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
10 |
11 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
12 | final class CKCloudPersistentContainer: CKCloudContainer, CKContainerType {
| `- warning: class 'CKCloudPersistentContainer' must restate inherited '@unchecked Sendable' conformance
13 |
14 | convenience init(with name: String) {
[139/160] Compiling CoreDataKit Fetch Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:83:43: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
81 | extension CKFetchRequest {
82 |
83 | class Inner<Downstream: NKSubscriber, Result: CKFetchResult>: NKSubscriber, NKSubscription where Downstream.Input == CKFetchedResults<Result>, Downstream.Failure == NSError {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
84 |
85 | typealias Input = CKFetchedResults<Result>
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:121:29: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
119 | }
120 |
121 | public struct Publisher<Result: CKFetchResult>: NKPublisher {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
122 |
123 | public typealias Output = CKFetchedResults<Result>
[140/160] Compiling CoreDataKit Fetch.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:83:43: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
81 | extension CKFetchRequest {
82 |
83 | class Inner<Downstream: NKSubscriber, Result: CKFetchResult>: NKSubscriber, NKSubscription where Downstream.Input == CKFetchedResults<Result>, Downstream.Failure == NSError {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
84 |
85 | typealias Input = CKFetchedResults<Result>
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:121:29: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
119 | }
120 |
121 | public struct Publisher<Result: CKFetchResult>: NKPublisher {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
122 |
123 | public typealias Output = CKFetchedResults<Result>
[141/160] Compiling CoreDataKit Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:83:43: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
81 | extension CKFetchRequest {
82 |
83 | class Inner<Downstream: NKSubscriber, Result: CKFetchResult>: NKSubscriber, NKSubscription where Downstream.Input == CKFetchedResults<Result>, Downstream.Failure == NSError {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
84 |
85 | typealias Input = CKFetchedResults<Result>
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:121:29: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
119 | }
120 |
121 | public struct Publisher<Result: CKFetchResult>: NKPublisher {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
122 |
123 | public typealias Output = CKFetchedResults<Result>
[142/160] Compiling CoreDataKit Asynchronous Operation.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:83:43: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
81 | extension CKFetchRequest {
82 |
83 | class Inner<Downstream: NKSubscriber, Result: CKFetchResult>: NKSubscriber, NKSubscription where Downstream.Input == CKFetchedResults<Result>, Downstream.Failure == NSError {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
84 |
85 | typealias Input = CKFetchedResults<Result>
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Fetch Requests/Fetch Request.swift:121:29: warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
11 |
12 | @propertyWrapper
13 | public struct CKFetchRequest<Result: CKFetchResult> {
| `- note: 'Result' previously declared here
14 |
15 | public var wrappedValue: CKFetchedResults<Result> {
:
119 | }
120 |
121 | public struct Publisher<Result: CKFetchResult>: NKPublisher {
| `- warning: generic parameter 'Result' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
122 |
123 | public typealias Output = CKFetchedResults<Result>
[143/160] Compiling CoreDataKit Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:59:16: warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
57 |
58 |
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
| |- warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'statusOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:61:16: warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
| |- warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'objectIds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:63:16: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class KeychainDefaults: Keychain {
| `- note: class 'KeychainDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = KeychainDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: KeychainDefaults {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class Keychain {
| `- note: class 'Keychain' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = Keychain()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | open class var standard: Keychain {
15 | .default
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:307:27: warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
305 | ///
306 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute migrate to a new device when using encrypted backups.
307 | public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
| |- warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |
309 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:313:27: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
311 | ///
312 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
313 | public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlockThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |
315 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:323:27: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
321 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
322 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
323 | public static let always = Accessibility(rawValue: kSecAttrAccessibleAlways)
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'always' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 |
325 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:329:27: warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
327 | ///
328 | /// This is recommended for items that only need to be accessible while the application is in the foreground. Items with this attribute never migrate to a new device. After a backup is restored to a new device, these items are missing. No items can be stored in this class on devices without a passcode. Disabling the device passcode causes all items in this class to be deleted.
329 | public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
| |- warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenPasscodeSetThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:335:27: warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
333 | ///
334 | /// This is not recommended for application use. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
335 | public static let alwaysThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAlwaysThisDeviceOnly)
| |- warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:343:27: warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
341 | ///
342 | /// This is the default value for keychain items added without explicitly setting an accessibility constant.
343 | public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
| |- warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlocked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:353:27: warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
351 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
352 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
353 | public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
| |- warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlockedThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | }
355 | }
[144/160] Compiling CoreDataKit Keychain Defaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:59:16: warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
57 |
58 |
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
| |- warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'statusOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:61:16: warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
| |- warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'objectIds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:63:16: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class KeychainDefaults: Keychain {
| `- note: class 'KeychainDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = KeychainDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: KeychainDefaults {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class Keychain {
| `- note: class 'Keychain' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = Keychain()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | open class var standard: Keychain {
15 | .default
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:307:27: warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
305 | ///
306 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute migrate to a new device when using encrypted backups.
307 | public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
| |- warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |
309 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:313:27: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
311 | ///
312 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
313 | public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlockThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |
315 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:323:27: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
321 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
322 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
323 | public static let always = Accessibility(rawValue: kSecAttrAccessibleAlways)
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'always' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 |
325 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:329:27: warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
327 | ///
328 | /// This is recommended for items that only need to be accessible while the application is in the foreground. Items with this attribute never migrate to a new device. After a backup is restored to a new device, these items are missing. No items can be stored in this class on devices without a passcode. Disabling the device passcode causes all items in this class to be deleted.
329 | public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
| |- warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenPasscodeSetThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:335:27: warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
333 | ///
334 | /// This is not recommended for application use. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
335 | public static let alwaysThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAlwaysThisDeviceOnly)
| |- warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:343:27: warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
341 | ///
342 | /// This is the default value for keychain items added without explicitly setting an accessibility constant.
343 | public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
| |- warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlocked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:353:27: warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
351 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
352 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
353 | public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
| |- warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlockedThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | }
355 | }
[145/160] Compiling CoreDataKit Keychain Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:59:16: warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
57 |
58 |
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
| |- warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'statusOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:61:16: warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
| |- warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'objectIds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:63:16: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class KeychainDefaults: Keychain {
| `- note: class 'KeychainDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = KeychainDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: KeychainDefaults {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class Keychain {
| `- note: class 'Keychain' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = Keychain()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | open class var standard: Keychain {
15 | .default
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:307:27: warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
305 | ///
306 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute migrate to a new device when using encrypted backups.
307 | public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
| |- warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |
309 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:313:27: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
311 | ///
312 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
313 | public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlockThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |
315 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:323:27: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
321 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
322 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
323 | public static let always = Accessibility(rawValue: kSecAttrAccessibleAlways)
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'always' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 |
325 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:329:27: warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
327 | ///
328 | /// This is recommended for items that only need to be accessible while the application is in the foreground. Items with this attribute never migrate to a new device. After a backup is restored to a new device, these items are missing. No items can be stored in this class on devices without a passcode. Disabling the device passcode causes all items in this class to be deleted.
329 | public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
| |- warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenPasscodeSetThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:335:27: warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
333 | ///
334 | /// This is not recommended for application use. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
335 | public static let alwaysThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAlwaysThisDeviceOnly)
| |- warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:343:27: warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
341 | ///
342 | /// This is the default value for keychain items added without explicitly setting an accessibility constant.
343 | public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
| |- warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlocked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:353:27: warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
351 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
352 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
353 | public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
| |- warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlockedThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | }
355 | }
[146/160] Compiling CoreDataKit Keychain.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:59:16: warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
57 |
58 |
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
| |- warning: static property 'statusOnly' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'statusOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:61:16: warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
59 | static let statusOnly = CKResultType(resultType: .statusOnly, batchUpdate: .statusOnlyResultType, batchDelete: .resultTypeStatusOnly) // Return a status boolean. Bool.
60 |
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
| |- warning: static property 'objectIds' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'objectIds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Result/Result.swift:63:16: warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | /// Batch Request result type.
45 | public struct CKResultType {
| `- note: consider making struct 'CKResultType' conform to the 'Sendable' protocol
46 |
47 | private enum ResultType {
:
61 | static let objectIds = CKResultType(resultType: .objectIds, batchUpdate: .updatedObjectIDsResultType, batchDelete: .resultTypeObjectIDs) // Return the object IDs of the rows that were inserted / updated. [CKObjectId].
62 |
63 | static let count = CKResultType(resultType: .count, batchUpdate: .updatedObjectsCountResultType, batchDelete: .resultTypeCount) // Return the number of rows that were inserted / updated.
| |- warning: static property 'count' is not concurrency-safe because non-'Sendable' type 'CKResultType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'count' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class KeychainDefaults: Keychain {
| `- note: class 'KeychainDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = KeychainDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'KeychainDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: KeychainDefaults {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class Keychain {
| `- note: class 'Keychain' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = Keychain()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Keychain' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | open class var standard: Keychain {
15 | .default
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:307:27: warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
305 | ///
306 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute migrate to a new device when using encrypted backups.
307 | public static let afterFirstUnlock = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlock)
| |- warning: static property 'afterFirstUnlock' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
308 |
309 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:313:27: warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
311 | ///
312 | /// After the first unlock, the data remains accessible until the next restart. This is recommended for items that need to be accessed by background applications. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
313 | public static let afterFirstUnlockThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly)
| |- warning: static property 'afterFirstUnlockThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'afterFirstUnlockThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
314 |
315 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:323:27: warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
321 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
322 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlock")
323 | public static let always = Accessibility(rawValue: kSecAttrAccessibleAlways)
| |- warning: static property 'always' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'always' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 |
325 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:329:27: warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
327 | ///
328 | /// This is recommended for items that only need to be accessible while the application is in the foreground. Items with this attribute never migrate to a new device. After a backup is restored to a new device, these items are missing. No items can be stored in this class on devices without a passcode. Disabling the device passcode causes all items in this class to be deleted.
329 | public static let whenPasscodeSetThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly)
| |- warning: static property 'whenPasscodeSetThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenPasscodeSetThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:335:27: warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
333 | ///
334 | /// This is not recommended for application use. Items with this attribute do not migrate to a new device. Thus, after restoring from a backup of a different device, these items will not be present.
335 | public static let alwaysThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleAlwaysThisDeviceOnly)
| |- warning: static property 'alwaysThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'alwaysThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 |
337 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:343:27: warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
341 | ///
342 | /// This is the default value for keychain items added without explicitly setting an accessibility constant.
343 | public static let whenUnlocked = Accessibility(rawValue: kSecAttrAccessibleWhenUnlocked)
| |- warning: static property 'whenUnlocked' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlocked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
344 |
345 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/Keychain/Keychain.swift:353:27: warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
294 |
295 | /// Keychain Accessibility options.
296 | public struct Accessibility {
| `- note: consider making struct 'Accessibility' conform to the 'Sendable' protocol
297 |
298 | var attributeValue: CFString
:
351 | @available(tvOS, introduced: 4.0, deprecated: 12.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
352 | @available(watchOS, introduced: 2.0, deprecated: 5.0, message: "Use an accessibility level that provides some user protection, such as afterFirstUnlockThisDeviceOnly")
353 | public static let whenUnlockedThisDeviceOnly = Accessibility(rawValue: kSecAttrAccessibleWhenUnlockedThisDeviceOnly)
| |- warning: static property 'whenUnlockedThisDeviceOnly' is not concurrency-safe because non-'Sendable' type 'Keychain.Accessibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whenUnlockedThisDeviceOnly' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 | }
355 | }
[147/160] Compiling CoreDataKit CoreDataKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:14:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
14 | private static let `internalDefault` = CoreDataKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public class var `default`: CoreDataKit {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:117:30: warning: capture of 'workItem' with non-sendable type '(CKAsynchronousOperation) throws -> T' in a '@Sendable' closure
115 |
116 | do {
117 | output = try workItem(operation)
| |- warning: capture of 'workItem' with non-sendable type '(CKAsynchronousOperation) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | catch let error as NSError {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:117:39: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in a '@Sendable' closure
115 |
116 | do {
117 | output = try workItem(operation)
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in a '@Sendable' closure
118 | }
119 | catch let error as NSError {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:120:44: warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in a '@Sendable' closure
118 | }
119 | catch let error as NSError {
120 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
121 | return
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in a '@Sendable' closure
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in a '@Sendable' closure
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated closure; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:49: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated closure; this is an error in the Swift 6 language mode
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated closure; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:131:21: warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
129 | switch result {
130 | case .success:
131 | completion(.success(output))
| |- warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |
133 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated local function; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated local function; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:49: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated local function; this is an error in the Swift 6 language mode
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated local function; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:134:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | case .failure(let error):
134 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
[148/160] Compiling CoreDataKit AnyKeyPath+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:14:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
14 | private static let `internalDefault` = CoreDataKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public class var `default`: CoreDataKit {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:117:30: warning: capture of 'workItem' with non-sendable type '(CKAsynchronousOperation) throws -> T' in a '@Sendable' closure
115 |
116 | do {
117 | output = try workItem(operation)
| |- warning: capture of 'workItem' with non-sendable type '(CKAsynchronousOperation) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | catch let error as NSError {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:117:39: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in a '@Sendable' closure
115 |
116 | do {
117 | output = try workItem(operation)
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in a '@Sendable' closure
118 | }
119 | catch let error as NSError {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:120:44: warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in a '@Sendable' closure
118 | }
119 | catch let error as NSError {
120 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
121 | return
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in a '@Sendable' closure
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in a '@Sendable' closure
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated closure; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:49: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated closure; this is an error in the Swift 6 language mode
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated closure; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:131:21: warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
129 | switch result {
130 | case .success:
131 | completion(.success(output))
| |- warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |
133 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated local function; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated local function; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:49: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated local function; this is an error in the Swift 6 language mode
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated local function; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:134:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | case .failure(let error):
134 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
[149/160] Compiling CoreDataKit CKContext+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:14:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
14 | private static let `internalDefault` = CoreDataKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public class var `default`: CoreDataKit {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:117:30: warning: capture of 'workItem' with non-sendable type '(CKAsynchronousOperation) throws -> T' in a '@Sendable' closure
115 |
116 | do {
117 | output = try workItem(operation)
| |- warning: capture of 'workItem' with non-sendable type '(CKAsynchronousOperation) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | catch let error as NSError {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:117:39: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in a '@Sendable' closure
115 |
116 | do {
117 | output = try workItem(operation)
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in a '@Sendable' closure
118 | }
119 | catch let error as NSError {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:120:44: warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in a '@Sendable' closure
118 | }
119 | catch let error as NSError {
120 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
121 | return
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in a '@Sendable' closure
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in a '@Sendable' closure
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated closure; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:49: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated closure; this is an error in the Swift 6 language mode
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated closure; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:131:21: warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
129 | switch result {
130 | case .success:
131 | completion(.success(output))
| |- warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |
133 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated local function; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated local function; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:49: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated local function; this is an error in the Swift 6 language mode
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated local function; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:134:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | case .failure(let error):
134 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
[150/160] Compiling CoreDataKit CKObject+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:14:24: warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
14 | private static let `internalDefault` = CoreDataKit()
| |- warning: static property 'internalDefault' is not concurrency-safe because non-'Sendable' type 'CoreDataKit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'internalDefault' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public class var `default`: CoreDataKit {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:117:30: warning: capture of 'workItem' with non-sendable type '(CKAsynchronousOperation) throws -> T' in a '@Sendable' closure
115 |
116 | do {
117 | output = try workItem(operation)
| |- warning: capture of 'workItem' with non-sendable type '(CKAsynchronousOperation) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
118 | }
119 | catch let error as NSError {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:117:39: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in a '@Sendable' closure
115 |
116 | do {
117 | output = try workItem(operation)
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in a '@Sendable' closure
118 | }
119 | catch let error as NSError {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:120:44: warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in a '@Sendable' closure
118 | }
119 | catch let error as NSError {
120 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
121 | return
122 | }
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in a '@Sendable' closure
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in a '@Sendable' closure
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated closure; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated closure; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:49: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated closure; this is an error in the Swift 6 language mode
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated closure; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:131:21: warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
129 | switch result {
130 | case .success:
131 | completion(.success(output))
| |- warning: capture of 'completion' with non-sendable type '(Result<T, NSError>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
132 |
133 | case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:43: warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated local function; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | public class CoreDataKit {
| `- note: class 'CoreDataKit' does not conform to the 'Sendable' protocol
12 |
13 | /// The default instance with database name being application's name.
:
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'self' with non-sendable type 'CoreDataKit' in an isolated local function; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:126:49: warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated local function; this is an error in the Swift 6 language mode
124 | operation.save { (result) in
125 | defer {
126 | withExtendedLifetime((self, operation), {})
| `- warning: capture of 'operation' with non-sendable type 'CKAsynchronousOperation' in an isolated local function; this is an error in the Swift 6 language mode
127 | }
128 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Operation/Asynchronous Operation.swift:11:14: note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | public class CKAsynchronousOperation: CKBaseOperation {
| `- note: class 'CKAsynchronousOperation' does not conform to the 'Sendable' protocol
12 |
13 | func save(_ completion: @escaping (Result<Bool, NSError>) -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/CoreDataKit.swift:134:48: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
132 |
133 | case .failure(let error):
134 | DispatchQueue.main.async { completion(.failure(error)) }
| |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | }
136 | }
[151/160] Compiling CoreDataKit Storage Keys.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/User Defaults/User Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class UserDefaults: Foundation.UserDefaults {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = UserDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: UserDefaults {
[152/160] Compiling CoreDataKit Codable User Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/User Defaults/User Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class UserDefaults: Foundation.UserDefaults {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = UserDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: UserDefaults {
[153/160] Compiling CoreDataKit User Defaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/User Defaults/User Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class UserDefaults: Foundation.UserDefaults {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = UserDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: UserDefaults {
[154/160] Compiling CoreDataKit User Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Storage Wrappers/User Defaults/User Defaults.swift:13:24: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import Foundation
10 |
11 | open class UserDefaults: Foundation.UserDefaults {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
12 |
13 | private static let `default` = UserDefaults()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | open override class var standard: UserDefaults {
[155/160] Compiling CoreDataKit Base Operation.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:815:16: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
813 |
814 | @nonobjc @inline(__always)
815 | public var ckQueryableValue: CKQueryableType {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
816 | self
817 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:831:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
829 |
830 | @inline(__always)
831 | public class func ckDecode(data: Data) throws -> Self {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
832 | if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
833 | guard let object = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [Self.self], from: data) as? Self else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
[156/160] Compiling CoreDataKit Synchronous Operation.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:815:16: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
813 |
814 | @nonobjc @inline(__always)
815 | public var ckQueryableValue: CKQueryableType {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
816 | self
817 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:831:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
829 |
830 | @inline(__always)
831 | public class func ckDecode(data: Data) throws -> Self {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
832 | if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
833 | guard let object = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [Self.self], from: data) as? Self else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
[157/160] Compiling CoreDataKit Keypath+Querying.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:815:16: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
813 |
814 | @nonobjc @inline(__always)
815 | public var ckQueryableValue: CKQueryableType {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
816 | self
817 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:831:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
829 |
830 | @inline(__always)
831 | public class func ckDecode(data: Data) throws -> Self {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
832 | if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
833 | guard let object = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [Self.self], from: data) as? Self else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
[158/160] Compiling CoreDataKit Queryable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:810:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
808 |
809 | @nonobjc @inline(__always)
810 | public class func ckValue(from value: CKQueryableType) -> Self? {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
811 | value as? Self
812 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:815:16: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
813 |
814 | @nonobjc @inline(__always)
815 | public var ckQueryableValue: CKQueryableType {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
816 | self
817 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CoreDataKit/Querying/Queryable.swift:831:23: warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
829 |
830 | @inline(__always)
831 | public class func ckDecode(data: Data) throws -> Self {
| `- warning: cannot use class 'NSManagedObjectID' here; 'CoreData' was not imported by this file
832 | if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
833 | guard let object = try NSKeyedUnarchiver.unarchivedObject(ofClasses: [Self.self], from: data) as? Self else {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h:20:12: note: class declared here
18 | // Managed object IDs are opaque identifiers for managed objects.
19 | API_AVAILABLE(macosx(10.4),ios(3.0)) NS_SWIFT_SENDABLE
20 | @interface NSManagedObjectID : NSObject <NSCopying> {
| `- note: class declared here
21 | }
22 |
[158/160] Write Objects.LinkFileList
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Asynchronous Operation.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PublisherKit.build/Asynchronous Operation.swift.o(Asynchronous Operation.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CoreDataKit.build/Asynchronous Operation.swift.o(Asynchronous Operation.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Logger.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PublisherKit.build/Logger.swift.o(Logger.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CoreDataKit.build/Logger.swift.o(Logger.swift.o)'
/Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning duplicate member name 'Result.swift.o' from '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/PublisherKit.build/Result.swift.o(Result.swift.o)' and '/Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/CoreDataKit.build/Result.swift.o(Result.swift.o)'
[159/160] Archiving libCoreDataKit.a
Build complete! (10.20s)
Build complete.
{
"dependencies" : [
{
"identity" : "publisherkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ragzy15/PublisherKit"
}
],
"manifest_display_name" : "CoreDataKit",
"name" : "CoreDataKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "CoreDataKit",
"targets" : [
"CoreDataKit",
"FRC"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "FRC",
"module_type" : "ClangTarget",
"name" : "FRC",
"path" : "Sources/FRC",
"product_memberships" : [
"CoreDataKit"
],
"sources" : [
"CKCountResultsController.m",
"CKDictionaryResultsController.m",
"CKFetchedResultsController.m",
"CKObjectIdResultsController.m",
"CKObjectResultsController.m"
],
"type" : "library"
},
{
"c99name" : "CoreDataKitTests",
"module_type" : "SwiftTarget",
"name" : "CoreDataKitTests",
"path" : "Tests/CoreDataKitTests",
"sources" : [
"CoreDataKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"CoreDataKit"
],
"type" : "test"
},
{
"c99name" : "CoreDataKit",
"module_type" : "SwiftTarget",
"name" : "CoreDataKit",
"path" : "Sources/CoreDataKit",
"product_dependencies" : [
"PublisherKit"
],
"product_memberships" : [
"CoreDataKit"
],
"sources" : [
"Alias/Aliases.swift",
"Batch Requests/Batch Delete.swift",
"Batch Requests/Batch Insert.swift",
"Batch Requests/Batch Update.swift",
"Clauses/Fetch/Asynchronous Fetch Clause.swift",
"Clauses/Fetch/Fetch Clause.swift",
"Clauses/OrderBy/OrderBy.swift",
"Clauses/Predicate/Predicate.swift",
"Clauses/Predicate/Where Clause.swift",
"CoreData/Containers/Cloud Persistent Container.swift",
"CoreData/Containers/Persistent Container.swift",
"CoreData/Protocols/Container Type.swift",
"CoreData/Protocols/Stack.swift",
"CoreData/Protocols/Store Description Methods.swift",
"CoreData/Stacks/Base Stack.swift",
"CoreData/Stacks/CoreData Cloud Stack.swift",
"CoreData/Stacks/CoreData Stack.swift",
"CoreDataCloudKit.swift",
"CoreDataKit.swift",
"Extensions/AnyKeyPath+Extension.swift",
"Extensions/CKContext+Extension.swift",
"Extensions/CKObject+Extension.swift",
"Extensions/DIctionary+Extension.swift",
"Extensions/DispatchQueue+Extension.swift",
"Extensions/NSError+Extension.swift",
"Extensions/Result+Extension.swift",
"Fetch Requests/Fetch Request.swift",
"Fetch Requests/Fetch.swift",
"Logger/Logger.swift",
"Operation/Asynchronous Operation.swift",
"Operation/Base Operation.swift",
"Operation/Synchronous Operation.swift",
"Querying/Keypath+Querying.swift",
"Querying/Queryable.swift",
"Result/Result.swift",
"Storage Wrappers/Keychain/Keychain Defaults.swift",
"Storage Wrappers/Keychain/Keychain Storage.swift",
"Storage Wrappers/Keychain/Keychain.swift",
"Storage Wrappers/Storage Keys/Storage Keys.swift",
"Storage Wrappers/User Defaults/Codable User Storage.swift",
"Storage Wrappers/User Defaults/User Defaults.swift",
"Storage Wrappers/User Defaults/User Storage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.