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 5.10 for macOS (SPM) on 23 Jul 2025 02:38:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.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:             5.10
Building package at path:  $PWD
https://github.com/ryanashcraft/CloudSyncSession.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/12] Write sources
[11/12] Write swift-version-33747A42983211AE.txt
[13/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[14/31] Compiling InternalCollectionsUtilities Debugging.swift
[15/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[16/32] Emitting module InternalCollectionsUtilities
[17/32] Compiling InternalCollectionsUtilities Descriptions.swift
[18/32] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/32] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[20/32] Compiling InternalCollectionsUtilities _SortedCollection.swift
[21/32] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/32] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/32] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[25/32] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[26/32] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[27/32] Compiling InternalCollectionsUtilities Integer rank.swift
[28/314] Compiling DequeModule _DequeBufferHeader.swift
[29/314] Compiling DequeModule _DequeSlot.swift
[30/315] Compiling DequeModule _DequeBuffer.swift
[31/315] Compiling HeapModule _HeapNode.swift
[32/315] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[33/315] Compiling HeapModule Heap.swift
[34/315] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[35/315] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[36/315] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[37/315] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[38/315] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[39/315] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[40/321] Compiling HeapModule Heap+Descriptions.swift
[41/321] Compiling HeapModule Heap+Invariants.swift
[42/321] Compiling HeapModule Heap+UnsafeHandle.swift
[43/321] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[44/321] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[45/321] Emitting module HeapModule
[46/321] Compiling HashTreeCollections _HashTreeIterator.swift
[47/321] Compiling HashTreeCollections _HashTreeStatistics.swift
[48/321] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[49/321] Compiling HashTreeCollections _RawHashNode.swift
[50/321] Compiling HashTreeCollections _UnmanagedHashNode.swift
[51/321] Compiling HashTreeCollections _UnsafePath.swift
[52/326] Compiling HashTreeCollections TreeDictionary+Codable.swift
[53/326] Compiling HashTreeCollections TreeDictionary+Collection.swift
[54/326] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[55/326] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[56/326] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[57/326] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[58/326] Compiling DequeModule _UnsafeWrappedBuffer.swift
[59/326] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[65/326] Compiling HashTreeCollections TreeSet+Equatable.swift
[66/326] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[67/326] Compiling HashTreeCollections TreeSet+Extras.swift
[68/326] Compiling HashTreeCollections TreeSet+Filter.swift
[69/326] Compiling HashTreeCollections TreeSet+Hashable.swift
[70/326] Compiling HashTreeCollections TreeSet+Sendable.swift
[71/326] Compiling HashTreeCollections TreeSet+Sequence.swift
[72/326] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[73/326] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[74/326] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[75/326] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[76/326] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[77/326] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[78/326] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[79/326] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[80/326] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[81/334] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[82/334] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[83/334] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[84/334] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[85/334] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[86/334] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[87/334] Compiling BitCollections BitSet+SetAlgebra union.swift
[88/334] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[89/334] Compiling BitCollections BitSet.Counted.swift
[90/334] Compiling BitCollections BitSet.Index.swift
[91/334] Compiling BitCollections BitSet._UnsafeHandle.swift
[92/334] Compiling BitCollections BitSet.swift
[93/334] Compiling HashTreeCollections _HashNode+Structural filter.swift
[94/334] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[95/334] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[96/334] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[97/334] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[98/334] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[99/334] Compiling HashTreeCollections _HashNode+Storage.swift
[100/334] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[102/334] Compiling BitCollections Range+Utilities.swift
[103/334] Compiling BitCollections Slice+Utilities.swift
[104/334] Compiling BitCollections UInt+Tricks.swift
[105/334] Compiling BitCollections _Word.swift
[112/334] Compiling HashTreeCollections _HashNode+Lookups.swift
[113/334] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[120/334] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[121/334] Compiling HashTreeCollections _HashNode.swift
[122/334] Compiling HashTreeCollections _HashNodeHeader.swift
[123/334] Compiling HashTreeCollections _HashSlot.swift
[124/334] Compiling HashTreeCollections _HashStack.swift
[131/334] Compiling HashTreeCollections _HashNode+Structural merge.swift
[132/334] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[133/334] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[134/334] Compiling HashTreeCollections _HashNode+Structural union.swift
[135/334] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[136/334] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[137/334] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[150/334] Compiling OrderedCollections OrderedSet.swift
[151/334] Compiling OrderedCollections _UnsafeBitset.swift
[184/334] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[185/334] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[186/334] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[187/334] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[188/334] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[189/334] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[190/334] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[191/334] Compiling HashTreeCollections TreeSet.swift
[192/334] Emitting module BitCollections
[199/334] Emitting module DequeModule
[285/341] Emitting module OrderedCollections
[286/341] Compiling Logging MetadataProvider.swift
[287/341] Compiling Logging Locks.swift
[288/341] Compiling Logging Logging.swift
[289/341] Compiling Logging LogHandler.swift
[290/341] Emitting module Logging
[318/341] Compiling _RopeModule Rope+Remove.swift
[319/341] Compiling _RopeModule Rope+RemoveSubrange.swift
[320/341] Compiling _RopeModule Rope+Split.swift
[321/341] Compiling _RopeModule Optional Utilities.swift
[322/341] Compiling _RopeModule String Utilities.swift
[323/341] Compiling _RopeModule String.Index+ABI.swift
[324/341] Compiling _RopeModule _CharacterRecognizer.swift
[325/341] Emitting module _RopeModule
[341/341] Emitting module HashTreeCollections
[342/343] Compiling Collections Collections.swift
[343/343] Emitting module Collections
[344/346] Compiling PID RateLimitPIDController.swift
[345/346] Emitting module PID
[346/346] Compiling PID PIDController.swift
[347/363] Compiling CloudSyncSession RetryMiddleware.swift
[348/363] Compiling CloudSyncSession SplittingMiddleware.swift
[349/364] Compiling CloudSyncSession Middleware.swift
[350/364] Compiling CloudSyncSession AccountStatusMiddleware.swift
[351/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
        operation.modifyRecordsCompletionBlock = { serverRecords, deletedRecordIDs, error in
                  ^
/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
        operation.recordChangedBlock = { record in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:182:19: warning: 'recordZoneFetchCompletionBlock' was deprecated in macOS 12.0: Use recordZoneFetchResultBlock instead
        operation.recordZoneFetchCompletionBlock = { [weak self] _, newToken, _, newHasMore, _ in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:200:19: warning: 'fetchRecordZoneChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZoneChangesResultBlock instead
        operation.fetchRecordZoneChangesCompletionBlock = { [weak self] error in
                  ^
/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
            guard let self = self else {
                  ~~~~^~~~~~~
                                  != nil
/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
            guard let self = self else {
                  ~~~~^~~~~~~
                                  != nil
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:328:19: warning: 'fetchRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZonesResultBlock instead
        operation.fetchRecordZonesCompletionBlock = { ids, error in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:361:19: warning: 'modifyRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordZonesResultBlock instead
        operation.modifyRecordZonesCompletionBlock = { _, _, error in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:384:19: warning: 'fetchSubscriptionCompletionBlock' was deprecated in macOS 12.0: Use fetchSubscriptionsResultBlock instead
        operation.fetchSubscriptionCompletionBlock = { ids, error in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:426:19: warning: 'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead
        operation.modifySubscriptionsCompletionBlock = { _, _, error in
                  ^
[352/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
        operation.modifyRecordsCompletionBlock = { serverRecords, deletedRecordIDs, error in
                  ^
/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
        operation.recordChangedBlock = { record in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:182:19: warning: 'recordZoneFetchCompletionBlock' was deprecated in macOS 12.0: Use recordZoneFetchResultBlock instead
        operation.recordZoneFetchCompletionBlock = { [weak self] _, newToken, _, newHasMore, _ in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:200:19: warning: 'fetchRecordZoneChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZoneChangesResultBlock instead
        operation.fetchRecordZoneChangesCompletionBlock = { [weak self] error in
                  ^
/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
            guard let self = self else {
                  ~~~~^~~~~~~
                                  != nil
/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
            guard let self = self else {
                  ~~~~^~~~~~~
                                  != nil
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:328:19: warning: 'fetchRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZonesResultBlock instead
        operation.fetchRecordZonesCompletionBlock = { ids, error in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:361:19: warning: 'modifyRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordZonesResultBlock instead
        operation.modifyRecordZonesCompletionBlock = { _, _, error in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:384:19: warning: 'fetchSubscriptionCompletionBlock' was deprecated in macOS 12.0: Use fetchSubscriptionsResultBlock instead
        operation.fetchSubscriptionCompletionBlock = { ids, error in
                  ^
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:426:19: warning: 'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead
        operation.modifySubscriptionsCompletionBlock = { _, _, error in
                  ^
[353/364] Compiling CloudSyncSession ErrorMiddleware.swift
[354/364] Compiling CloudSyncSession LoggerMiddleware.swift
[355/364] Emitting module CloudSyncSession
[356/364] Compiling CloudSyncSession SubjectMiddleware.swift
[357/364] Compiling CloudSyncSession WorkMiddleware.swift
[358/364] Compiling CloudSyncSession SyncState.swift
[359/364] Compiling CloudSyncSession CKErrorExtensions.swift
[360/364] Compiling CloudSyncSession Log.swift
[361/364] Compiling CloudSyncSession SyncEvent.swift
[362/364] Compiling CloudSyncSession ZoneMiddleware.swift
[363/364] Compiling CloudSyncSession OperationHandler.swift
[364/364] Compiling CloudSyncSession SyncWork.swift
Build complete! (17.64s)
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.52s)
Fetched https://github.com/apple/swift-log.git from cache (1.52s)
Computing version for https://github.com/ryanashcraft/swift-pid.git
Computed https://github.com/ryanashcraft/swift-pid.git at 0.0.3 (0.33s)
Fetching https://github.com/apple/swift-collections.git
[1/16884] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.41s)
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.