Build Information
Successful build of AsyncCloudKit, reference 1.0.1 (218cc6
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 03:14:42 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chris-araman/AsyncCloudKit.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/chris-araman/AsyncCloudKit
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 218cc6e 📖 Update docs
Cloned https://github.com/chris-araman/AsyncCloudKit.git
Revision (git rev-parse @):
218cc6e40228d3ee03fbd8f9253ecda762eecf6d
SUCCESS checkout https://github.com/chris-araman/AsyncCloudKit.git at 1.0.1
========================================
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": "asynccloudkit",
"name": "AsyncCloudKit",
"url": "https://github.com/chris-araman/AsyncCloudKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AsyncCloudKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/chris-araman/AsyncCloudKit.git
[1/2274] Fetching asynccloudkit
Fetched https://github.com/chris-araman/AsyncCloudKit.git from cache (0.99s)
Creating working copy for https://github.com/chris-araman/AsyncCloudKit.git
Working copy of https://github.com/chris-araman/AsyncCloudKit.git resolved at 1.0.1 (218cc6e)
warning: '.resolve-product-dependencies': dependency 'asynccloudkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/chris-araman/AsyncCloudKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/20] Compiling AsyncCloudKit OperationFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/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: annotate 'operationFactory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
[4/20] Compiling AsyncCloudKit Progress.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/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: annotate 'operationFactory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
[5/20] Compiling AsyncCloudKit ACKSequence.swift
[6/20] Compiling AsyncCloudKit AsyncSequence.swift
[7/20] Emitting module AsyncCloudKit
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/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: annotate 'operationFactory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKContainer.swift:15:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'ACKContainer'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso:[`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKContainer: ACKContainer {
| `- warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'ACKContainer'; this is an error in the Swift 6 language mode
16 | }
17 |
:
26 | ///
27 | /// - SeeAlso: [`accountStatus`](https://developer.apple.com/documentation/cloudkit/ckcontainer/1399180-accountstatus)
28 | func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
| `- note: expected sendability to match requirement here
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
27 | ///
28 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449122-delete)
29 | func delete(
| `- note: expected sendability to match requirement here
30 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
31 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
33 | ///
34 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449118-delete)
35 | func delete(
| `- note: expected sendability to match requirement here
36 | withRecordZoneID zoneID: CKRecordZone.ID,
37 | completionHandler: @escaping (CKRecordZone.ID?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
40 | ///
41 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003590-delete)
42 | func delete(
| `- note: expected sendability to match requirement here
43 | withSubscriptionID subscriptionID: CKSubscription.ID,
44 | completionHandler: @escaping (String?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
47 | ///
48 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449126-fetch)
49 | func fetch(
| `- note: expected sendability to match requirement here
50 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
53 | ///
54 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449104-fetch)
55 | func fetch(
| `- note: expected sendability to match requirement here
56 | withRecordZoneID zoneID: CKRecordZone.ID,
57 | completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
60 | ///
61 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003591-fetch)
62 | func fetch(
| `- note: expected sendability to match requirement here
63 | withSubscriptionID subscriptionID: CKSubscription.ID,
64 | completionHandler: @escaping (CKSubscription?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
67 | ///
68 | /// - SeeAlso: [fetchAllRecordZones](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449112-fetchallrecordzones)
69 | func fetchAllRecordZones(completionHandler: @escaping ([CKRecordZone]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
70 |
71 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
72 | ///
73 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449110-fetchallsubscriptions)
74 | func fetchAllSubscriptions(completionHandler: @escaping ([CKSubscription]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
75 |
76 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
77 | ///
78 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449127-perform)
79 | func perform(
| `- note: expected sendability to match requirement here
80 | _ query: CKQuery,
81 | inZoneWith zoneID: CKRecordZone.ID?,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
85 | ///
86 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449114-save)
87 | func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
| `- note: expected sendability to match requirement here
88 |
89 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
90 | ///
91 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449108-save)
92 | func save(_ zone: CKRecordZone, completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
| `- note: expected sendability to match requirement here
93 |
94 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
95 | ///
96 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449102-save)
97 | func save(
| `- note: expected sendability to match requirement here
98 | _ subscription: CKSubscription, completionHandler: @escaping (CKSubscription?, Error?) -> Void)
99 | }
[8/21] Compiling AsyncCloudKit ACKContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKContainer.swift:15:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'ACKContainer'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso:[`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKContainer: ACKContainer {
| `- warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'ACKContainer'; this is an error in the Swift 6 language mode
16 | }
17 |
:
26 | ///
27 | /// - SeeAlso: [`accountStatus`](https://developer.apple.com/documentation/cloudkit/ckcontainer/1399180-accountstatus)
28 | func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
| `- note: expected sendability to match requirement here
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/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: annotate 'operationFactory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase+CKRecord.swift:579:11: warning: capture of 'onTermination' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
577 | }
578 | continuation.onTermination = { @Sendable _ in
579 | onTermination()
| |- warning: capture of 'onTermination' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
580 | }
581 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKContainer.swift:42:22: warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
40 | }
41 |
42 | continuation.resume(returning: item)
| |- warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'item' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
43 | }
44 | }
[9/21] Compiling AsyncCloudKit ACKDatabase+CKRecord.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKContainer.swift:15:1: warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'ACKContainer'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso:[`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKContainer: ACKContainer {
| `- warning: sendability of function types in instance method 'accountStatus(completionHandler:)' does not match requirement in protocol 'ACKContainer'; this is an error in the Swift 6 language mode
16 | }
17 |
:
26 | ///
27 | /// - SeeAlso: [`accountStatus`](https://developer.apple.com/documentation/cloudkit/ckcontainer/1399180-accountstatus)
28 | func accountStatus(completionHandler: @escaping (CKAccountStatus, Error?) -> Void)
| `- note: expected sendability to match requirement here
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/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: annotate 'operationFactory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase+CKRecord.swift:579:11: warning: capture of 'onTermination' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
577 | }
578 | continuation.onTermination = { @Sendable _ in
579 | onTermination()
| |- warning: capture of 'onTermination' with non-sendable type '() -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
580 | }
581 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKContainer.swift:42:22: warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
40 | }
41 |
42 | continuation.resume(returning: item)
| |- warning: sending 'item' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'item' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
43 | }
44 | }
[10/21] Compiling AsyncCloudKit ACKDatabase+CKRecordZone.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/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: annotate 'operationFactory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
[11/21] Compiling AsyncCloudKit ACKDatabase+CKSubscription.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/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: annotate 'operationFactory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | protocol OperationFactory {
[12/21] Compiling AsyncCloudKit ACKModifyRecordsOperation.swift
[13/21] Compiling AsyncCloudKit ACKModifySubscriptionsOperation.swift
[14/21] Compiling AsyncCloudKit ACKFetchSubscriptionsOperation.swift
[15/21] Compiling AsyncCloudKit ACKModifyRecordZonesOperation.swift
[16/21] Compiling AsyncCloudKit ACKFetchRecordZonesOperation.swift
[17/21] Compiling AsyncCloudKit ACKFetchRecordsOperation.swift
[18/21] Compiling AsyncCloudKit ACKOperation.swift
[19/21] Compiling AsyncCloudKit ACKDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
27 | ///
28 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449122-delete)
29 | func delete(
| `- note: expected sendability to match requirement here
30 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
31 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
33 | ///
34 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449118-delete)
35 | func delete(
| `- note: expected sendability to match requirement here
36 | withRecordZoneID zoneID: CKRecordZone.ID,
37 | completionHandler: @escaping (CKRecordZone.ID?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
40 | ///
41 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003590-delete)
42 | func delete(
| `- note: expected sendability to match requirement here
43 | withSubscriptionID subscriptionID: CKSubscription.ID,
44 | completionHandler: @escaping (String?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
47 | ///
48 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449126-fetch)
49 | func fetch(
| `- note: expected sendability to match requirement here
50 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
53 | ///
54 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449104-fetch)
55 | func fetch(
| `- note: expected sendability to match requirement here
56 | withRecordZoneID zoneID: CKRecordZone.ID,
57 | completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
60 | ///
61 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003591-fetch)
62 | func fetch(
| `- note: expected sendability to match requirement here
63 | withSubscriptionID subscriptionID: CKSubscription.ID,
64 | completionHandler: @escaping (CKSubscription?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
67 | ///
68 | /// - SeeAlso: [fetchAllRecordZones](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449112-fetchallrecordzones)
69 | func fetchAllRecordZones(completionHandler: @escaping ([CKRecordZone]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
70 |
71 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
72 | ///
73 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449110-fetchallsubscriptions)
74 | func fetchAllSubscriptions(completionHandler: @escaping ([CKSubscription]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
75 |
76 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
77 | ///
78 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449127-perform)
79 | func perform(
| `- note: expected sendability to match requirement here
80 | _ query: CKQuery,
81 | inZoneWith zoneID: CKRecordZone.ID?,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
85 | ///
86 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449114-save)
87 | func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
| `- note: expected sendability to match requirement here
88 |
89 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
90 | ///
91 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449108-save)
92 | func save(_ zone: CKRecordZone, completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
| `- note: expected sendability to match requirement here
93 |
94 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
95 | ///
96 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449102-save)
97 | func save(
| `- note: expected sendability to match requirement here
98 | _ subscription: CKSubscription, completionHandler: @escaping (CKSubscription?, Error?) -> Void)
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:124:22: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
122 | }
123 |
124 | continuation.resume(returning: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'output' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:148:24: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
146 |
147 | for output in outputs.values {
148 | continuation.yield(output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'output' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:169:24: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
167 |
168 | for output in outputs {
169 | continuation.yield(output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'output' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
170 | }
171 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:197:26: warning: task-isolated value of type '(Output?, OutputID?)' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
195 | if let saved = saved {
196 | for output in saved {
197 | continuation.yield((output, nil))
| `- warning: task-isolated value of type '(Output?, OutputID?)' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
198 | }
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:203:26: warning: task-isolated value of type '(Output?, OutputID?)' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
201 | if let deleted = deleted {
202 | for outputID in deleted {
203 | continuation.yield((nil, outputID))
| `- warning: task-isolated value of type '(Output?, OutputID?)' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
204 | }
205 | }
[20/21] Compiling AsyncCloudKit ACKDatabaseOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
27 | ///
28 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449122-delete)
29 | func delete(
| `- note: expected sendability to match requirement here
30 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
31 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
33 | ///
34 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449118-delete)
35 | func delete(
| `- note: expected sendability to match requirement here
36 | withRecordZoneID zoneID: CKRecordZone.ID,
37 | completionHandler: @escaping (CKRecordZone.ID?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'delete(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
40 | ///
41 | /// - SeeAlso: [`delete`](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003590-delete)
42 | func delete(
| `- note: expected sendability to match requirement here
43 | withSubscriptionID subscriptionID: CKSubscription.ID,
44 | completionHandler: @escaping (String?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
47 | ///
48 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449126-fetch)
49 | func fetch(
| `- note: expected sendability to match requirement here
50 | withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withRecordZoneID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
53 | ///
54 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449104-fetch)
55 | func fetch(
| `- note: expected sendability to match requirement here
56 | withRecordZoneID zoneID: CKRecordZone.ID,
57 | completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetch(withSubscriptionID:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
60 | ///
61 | /// - SeeAlso: [fetch](https://developer.apple.com/documentation/cloudkit/ckdatabase/3003591-fetch)
62 | func fetch(
| `- note: expected sendability to match requirement here
63 | withSubscriptionID subscriptionID: CKSubscription.ID,
64 | completionHandler: @escaping (CKSubscription?, Error?) -> Void)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllRecordZones(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
67 | ///
68 | /// - SeeAlso: [fetchAllRecordZones](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449112-fetchallrecordzones)
69 | func fetchAllRecordZones(completionHandler: @escaping ([CKRecordZone]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
70 |
71 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'fetchAllSubscriptions(completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
72 | ///
73 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449110-fetchallsubscriptions)
74 | func fetchAllSubscriptions(completionHandler: @escaping ([CKSubscription]?, Error?) -> Void)
| `- note: expected sendability to match requirement here
75 |
76 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
77 | ///
78 | /// - SeeAlso: [fetchAllSubscriptions](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449127-perform)
79 | func perform(
| `- note: expected sendability to match requirement here
80 | _ query: CKQuery,
81 | inZoneWith zoneID: CKRecordZone.ID?,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
85 | ///
86 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449114-save)
87 | func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
| `- note: expected sendability to match requirement here
88 |
89 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
90 | ///
91 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449108-save)
92 | func save(_ zone: CKRecordZone, completionHandler: @escaping (CKRecordZone?, Error?) -> Void)
| `- note: expected sendability to match requirement here
93 |
94 | /// Implemented by `CKDatabase`.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:15:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
13 | ///
14 | /// - SeeAlso: [`CloudKit`](https://developer.apple.com/documentation/cloudkit)
15 | extension CKDatabase: ACKDatabase {
| `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'ACKDatabase'; this is an error in the Swift 6 language mode
16 | }
17 |
:
95 | ///
96 | /// - SeeAlso: [`save`](https://developer.apple.com/documentation/cloudkit/ckdatabase/1449102-save)
97 | func save(
| `- note: expected sendability to match requirement here
98 | _ subscription: CKSubscription, completionHandler: @escaping (CKSubscription?, Error?) -> Void)
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:124:22: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
122 | }
123 |
124 | continuation.resume(returning: output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'output' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:148:24: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
146 |
147 | for output in outputs.values {
148 | continuation.yield(output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'output' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
149 | }
150 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:169:24: warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
167 |
168 | for output in outputs {
169 | continuation.yield(output)
| |- warning: sending 'output' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'output' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
170 | }
171 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:197:26: warning: task-isolated value of type '(Output?, OutputID?)' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
195 | if let saved = saved {
196 | for output in saved {
197 | continuation.yield((output, nil))
| `- warning: task-isolated value of type '(Output?, OutputID?)' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
198 | }
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncCloudKit/Protocols/ACKDatabase.swift:203:26: warning: task-isolated value of type '(Output?, OutputID?)' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
201 | if let deleted = deleted {
202 | for outputID in deleted {
203 | continuation.yield((nil, outputID))
| `- warning: task-isolated value of type '(Output?, OutputID?)' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
204 | }
205 | }
[21/21] Compiling AsyncCloudKit ACKQueryOperation.swift
Build complete! (13.67s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AsyncCloudKit",
"name" : "AsyncCloudKit",
"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" : "AsyncCloudKit",
"targets" : [
"AsyncCloudKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "AsyncCloudKitTests",
"module_type" : "SwiftTarget",
"name" : "AsyncCloudKitTests",
"path" : "Tests/AsyncCloudKitTests",
"sources" : [
"AsyncCloudKitTests.swift",
"CKContainerTests.swift",
"CKDatabaseTests.swift",
"ErrorInjectionTests.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"
],
"target_dependencies" : [
"AsyncCloudKit"
],
"type" : "test"
},
{
"c99name" : "AsyncCloudKit",
"module_type" : "SwiftTarget",
"name" : "AsyncCloudKit",
"path" : "Sources/AsyncCloudKit",
"product_memberships" : [
"AsyncCloudKit"
],
"sources" : [
"ACKSequence.swift",
"Extensions/AsyncSequence.swift",
"OperationFactory.swift",
"Progress.swift",
"Protocols/ACKContainer.swift",
"Protocols/ACKDatabase+CKRecord.swift",
"Protocols/ACKDatabase+CKRecordZone.swift",
"Protocols/ACKDatabase+CKSubscription.swift",
"Protocols/ACKDatabase.swift",
"Protocols/ACKDatabaseOperation.swift",
"Protocols/ACKFetchRecordZonesOperation.swift",
"Protocols/ACKFetchRecordsOperation.swift",
"Protocols/ACKFetchSubscriptionsOperation.swift",
"Protocols/ACKModifyRecordZonesOperation.swift",
"Protocols/ACKModifyRecordsOperation.swift",
"Protocols/ACKModifySubscriptionsOperation.swift",
"Protocols/ACKOperation.swift",
"Protocols/ACKQueryOperation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.