The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CloudSyncSession, reference main (22563c), with Swift 6.1 for macOS (SPM) on 18 Nov 2026 17:39:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryanashcraft/CloudSyncSession.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ryanashcraft/CloudSyncSession
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 22563c3 Add async streams and awaitable perform to SyncSession (#15)
Cloned https://github.com/ryanashcraft/CloudSyncSession.git
Revision (git rev-parse @):
22563c32dbb44b01c9841af11d31ccbef2f698dd
SUCCESS checkout https://github.com/ryanashcraft/CloudSyncSession.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ryanashcraft/CloudSyncSession.git
https://github.com/ryanashcraft/CloudSyncSession.git
{
  "dependencies" : [
    {
      "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" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "CloudSyncSession",
      "targets" : [
        "CloudSyncSession"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SyncSessionCore",
      "targets" : [
        "SyncSessionCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SyncSessionCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "SyncSessionCoreTests",
      "path" : "Tests/SyncSessionCoreTests",
      "sources" : [
        "PerformIDTests.swift",
        "SessionPerformInterruptionTests.swift",
        "SessionPerformTests.swift",
        "SessionStateTests.swift",
        "SessionStreamsTests.swift",
        "SessionWorkTests.swift",
        "Support/TestSession.swift",
        "TestBackend.swift",
        "ThrottleTests.swift"
      ],
      "target_dependencies" : [
        "SyncSessionCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SyncSessionCore",
      "module_type" : "SwiftTarget",
      "name" : "SyncSessionCore",
      "path" : "Sources/SyncSessionCore",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "CloudSyncSession",
        "SyncSessionCore"
      ],
      "sources" : [
        "FailureResolution.swift",
        "Log.swift",
        "Pacing.swift",
        "RetryPolicy.swift",
        "SessionEvent.swift",
        "SessionObservers.swift",
        "SessionState.swift",
        "SessionWork.swift",
        "SyncBackend.swift",
        "SyncSession+Async.swift",
        "SyncSession+RunLoop.swift",
        "SyncSession.swift",
        "Throttle.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CloudSyncSessionTests",
      "module_type" : "SwiftTarget",
      "name" : "CloudSyncSessionTests",
      "path" : "Tests/CloudSyncSessionTests",
      "sources" : [
        "AppFacingSurfaceTests.swift",
        "CloudKitSupportTests.swift",
        "SessionBehaviorTests.swift",
        "SessionQueueInvariantTests.swift",
        "SessionStateConcurrencyTests.swift",
        "Support/ScriptedOperationHandler.swift",
        "Support/ScriptedPacing.swift",
        "Support/SessionHarness.swift",
        "ThrottleSignalTests.swift"
      ],
      "target_dependencies" : [
        "CloudSyncSession",
        "SyncSessionCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CloudSyncSession",
      "module_type" : "SwiftTarget",
      "name" : "CloudSyncSession",
      "path" : "Sources/CloudSyncSession",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "CloudSyncSession"
      ],
      "sources" : [
        "AccountStatusProvider.swift",
        "CloudKitBackend.swift",
        "CloudKitOperationHandler.swift",
        "CloudSyncSession.swift",
        "Extensions/CKErrorExtensions.swift",
        "Extensions/CKRecordExtensions.swift",
        "FailureResolver.swift",
        "Log.swift",
        "OperationHandler.swift"
      ],
      "target_dependencies" : [
        "SyncSessionCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/15] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[6/15] Compiling Logging LogHandler.swift
[7/15] Compiling Logging Logger.swift
[8/15] Compiling Logging LoggingSystem.swift
[9/15] Compiling Logging Logger+Attributes.swift
[10/16] Compiling Logging MetadataProvider.swift
[11/16] Compiling Logging LogEvent.swift
[12/16] Compiling Logging SwiftLogNoOpLogHandler.swift
[13/16] Compiling Logging Locks.swift
[14/16] Emitting module Logging
unable to find node: pound
unable to find node: pound
[15/16] Compiling Logging MultiplexLogHandler.swift
[16/16] Compiling Logging StreamLogHandler.swift
[17/29] Compiling SyncSessionCore SyncSession+Async.swift
[18/30] Compiling SyncSessionCore SessionState.swift
[19/30] Compiling SyncSessionCore SyncBackend.swift
[20/30] Compiling SyncSessionCore SessionWork.swift
[21/30] Compiling SyncSessionCore SyncSession.swift
[22/30] Compiling SyncSessionCore Pacing.swift
[23/30] Compiling SyncSessionCore RetryPolicy.swift
[24/30] Compiling SyncSessionCore SessionEvent.swift
[25/30] Compiling SyncSessionCore SessionObservers.swift
[26/30] Compiling SyncSessionCore SyncSession+RunLoop.swift
[27/30] Emitting module SyncSessionCore
[28/30] Compiling SyncSessionCore FailureResolution.swift
[29/30] Compiling SyncSessionCore Log.swift
[30/30] Compiling SyncSessionCore Throttle.swift
[31/40] Compiling CloudSyncSession Log.swift
[32/40] Compiling CloudSyncSession FailureResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/FailureResolver.swift:218:19: error: type 'CKError.Code' has no member 'participantAlreadyInvited'
216 |                  .assetFileModified,
217 |                  .participantMayNeedVerification,
218 |                  .participantAlreadyInvited,
    |                   `- error: type 'CKError.Code' has no member 'participantAlreadyInvited'
219 |                  .alreadyShared,
220 |                  .tooManyParticipants,
[33/40] Compiling CloudSyncSession OperationHandler.swift
[34/40] Compiling CloudSyncSession CKRecordExtensions.swift
[35/40] Compiling CloudSyncSession CKErrorExtensions.swift
[36/40] Compiling CloudSyncSession CloudSyncSession.swift
[37/40] Compiling CloudSyncSession CloudKitBackend.swift
[38/40] Compiling CloudSyncSession AccountStatusProvider.swift
[39/40] Compiling CloudSyncSession CloudKitOperationHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:291:19: warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead
289 |         // iOS 15+ API — https://developer.apple.com/forums/thread/708758), which starves
290 |         // FailureResolver of the partialFailure it needs for conflict resolution and retry.
291 |         operation.modifyRecordsCompletionBlock = { serverRecords, deletedRecordIDs, error in
    |                   `- warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead
292 |             if let error = error {
293 |                 Log.operations.error("Failed to modify records: \(error)")
[40/40] Emitting module CloudSyncSession
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (1.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/12] Compiling Logging LoggingSystem.swift
[3/12] Compiling Logging Logger+With.swift
unable to find node: pound
unable to find node: pound
[4/12] Compiling Logging Logger+Attributes.swift
[5/12] Compiling Logging LogHandler.swift
[6/12] Compiling Logging LogEvent.swift
[7/12] Compiling Logging Locks.swift
[8/12] Compiling Logging Logger.swift
[9/13] Compiling Logging SwiftLogNoOpLogHandler.swift
[10/13] Compiling Logging MultiplexLogHandler.swift
[11/13] Compiling Logging StreamLogHandler.swift
[12/13] Emitting module Logging
unable to find node: pound
unable to find node: pound
[13/13] Compiling Logging MetadataProvider.swift
[14/26] Compiling SyncSessionCore SyncSession.swift
[15/26] Compiling SyncSessionCore SyncSession+Async.swift
[16/26] Compiling SyncSessionCore SyncSession+RunLoop.swift
[17/27] Compiling SyncSessionCore SyncBackend.swift
[18/27] Emitting module SyncSessionCore
[19/27] Compiling SyncSessionCore SessionEvent.swift
[20/27] Compiling SyncSessionCore SessionObservers.swift
[21/27] Compiling SyncSessionCore Pacing.swift
[22/27] Compiling SyncSessionCore RetryPolicy.swift
[23/27] Compiling SyncSessionCore SessionWork.swift
[24/27] Compiling SyncSessionCore FailureResolution.swift
[25/27] Compiling SyncSessionCore Log.swift
[26/27] Compiling SyncSessionCore SessionState.swift
[27/27] Compiling SyncSessionCore Throttle.swift
[28/37] Compiling CloudSyncSession CKRecordExtensions.swift
[29/37] Compiling CloudSyncSession Log.swift
[30/37] Compiling CloudSyncSession OperationHandler.swift
[31/37] Compiling CloudSyncSession CKErrorExtensions.swift
[32/37] Compiling CloudSyncSession FailureResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/FailureResolver.swift:218:19: error: type 'CKError.Code' has no member 'participantAlreadyInvited'
216 |                  .assetFileModified,
217 |                  .participantMayNeedVerification,
218 |                  .participantAlreadyInvited,
    |                   `- error: type 'CKError.Code' has no member 'participantAlreadyInvited'
219 |                  .alreadyShared,
220 |                  .tooManyParticipants,
[33/37] Compiling CloudSyncSession CloudSyncSession.swift
[34/37] Emitting module CloudSyncSession
[35/37] Compiling CloudSyncSession AccountStatusProvider.swift
[36/37] Compiling CloudSyncSession CloudKitOperationHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudSyncSession/CloudKitOperationHandler.swift:291:19: warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead
289 |         // iOS 15+ API — https://developer.apple.com/forums/thread/708758), which starves
290 |         // FailureResolver of the partialFailure it needs for conflict resolution and retry.
291 |         operation.modifyRecordsCompletionBlock = { serverRecords, deletedRecordIDs, error in
    |                   `- warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead
292 |             if let error = error {
293 |                 Log.operations.error("Failed to modify records: \(error)")
[37/37] Compiling CloudSyncSession CloudKitBackend.swift
BUILD FAILURE 6.1 macosSpm