The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CloudSyncSession, reference 0.3.0 (cb63ad), with Swift 6.2 (beta) for macOS (SPM) on 23 Jul 2025 02:44:08 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryanashcraft/CloudSyncSession.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ryanashcraft/CloudSyncSession
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at cb63ad3 Migrate from OSLog to swift-log for logging
Cloned https://github.com/ryanashcraft/CloudSyncSession.git
Revision (git rev-parse @):
cb63ad3c7c68a47f702075159a41f820b1b32bdf
SUCCESS checkout https://github.com/ryanashcraft/CloudSyncSession.git at 0.3.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ryanashcraft/CloudSyncSession.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-1EA4D86E10B52AF.txt
[13/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[15/32] Compiling InternalCollectionsUtilities Descriptions.swift
[16/32] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/32] Compiling InternalCollectionsUtilities Debugging.swift
[18/32] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[19/32] Compiling InternalCollectionsUtilities _SortedCollection.swift
[20/32] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/32] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/32] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/32] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/32] Compiling InternalCollectionsUtilities Integer rank.swift
[25/32] Emitting module InternalCollectionsUtilities
[26/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[27/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/314] Compiling HashTreeCollections _UnsafePath.swift
[29/314] Compiling HashTreeCollections TreeDictionary+Codable.swift
[30/315] Compiling DequeModule _DequeBufferHeader.swift
[31/315] Compiling DequeModule _DequeSlot.swift
[32/315] Compiling DequeModule _DequeBuffer.swift
[33/315] Compiling HeapModule Heap.swift
[34/315] Compiling HeapModule _HeapNode.swift
[35/315] Compiling HashTreeCollections TreeDictionary+Collection.swift
[36/315] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[37/315] Compiling HeapModule Heap+UnsafeHandle.swift
[38/315] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[39/315] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[40/315] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[41/315] Compiling HeapModule Heap+Descriptions.swift
[42/315] Compiling HeapModule Heap+Invariants.swift
[43/315] Emitting module HeapModule
[44/315] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[45/315] Compiling HashTreeCollections TreeSet+Debugging.swift
[46/315] Compiling HashTreeCollections TreeSet+Descriptions.swift
[47/315] Compiling HashTreeCollections _HashNode+Lookups.swift
[48/315] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[49/315] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[50/320] Compiling DequeModule _UnsafeWrappedBuffer.swift
[51/320] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[52/320] Compiling HashTreeCollections _HashNode+Structural merge.swift
[53/320] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[54/320] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[55/320] Compiling HashTreeCollections _HashNode+Structural union.swift
[56/320] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[57/320] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[58/320] Compiling HashTreeCollections TreeDictionary+Values.swift
[59/320] Compiling HashTreeCollections TreeDictionary.swift
[60/320] Compiling HashTreeCollections TreeSet+Codable.swift
[61/320] Compiling HashTreeCollections TreeSet+Collection.swift
[63/320] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[64/320] Compiling HashTreeCollections TreeDictionary+Merge.swift
[65/320] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[66/320] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[67/320] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[74/320] Compiling BitCollections BitSet.swift
[80/320] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[81/326] Compiling HashTreeCollections _Bitmap.swift
[82/326] Compiling HashTreeCollections _Bucket.swift
[83/326] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[84/326] Compiling HashTreeCollections _AncestorHashSlots.swift
[85/326] Emitting module BitCollections
[86/326] Compiling HashTreeCollections _RawHashNode.swift
[87/326] Compiling HashTreeCollections _UnmanagedHashNode.swift
[88/326] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[89/326] Compiling HashTreeCollections TreeSet+Extras.swift
[90/326] Compiling HashTreeCollections TreeSet+Filter.swift
[91/326] Compiling HashTreeCollections TreeSet+Hashable.swift
[92/326] Compiling HashTreeCollections TreeSet+Sendable.swift
[93/326] Compiling HashTreeCollections TreeSet+Sequence.swift
[94/326] Compiling HashTreeCollections _HashLevel.swift
[95/326] Compiling HashTreeCollections _HashNode+Builder.swift
[96/326] Compiling HashTreeCollections _HashNode+Debugging.swift
[97/326] Compiling HashTreeCollections _HashNode+Initializers.swift
[98/326] Compiling HashTreeCollections _HashNode+Invariants.swift
[99/326] Compiling HashTreeCollections TreeSet+Equatable.swift
[100/326] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[101/326] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[102/326] Compiling HashTreeCollections TreeDictionary+Filter.swift
[103/326] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[104/326] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[105/326] Compiling HashTreeCollections TreeDictionary+Keys.swift
[111/326] Compiling HashTreeCollections _Hash.swift
[112/326] Emitting module DequeModule
[114/326] Compiling OrderedCollections OrderedSet+SubSequence.swift
[115/326] Compiling OrderedCollections OrderedSet+Testing.swift
[116/326] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[117/326] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[182/333] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[183/333] Compiling _RopeModule Rope+Remove.swift
[184/333] Compiling _RopeModule Rope+RemoveSubrange.swift
[185/333] Compiling _RopeModule Rope+Split.swift
[186/333] Compiling _RopeModule Optional Utilities.swift
[187/333] Compiling _RopeModule String Utilities.swift
[188/333] Compiling _RopeModule String.Index+ABI.swift
[189/333] Compiling _RopeModule _CharacterRecognizer.swift
[190/333] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[191/333] Compiling OrderedCollections _UnsafeBitset.swift
[192/333] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[193/333] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[194/333] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[195/333] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[196/333] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[197/333] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[198/333] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[203/341] Compiling OrderedCollections OrderedSet.swift
[238/341] Emitting module Logging
[239/341] Compiling Logging Logging.swift
[240/341] Compiling Logging Locks.swift
[241/341] Compiling Logging LogHandler.swift
[242/341] Compiling Logging MetadataProvider.swift
[243/341] Emitting module OrderedCollections
[244/341] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[245/341] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[246/341] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[247/341] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[248/341] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[249/341] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[250/341] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[251/341] Compiling HashTreeCollections TreeSet.swift
[295/341] Emitting module _RopeModule
[341/341] Emitting module HashTreeCollections
[342/343] Emitting module Collections
[343/343] Compiling Collections Collections.swift
[344/346] Emitting module PID
[345/346] Compiling PID PIDController.swift
[346/346] Compiling PID RateLimitPIDController.swift
[347/363] Compiling CloudSyncSession SyncState.swift
[348/364] Compiling CloudSyncSession Middleware.swift
[349/364] Compiling CloudSyncSession AccountStatusMiddleware.swift
[350/364] Emitting module CloudSyncSession
[351/364] Compiling CloudSyncSession ErrorMiddleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/Middleware/ErrorMiddleware.swift:47:13: warning: switch must be exhaustive
 45 |             Log.error.error("Handling CloudKit error (code \(ckError.errorCode)): \(ckError.localizedDescription)")
 46 |
 47 |             switch ckError.code {
    |             |- warning: switch must be exhaustive
    |             `- note: add missing case: '.participantAlreadyInvited'
 48 |             case .notAuthenticated,
 49 |                  .managedAccountRestricted,
[352/364] Compiling CloudSyncSession LoggerMiddleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/Middleware/ErrorMiddleware.swift:47:13: warning: switch must be exhaustive
 45 |             Log.error.error("Handling CloudKit error (code \(ckError.errorCode)): \(ckError.localizedDescription)")
 46 |
 47 |             switch ckError.code {
    |             |- warning: switch must be exhaustive
    |             `- note: add missing case: '.participantAlreadyInvited'
 48 |             case .notAuthenticated,
 49 |                  .managedAccountRestricted,
[353/364] Compiling CloudSyncSession ZoneMiddleware.swift
[354/364] Compiling CloudSyncSession OperationHandler.swift
[355/364] Compiling CloudSyncSession SubjectMiddleware.swift
[356/364] Compiling CloudSyncSession WorkMiddleware.swift
[357/364] Compiling CloudSyncSession CKErrorExtensions.swift
[358/364] Compiling CloudSyncSession Log.swift
[359/364] Compiling CloudSyncSession CloudKitOperationHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:121:19: warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead [#DeprecatedDeclaration]
119 |         )
120 |
121 |         operation.modifyRecordsCompletionBlock = { serverRecords, deletedRecordIDs, error in
    |                   `- warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead [#DeprecatedDeclaration]
122 |             if let error = error {
123 |                 Log.operations.error("Failed to modify records: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:174:19: warning: 'recordChangedBlock' was deprecated in macOS 12.0: Use recordWasChangedBlock instead, which surfaces per-record errors [#DeprecatedDeclaration]
172 |         }
173 |
174 |         operation.recordChangedBlock = { record in
    |                   `- warning: 'recordChangedBlock' was deprecated in macOS 12.0: Use recordWasChangedBlock instead, which surfaces per-record errors [#DeprecatedDeclaration]
175 |             changedRecords.append(record)
176 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:182:19: warning: 'recordZoneFetchCompletionBlock' was deprecated in macOS 12.0: Use recordZoneFetchResultBlock instead [#DeprecatedDeclaration]
180 |         }
181 |
182 |         operation.recordZoneFetchCompletionBlock = { [weak self] _, newToken, _, newHasMore, _ in
    |                   `- warning: 'recordZoneFetchCompletionBlock' was deprecated in macOS 12.0: Use recordZoneFetchResultBlock instead [#DeprecatedDeclaration]
183 |             guard let self = self else {
184 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:200:19: warning: 'fetchRecordZoneChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZoneChangesResultBlock instead [#DeprecatedDeclaration]
198 |         }
199 |
200 |         operation.fetchRecordZoneChangesCompletionBlock = { [weak self] error in
    |                   `- warning: 'fetchRecordZoneChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZoneChangesResultBlock instead [#DeprecatedDeclaration]
201 |             guard let self = self else {
202 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:161:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
159 |
160 |         operation.recordZoneChangeTokensUpdatedBlock = { [weak self] _, newToken, _ in
161 |             guard let self = self else {
    |                       `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
162 |                 return
163 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:183:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
181 |
182 |         operation.recordZoneFetchCompletionBlock = { [weak self] _, newToken, _, newHasMore, _ in
183 |             guard let self = self else {
    |                       `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
184 |                 return
185 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:328:19: warning: 'fetchRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZonesResultBlock instead [#DeprecatedDeclaration]
326 |         let operation = CKFetchRecordZonesOperation(recordZoneIDs: [zoneID])
327 |
328 |         operation.fetchRecordZonesCompletionBlock = { ids, error in
    |                   `- warning: 'fetchRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZonesResultBlock instead [#DeprecatedDeclaration]
329 |             if let error = error {
330 |                 Log.operations.error("Failed to check for custom zone existence: \(String(describing: error))")
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:361:19: warning: 'modifyRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordZonesResultBlock instead [#DeprecatedDeclaration]
359 |         )
360 |
361 |         operation.modifyRecordZonesCompletionBlock = { _, _, error in
    |                   `- warning: 'modifyRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordZonesResultBlock instead [#DeprecatedDeclaration]
362 |             if let error = error {
363 |                 Log.operations.error("Failed to create custom zone: \(String(describing: error))")
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:384:19: warning: 'fetchSubscriptionCompletionBlock' was deprecated in macOS 12.0: Use fetchSubscriptionsResultBlock instead [#DeprecatedDeclaration]
382 |         let operation = CKFetchSubscriptionsOperation(subscriptionIDs: [subscriptionID])
383 |
384 |         operation.fetchSubscriptionCompletionBlock = { ids, error in
    |                   `- warning: 'fetchSubscriptionCompletionBlock' was deprecated in macOS 12.0: Use fetchSubscriptionsResultBlock instead [#DeprecatedDeclaration]
385 |             if let error = error {
386 |                 Log.operations.error("Failed to check for subscription existence: \(String(describing: error))")
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:426:19: warning: 'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead [#DeprecatedDeclaration]
424 |         )
425 |
426 |         operation.modifySubscriptionsCompletionBlock = { _, _, error in
    |                   `- warning: 'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead [#DeprecatedDeclaration]
427 |             if let error = error {
428 |                 Log.operations.error("Failed to create subscription: \(String(describing: error))")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[360/364] Compiling CloudSyncSession CloudSyncSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:121:19: warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead [#DeprecatedDeclaration]
119 |         )
120 |
121 |         operation.modifyRecordsCompletionBlock = { serverRecords, deletedRecordIDs, error in
    |                   `- warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead [#DeprecatedDeclaration]
122 |             if let error = error {
123 |                 Log.operations.error("Failed to modify records: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:174:19: warning: 'recordChangedBlock' was deprecated in macOS 12.0: Use recordWasChangedBlock instead, which surfaces per-record errors [#DeprecatedDeclaration]
172 |         }
173 |
174 |         operation.recordChangedBlock = { record in
    |                   `- warning: 'recordChangedBlock' was deprecated in macOS 12.0: Use recordWasChangedBlock instead, which surfaces per-record errors [#DeprecatedDeclaration]
175 |             changedRecords.append(record)
176 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:182:19: warning: 'recordZoneFetchCompletionBlock' was deprecated in macOS 12.0: Use recordZoneFetchResultBlock instead [#DeprecatedDeclaration]
180 |         }
181 |
182 |         operation.recordZoneFetchCompletionBlock = { [weak self] _, newToken, _, newHasMore, _ in
    |                   `- warning: 'recordZoneFetchCompletionBlock' was deprecated in macOS 12.0: Use recordZoneFetchResultBlock instead [#DeprecatedDeclaration]
183 |             guard let self = self else {
184 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:200:19: warning: 'fetchRecordZoneChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZoneChangesResultBlock instead [#DeprecatedDeclaration]
198 |         }
199 |
200 |         operation.fetchRecordZoneChangesCompletionBlock = { [weak self] error in
    |                   `- warning: 'fetchRecordZoneChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZoneChangesResultBlock instead [#DeprecatedDeclaration]
201 |             guard let self = self else {
202 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:161:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
159 |
160 |         operation.recordZoneChangeTokensUpdatedBlock = { [weak self] _, newToken, _ in
161 |             guard let self = self else {
    |                       `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
162 |                 return
163 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:183:23: warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
181 |
182 |         operation.recordZoneFetchCompletionBlock = { [weak self] _, newToken, _, newHasMore, _ in
183 |             guard let self = self else {
    |                       `- warning: value 'self' was defined but never used; consider replacing with boolean test [#no-usage]
184 |                 return
185 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:328:19: warning: 'fetchRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZonesResultBlock instead [#DeprecatedDeclaration]
326 |         let operation = CKFetchRecordZonesOperation(recordZoneIDs: [zoneID])
327 |
328 |         operation.fetchRecordZonesCompletionBlock = { ids, error in
    |                   `- warning: 'fetchRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZonesResultBlock instead [#DeprecatedDeclaration]
329 |             if let error = error {
330 |                 Log.operations.error("Failed to check for custom zone existence: \(String(describing: error))")
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:361:19: warning: 'modifyRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordZonesResultBlock instead [#DeprecatedDeclaration]
359 |         )
360 |
361 |         operation.modifyRecordZonesCompletionBlock = { _, _, error in
    |                   `- warning: 'modifyRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordZonesResultBlock instead [#DeprecatedDeclaration]
362 |             if let error = error {
363 |                 Log.operations.error("Failed to create custom zone: \(String(describing: error))")
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:384:19: warning: 'fetchSubscriptionCompletionBlock' was deprecated in macOS 12.0: Use fetchSubscriptionsResultBlock instead [#DeprecatedDeclaration]
382 |         let operation = CKFetchSubscriptionsOperation(subscriptionIDs: [subscriptionID])
383 |
384 |         operation.fetchSubscriptionCompletionBlock = { ids, error in
    |                   `- warning: 'fetchSubscriptionCompletionBlock' was deprecated in macOS 12.0: Use fetchSubscriptionsResultBlock instead [#DeprecatedDeclaration]
385 |             if let error = error {
386 |                 Log.operations.error("Failed to check for subscription existence: \(String(describing: error))")
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:426:19: warning: 'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead [#DeprecatedDeclaration]
424 |         )
425 |
426 |         operation.modifySubscriptionsCompletionBlock = { _, _, error in
    |                   `- warning: 'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead [#DeprecatedDeclaration]
427 |             if let error = error {
428 |                 Log.operations.error("Failed to create subscription: \(String(describing: error))")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[361/364] Compiling CloudSyncSession RetryMiddleware.swift
[362/364] Compiling CloudSyncSession SplittingMiddleware.swift
[363/364] Compiling CloudSyncSession SyncEvent.swift
[364/364] Compiling CloudSyncSession SyncWork.swift
Build complete! (16.13s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/ryanashcraft/swift-pid.git
[1/46] Fetching swift-pid
[47/3917] Fetching swift-pid, swift-log
Fetched https://github.com/ryanashcraft/swift-pid.git from cache (1.02s)
Fetched https://github.com/apple/swift-log.git from cache (1.02s)
Computing version for https://github.com/ryanashcraft/swift-pid.git
Computed https://github.com/ryanashcraft/swift-pid.git at 0.0.3 (1.46s)
Fetching https://github.com/apple/swift-collections.git
[1/16884] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.98s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.55s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/ryanashcraft/swift-pid.git
Working copy of https://github.com/ryanashcraft/swift-pid.git resolved at 0.0.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-pid",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ryanashcraft/swift-pid.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "CloudSyncSession",
  "name" : "CloudSyncSession",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CloudSyncSession",
      "targets" : [
        "CloudSyncSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CloudSyncSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "CloudSyncSessionTests",
      "path" : "Tests/CloudSyncSessionTests",
      "sources" : [
        "CloudSyncSessionTests.swift",
        "SyncStateTests.swift"
      ],
      "target_dependencies" : [
        "CloudSyncSession"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CloudSyncSession",
      "module_type" : "SwiftTarget",
      "name" : "CloudSyncSession",
      "path" : "Sources/CloudSyncSession",
      "product_dependencies" : [
        "PID",
        "Logging"
      ],
      "product_memberships" : [
        "CloudSyncSession"
      ],
      "sources" : [
        "CloudKitOperationHandler.swift",
        "CloudSyncSession.swift",
        "Extensions/CKErrorExtensions.swift",
        "Log.swift",
        "Middleware.swift",
        "Middleware/AccountStatusMiddleware.swift",
        "Middleware/ErrorMiddleware.swift",
        "Middleware/LoggerMiddleware.swift",
        "Middleware/RetryMiddleware.swift",
        "Middleware/SplittingMiddleware.swift",
        "Middleware/SubjectMiddleware.swift",
        "Middleware/WorkMiddleware.swift",
        "Middleware/ZoneMiddleware.swift",
        "OperationHandler.swift",
        "SyncEvent.swift",
        "SyncState.swift",
        "SyncWork.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.