Build Information
Successful build of CombineCloudKit, reference main (e68861
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 18:44:55 UTC.
Swift 6 data race errors: 14
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
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chris-araman/CombineCloudKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chris-araman/CombineCloudKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e688615 Deprecate
Cloned https://github.com/chris-araman/CombineCloudKit.git
Revision (git rev-parse @):
e688615584ed7e37b100f7dd48ffddf554cdc932
SUCCESS checkout https://github.com/chris-araman/CombineCloudKit.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "combinecloudkit",
"name": "CombineCloudKit",
"url": "https://github.com/chris-araman/CombineCloudKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CombineCloudKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/chris-araman/CombineCloudKit.git
[1/2588] Fetching combinecloudkit
Fetched https://github.com/chris-araman/CombineCloudKit.git from cache (1.02s)
Creating working copy for https://github.com/chris-araman/CombineCloudKit.git
Working copy of https://github.com/chris-araman/CombineCloudKit.git resolved at main (e688615)
warning: '.resolve-product-dependencies': dependency 'combinecloudkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/chris-araman/CombineCloudKit.git
https://github.com/chris-araman/CombineCloudKit.git
{
"dependencies" : [
],
"manifest_display_name" : "CombineCloudKit",
"name" : "CombineCloudKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.4"
}
],
"products" : [
{
"name" : "CombineCloudKit",
"targets" : [
"CombineCloudKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CombineCloudKitTests",
"module_type" : "SwiftTarget",
"name" : "CombineCloudKitTests",
"path" : "Tests/CombineCloudKitTests",
"sources" : [
"CKContainerTests.swift",
"CKDatabaseTests.swift",
"CombineCloudKitTests.swift",
"ErrorInjectionTests.swift",
"Extensions/XCTestCase.swift",
"Mocks/MockContainer.swift",
"Mocks/MockDatabase.swift",
"Mocks/MockDatabaseOperation.swift",
"Mocks/MockError.swift",
"Mocks/MockFetchOperation.swift",
"Mocks/MockFetchRecordZonesOperation.swift",
"Mocks/MockFetchRecordsOperation.swift",
"Mocks/MockFetchSubscriptionsOperation.swift",
"Mocks/MockModifyOperation.swift",
"Mocks/MockModifyRecordZonesOperation.swift",
"Mocks/MockModifyRecordsOperation.swift",
"Mocks/MockModifySubscriptionsOperation.swift",
"Mocks/MockOperation.swift",
"Mocks/MockOperationFactory.swift",
"Mocks/MockQueryOperation.swift",
"ProgressTests.swift",
"Simulation/DecisionSpace.swift",
"Simulation/Recorder.swift"
],
"target_dependencies" : [
"CombineCloudKit"
],
"type" : "test"
},
{
"c99name" : "CombineCloudKit",
"module_type" : "SwiftTarget",
"name" : "CombineCloudKit",
"path" : "Sources/CombineCloudKit",
"product_memberships" : [
"CombineCloudKit"
],
"sources" : [
"Extensions/Publisher.swift",
"OperationFactory.swift",
"Progress.swift",
"Protocols/CCKContainer.swift",
"Protocols/CCKDatabase+CKRecord.swift",
"Protocols/CCKDatabase+CKRecordZone.swift",
"Protocols/CCKDatabase+CKSubscription.swift",
"Protocols/CCKDatabase.swift",
"Protocols/CCKDatabaseOperation.swift",
"Protocols/CCKFetchRecordZonesOperation.swift",
"Protocols/CCKFetchRecordsOperation.swift",
"Protocols/CCKFetchSubscriptionsOperation.swift",
"Protocols/CCKModifyRecordZonesOperation.swift",
"Protocols/CCKModifyRecordsOperation.swift",
"Protocols/CCKModifySubscriptionsOperation.swift",
"Protocols/CCKOperation.swift",
"Protocols/CCKQueryOperation.swift",
"QueryPublisher.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/20] Compiling CombineCloudKit CCKFetchRecordsOperation.swift
[4/20] Compiling CombineCloudKit CCKFetchSubscriptionsOperation.swift
[5/21] Compiling CombineCloudKit CCKModifyRecordZonesOperation.swift
[6/21] Compiling CombineCloudKit CCKModifyRecordsOperation.swift
[7/21] Compiling CombineCloudKit CCKModifySubscriptionsOperation.swift
[8/21] Compiling CombineCloudKit CCKOperation.swift
[9/21] Compiling CombineCloudKit CCKQueryOperation.swift
[10/21] Compiling CombineCloudKit CCKDatabase+CKSubscription.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
30 | ///
31 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449122-delete)
32 | func delete(
| `- note: expected sendability to match requirement here
33 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
36 | ///
37 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449118-delete)
38 | func delete(
| `- note: expected sendability to match requirement here
39 | withRecordZoneID zoneID: CKRecordZone.ID,
40 | completionHandler: @escaping (CKRecordZone.ID?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
43 | ///
44 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003590-delete)
45 | func delete(
| `- note: expected sendability to match requirement here
46 | withSubscriptionID subscriptionID: CKSubscription.ID,
47 | completionHandler: @escaping (String?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
50 | ///
51 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449126-fetch)
52 | func fetch(
| `- note: expected sendability to match requirement here
53 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
56 | ///
57 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449104-fetch)
58 | func fetch(
| `- note: expected sendability to match requirement here
59 | withRecordZoneID zoneID: CKRecordZone.ID,
60 | completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
63 | ///
64 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003591-fetch)
65 | func fetch(
| `- note: expected sendability to match requirement here
66 | withSubscriptionID subscriptionID: CKSubscription.ID,
67 | completionHandler: @escaping (CKSubscription?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
70 | ///
71 | /// - SeeAlso: [fetchAllRecordZones](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449112-fetchallrecordzones)
72 | func fetchAllRecordZones(completionHandler: @escaping ([CKRecordZone]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
73 |
74 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
75 | ///
76 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449110-fetchallsubscriptions)
77 | func fetchAllSubscriptions(completionHandler: @escaping ([CKSubscription]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
78 |
79 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
80 | ///
81 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449127-perform)
82 | func perform(
| `- note: expected sendability to match requirement here
83 | _ query: CKQuery,
84 | inZoneWith zoneID: CKRecordZone.ID?,
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
88 | ///
89 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449114-save)
90 | func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
| `- note: expected sendability to match requirement here
91 |
92 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
93 | ///
94 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449108-save)
95 | func save(_ zone: CKRecordZone, completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
| `- note: expected sendability to match requirement here
96 |
97 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
98 | ///
99 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449102-save)
100 | func save(
| `- note: expected sendability to match requirement here
101 | _ subscription: CKSubscription, completionHandler: @escaping (CKSubscription?, Error?) -> Void)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:123:11: warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
121 | Future { promise in
122 | DispatchQueue.main.async {
123 | method(input) { output, error in
| |- warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'method' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
124 | guard let output = output, error == nil else {
125 | promise(.failure(error!))
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:123:18: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
121 | Future { promise in
122 | DispatchQueue.main.async {
123 | method(input) { output, error in
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
124 | guard let output = output, error == nil else {
125 | promise(.failure(error!))
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:125:15: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
123 | method(input) { output, error in
124 | guard let output = output, error == nil else {
125 | promise(.failure(error!))
| |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
126 | return
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:160:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
158 | return Deferred { () -> PassthroughSubject<Output, Error> in
159 | DispatchQueue.main.async {
160 | self.add(operation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:176:13: warning: sending 'subject' risks causing data races; this is an error in the Swift 6 language mode
174 | method { outputs, error in
175 | guard let outputs = outputs, error == nil else {
176 | subject.send(completion: .failure(error!))
| |- warning: sending 'subject' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'subject' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
177 | return
178 | }
:
186 | }
187 |
188 | return subject
| `- note: access can happen concurrently
189 | }.eraseToAnyPublisher()
190 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:174:9: warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
172 |
173 | DispatchQueue.main.async {
174 | method { outputs, error in
| |- warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'method' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | guard let outputs = outputs, error == nil else {
176 | subject.send(completion: .failure(error!))
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:224:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
222 | return Deferred { () -> PassthroughSubject<(Output?, OutputID?), Error> in
223 | DispatchQueue.main.async {
224 | self.add(operation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
225 | }
226 |
[11/21] Compiling CombineCloudKit CCKDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
30 | ///
31 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449122-delete)
32 | func delete(
| `- note: expected sendability to match requirement here
33 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
36 | ///
37 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449118-delete)
38 | func delete(
| `- note: expected sendability to match requirement here
39 | withRecordZoneID zoneID: CKRecordZone.ID,
40 | completionHandler: @escaping (CKRecordZone.ID?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
43 | ///
44 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003590-delete)
45 | func delete(
| `- note: expected sendability to match requirement here
46 | withSubscriptionID subscriptionID: CKSubscription.ID,
47 | completionHandler: @escaping (String?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
50 | ///
51 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449126-fetch)
52 | func fetch(
| `- note: expected sendability to match requirement here
53 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
56 | ///
57 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449104-fetch)
58 | func fetch(
| `- note: expected sendability to match requirement here
59 | withRecordZoneID zoneID: CKRecordZone.ID,
60 | completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
63 | ///
64 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003591-fetch)
65 | func fetch(
| `- note: expected sendability to match requirement here
66 | withSubscriptionID subscriptionID: CKSubscription.ID,
67 | completionHandler: @escaping (CKSubscription?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
70 | ///
71 | /// - SeeAlso: [fetchAllRecordZones](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449112-fetchallrecordzones)
72 | func fetchAllRecordZones(completionHandler: @escaping ([CKRecordZone]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
73 |
74 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
75 | ///
76 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449110-fetchallsubscriptions)
77 | func fetchAllSubscriptions(completionHandler: @escaping ([CKSubscription]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
78 |
79 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
80 | ///
81 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449127-perform)
82 | func perform(
| `- note: expected sendability to match requirement here
83 | _ query: CKQuery,
84 | inZoneWith zoneID: CKRecordZone.ID?,
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
88 | ///
89 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449114-save)
90 | func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
| `- note: expected sendability to match requirement here
91 |
92 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
93 | ///
94 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449108-save)
95 | func save(_ zone: CKRecordZone, completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
| `- note: expected sendability to match requirement here
96 |
97 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
98 | ///
99 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449102-save)
100 | func save(
| `- note: expected sendability to match requirement here
101 | _ subscription: CKSubscription, completionHandler: @escaping (CKSubscription?, Error?) -> Void)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:123:11: warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
121 | Future { promise in
122 | DispatchQueue.main.async {
123 | method(input) { output, error in
| |- warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'method' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
124 | guard let output = output, error == nil else {
125 | promise(.failure(error!))
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:123:18: warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
121 | Future { promise in
122 | DispatchQueue.main.async {
123 | method(input) { output, error in
| |- warning: sending 'input' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'input' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
124 | guard let output = output, error == nil else {
125 | promise(.failure(error!))
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:125:15: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
123 | method(input) { output, error in
124 | guard let output = output, error == nil else {
125 | promise(.failure(error!))
| |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
126 | return
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:160:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
158 | return Deferred { () -> PassthroughSubject<Output, Error> in
159 | DispatchQueue.main.async {
160 | self.add(operation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:176:13: warning: sending 'subject' risks causing data races; this is an error in the Swift 6 language mode
174 | method { outputs, error in
175 | guard let outputs = outputs, error == nil else {
176 | subject.send(completion: .failure(error!))
| |- warning: sending 'subject' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'subject' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
177 | return
178 | }
:
186 | }
187 |
188 | return subject
| `- note: access can happen concurrently
189 | }.eraseToAnyPublisher()
190 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:174:9: warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
172 |
173 | DispatchQueue.main.async {
174 | method { outputs, error in
| |- warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'method' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 | guard let outputs = outputs, error == nil else {
176 | subject.send(completion: .failure(error!))
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:224:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
222 | return Deferred { () -> PassthroughSubject<(Output?, OutputID?), Error> in
223 | DispatchQueue.main.async {
224 | self.add(operation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
225 | }
226 |
[12/21] Compiling CombineCloudKit CCKDatabaseOperation.swift
[13/21] Compiling CombineCloudKit CCKFetchRecordZonesOperation.swift
[14/21] Compiling CombineCloudKit Progress.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKContainer.swift:17:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CCKContainer'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso:[`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso:[`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKContainer: CCKContainer {
| `- warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CCKContainer'; this is an error in the Swift 6 language mode
18 | }
19 |
:
29 | ///
30 | /// - SeeAlso: [`accountStatus`](https://developer.apple.com/documentation/cloudkit/ckcontainer/1399180-accountstatus)
31 | func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
| `- note: expected sendability to match requirement here
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKContainer.swift:41:11: warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
39 | Future { promise in
40 | DispatchQueue.main.async {
41 | method { item, error in
| |- warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'method' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
42 | guard error == nil else {
43 | promise(.failure(error!))
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKContainer.swift:43:15: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
41 | method { item, error in
42 | guard error == nil else {
43 | promise(.failure(error!))
| |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | return
45 | }
[15/21] Compiling CombineCloudKit CCKContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKContainer.swift:17:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CCKContainer'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso:[`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso:[`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKContainer: CCKContainer {
| `- warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CCKContainer'; this is an error in the Swift 6 language mode
18 | }
19 |
:
29 | ///
30 | /// - SeeAlso: [`accountStatus`](https://developer.apple.com/documentation/cloudkit/ckcontainer/1399180-accountstatus)
31 | func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
| `- note: expected sendability to match requirement here
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKContainer.swift:41:11: warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
39 | Future { promise in
40 | DispatchQueue.main.async {
41 | method { item, error in
| |- warning: sending 'method' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'method' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
42 | guard error == nil else {
43 | promise(.failure(error!))
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKContainer.swift:43:15: warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
41 | method { item, error in
42 | guard error == nil else {
43 | promise(.failure(error!))
| |- warning: sending 'promise' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'promise' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
44 | return
45 | }
[16/21] Compiling CombineCloudKit Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/OperationFactory.swift:12:5: warning: var 'operationFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Allows dependency injection for testing.
12 | var operationFactory: OperationFactory = CKOperationFactory()
| |- warning: var 'operationFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'operationFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'operationFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
[17/21] Compiling CombineCloudKit OperationFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/OperationFactory.swift:12:5: warning: var 'operationFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Allows dependency injection for testing.
12 | var operationFactory: OperationFactory = CKOperationFactory()
| |- warning: var 'operationFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'operationFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'operationFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
[18/21] Emitting module CombineCloudKit
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/OperationFactory.swift:12:5: warning: var 'operationFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Allows dependency injection for testing.
12 | var operationFactory: OperationFactory = CKOperationFactory()
| |- warning: var 'operationFactory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'operationFactory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'operationFactory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKContainer.swift:17:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CCKContainer'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso:[`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso:[`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKContainer: CCKContainer {
| `- warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'CCKContainer'; this is an error in the Swift 6 language mode
18 | }
19 |
:
29 | ///
30 | /// - SeeAlso: [`accountStatus`](https://developer.apple.com/documentation/cloudkit/ckcontainer/1399180-accountstatus)
31 | func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
| `- note: expected sendability to match requirement here
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
30 | ///
31 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449122-delete)
32 | func delete(
| `- note: expected sendability to match requirement here
33 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
36 | ///
37 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449118-delete)
38 | func delete(
| `- note: expected sendability to match requirement here
39 | withRecordZoneID zoneID: CKRecordZone.ID,
40 | completionHandler: @escaping (CKRecordZone.ID?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
43 | ///
44 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003590-delete)
45 | func delete(
| `- note: expected sendability to match requirement here
46 | withSubscriptionID subscriptionID: CKSubscription.ID,
47 | completionHandler: @escaping (String?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
50 | ///
51 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449126-fetch)
52 | func fetch(
| `- note: expected sendability to match requirement here
53 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
56 | ///
57 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449104-fetch)
58 | func fetch(
| `- note: expected sendability to match requirement here
59 | withRecordZoneID zoneID: CKRecordZone.ID,
60 | completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
63 | ///
64 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003591-fetch)
65 | func fetch(
| `- note: expected sendability to match requirement here
66 | withSubscriptionID subscriptionID: CKSubscription.ID,
67 | completionHandler: @escaping (CKSubscription?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
70 | ///
71 | /// - SeeAlso: [fetchAllRecordZones](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449112-fetchallrecordzones)
72 | func fetchAllRecordZones(completionHandler: @escaping ([CKRecordZone]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
73 |
74 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
75 | ///
76 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449110-fetchallsubscriptions)
77 | func fetchAllSubscriptions(completionHandler: @escaping ([CKSubscription]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
78 |
79 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
80 | ///
81 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449127-perform)
82 | func perform(
| `- note: expected sendability to match requirement here
83 | _ query: CKQuery,
84 | inZoneWith zoneID: CKRecordZone.ID?,
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
88 | ///
89 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449114-save)
90 | func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
| `- note: expected sendability to match requirement here
91 |
92 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
93 | ///
94 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449108-save)
95 | func save(_ zone: CKRecordZone, completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
| `- note: expected sendability to match requirement here
96 |
97 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase.swift:17:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
15 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
16 | /// - SeeAlso: [`Combine`](https://developer.apple.com/documentation/combine)
17 | extension CKDatabase: CCKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'CCKDatabase'; this is an error in the Swift 6 language mode
18 | }
19 |
:
98 | ///
99 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449102-save)
100 | func save(
| `- note: expected sendability to match requirement here
101 | _ subscription: CKSubscription, completionHandler: @escaping (CKSubscription?, Error?) -> Void)
102 | }
[19/21] Compiling CombineCloudKit CCKDatabase+CKRecord.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase+CKRecord.swift:311:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
309 | return Deferred { () -> PassthroughSubject<((CKRecord, Progress)?, CKRecord.ID?), Error> in
310 | DispatchQueue.main.async {
311 | self.add(operation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | }
313 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase+CKRecord.swift:458:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
456 | return Deferred { () -> PassthroughSubject<((CKRecord.ID, Progress)?, CKRecord?), Error> in
457 | DispatchQueue.main.async {
458 | self.add(operation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
459 | }
460 |
[20/21] Compiling CombineCloudKit CCKDatabase+CKRecordZone.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase+CKRecord.swift:311:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
309 | return Deferred { () -> PassthroughSubject<((CKRecord, Progress)?, CKRecord.ID?), Error> in
310 | DispatchQueue.main.async {
311 | self.add(operation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | }
313 |
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/Protocols/CCKDatabase+CKRecord.swift:458:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
456 | return Deferred { () -> PassthroughSubject<((CKRecord.ID, Progress)?, CKRecord?), Error> in
457 | DispatchQueue.main.async {
458 | self.add(operation)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
459 | }
460 |
[21/21] Compiling CombineCloudKit QueryPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/QueryPublisher.swift:70:15: warning: capture of 'self' with non-sendable type 'QueryPublisher.QuerySubscription<Downstream>' in a '@Sendable' closure
44 | ///
45 | /// When the `QuerySubscription` is cancelled, the underlying `CKQueryOperation` is cancelled.
46 | private class QuerySubscription<Downstream>: Subscription
| `- note: generic class 'QuerySubscription' does not conform to the 'Sendable' protocol
47 | where Downstream: Subscriber, Downstream.Input == Output, Downstream.Failure == Failure {
48 | private let publisher: QueryPublisher
:
68 |
69 | queue.async {
70 | guard self.subscriber != nil else {
| `- warning: capture of 'self' with non-sendable type 'QueryPublisher.QuerySubscription<Downstream>' in a '@Sendable' closure
71 | return
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/QueryPublisher.swift:104:18: warning: capture of 'publisher' with non-sendable type 'QueryPublisher.QuerySubscription<Downstream>' in a '@Sendable' closure
44 | ///
45 | /// When the `QuerySubscription` is cancelled, the underlying `CKQueryOperation` is cancelled.
46 | private class QuerySubscription<Downstream>: Subscription
| `- note: generic class 'QuerySubscription' does not conform to the 'Sendable' protocol
47 | where Downstream: Subscriber, Downstream.Input == Output, Downstream.Failure == Failure {
48 | private let publisher: QueryPublisher
:
102 |
103 | publisher.queue.async {
104 | assert(publisher.demand != Subscribers.Demand.none)
| `- warning: capture of 'publisher' with non-sendable type 'QueryPublisher.QuerySubscription<Downstream>' in a '@Sendable' closure
105 |
106 | guard let subscriber = publisher.subscriber else {
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/QueryPublisher.swift:104:18: warning: implicit capture of 'publisher' requires that 'QueryPublisher.QuerySubscription<Downstream>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
44 | ///
45 | /// When the `QuerySubscription` is cancelled, the underlying `CKQueryOperation` is cancelled.
46 | private class QuerySubscription<Downstream>: Subscription
| `- note: generic class 'QuerySubscription' does not conform to the 'Sendable' protocol
47 | where Downstream: Subscriber, Downstream.Input == Output, Downstream.Failure == Failure {
48 | private let publisher: QueryPublisher
:
102 |
103 | publisher.queue.async {
104 | assert(publisher.demand != Subscribers.Demand.none)
| `- warning: implicit capture of 'publisher' requires that 'QueryPublisher.QuerySubscription<Downstream>' conforms to 'Sendable'; this is an error in the Swift 6 language mode
105 |
106 | guard let subscriber = publisher.subscriber else {
/Users/admin/builder/spi-builder-workspace/Sources/CombineCloudKit/QueryPublisher.swift:122:34: warning: capture of 'publisher' with non-sendable type 'QueryPublisher.QuerySubscription<Downstream>' in a '@Sendable' closure
44 | ///
45 | /// When the `QuerySubscription` is cancelled, the underlying `CKQueryOperation` is cancelled.
46 | private class QuerySubscription<Downstream>: Subscription
| `- note: generic class 'QuerySubscription' does not conform to the 'Sendable' protocol
47 | where Downstream: Subscriber, Downstream.Input == Output, Downstream.Failure == Failure {
48 | private let publisher: QueryPublisher
:
120 |
121 | publisher.queue.async {
122 | guard let subscriber = publisher.subscriber else {
| `- warning: capture of 'publisher' with non-sendable type 'QueryPublisher.QuerySubscription<Downstream>' in a '@Sendable' closure
123 | return
124 | }
Build complete! (6.53s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CombineCloudKit",
"name" : "CombineCloudKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.4"
}
],
"products" : [
{
"name" : "CombineCloudKit",
"targets" : [
"CombineCloudKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CombineCloudKitTests",
"module_type" : "SwiftTarget",
"name" : "CombineCloudKitTests",
"path" : "Tests/CombineCloudKitTests",
"sources" : [
"CKContainerTests.swift",
"CKDatabaseTests.swift",
"CombineCloudKitTests.swift",
"ErrorInjectionTests.swift",
"Extensions/XCTestCase.swift",
"Mocks/MockContainer.swift",
"Mocks/MockDatabase.swift",
"Mocks/MockDatabaseOperation.swift",
"Mocks/MockError.swift",
"Mocks/MockFetchOperation.swift",
"Mocks/MockFetchRecordZonesOperation.swift",
"Mocks/MockFetchRecordsOperation.swift",
"Mocks/MockFetchSubscriptionsOperation.swift",
"Mocks/MockModifyOperation.swift",
"Mocks/MockModifyRecordZonesOperation.swift",
"Mocks/MockModifyRecordsOperation.swift",
"Mocks/MockModifySubscriptionsOperation.swift",
"Mocks/MockOperation.swift",
"Mocks/MockOperationFactory.swift",
"Mocks/MockQueryOperation.swift",
"ProgressTests.swift",
"Simulation/DecisionSpace.swift",
"Simulation/Recorder.swift"
],
"target_dependencies" : [
"CombineCloudKit"
],
"type" : "test"
},
{
"c99name" : "CombineCloudKit",
"module_type" : "SwiftTarget",
"name" : "CombineCloudKit",
"path" : "Sources/CombineCloudKit",
"product_memberships" : [
"CombineCloudKit"
],
"sources" : [
"Extensions/Publisher.swift",
"OperationFactory.swift",
"Progress.swift",
"Protocols/CCKContainer.swift",
"Protocols/CCKDatabase+CKRecord.swift",
"Protocols/CCKDatabase+CKRecordZone.swift",
"Protocols/CCKDatabase+CKSubscription.swift",
"Protocols/CCKDatabase.swift",
"Protocols/CCKDatabaseOperation.swift",
"Protocols/CCKFetchRecordZonesOperation.swift",
"Protocols/CCKFetchRecordsOperation.swift",
"Protocols/CCKFetchSubscriptionsOperation.swift",
"Protocols/CCKModifyRecordZonesOperation.swift",
"Protocols/CCKModifyRecordsOperation.swift",
"Protocols/CCKModifySubscriptionsOperation.swift",
"Protocols/CCKOperation.swift",
"Protocols/CCKQueryOperation.swift",
"QueryPublisher.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.