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 CloudKitFeatureFlags, reference 0.1.0-alpha (c2dff3), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 15:53:06 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/codeOfRobin/CloudKitFeatureFlags.git
Reference: 0.1.0-alpha
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/codeOfRobin/CloudKitFeatureFlags
 * tag               0.1.0-alpha -> FETCH_HEAD
HEAD is now at c2dff31 Add integration test
Cloned https://github.com/codeOfRobin/CloudKitFeatureFlags.git
Revision (git rev-parse @):
c2dff31abfa595b3b2577195b561fd4e4998b2e5
SUCCESS checkout https://github.com/codeOfRobin/CloudKitFeatureFlags.git at 0.1.0-alpha
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/codeOfRobin/CloudKitFeatureFlags.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/9] Compiling CloudKitFeatureFlags FeatureFlag+CloudKit.swift
[4/9] Emitting module CloudKitFeatureFlags
/Users/admin/builder/spi-builder-workspace/Sources/CloudKitFeatureFlags/CloudKitAbstractions.swift:24:1: warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
 9 |
10 | protocol Database {
11 | 	func fetch(withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
   |       `- note: expected sendability to match requirement here
12 | 	func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
13 | 	func perform(_ query: CKQuery, inZoneWith zoneID: CKRecordZone.ID?, completionHandler: @escaping ([CKRecord]?, Error?) -> Void)
   :
22 | }
23 |
24 | extension CKDatabase: Database { }
   | `- warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
25 |
26 | extension CKContainer: Container {
/Users/admin/builder/spi-builder-workspace/Sources/CloudKitFeatureFlags/CloudKitAbstractions.swift:24:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
10 | protocol Database {
11 | 	func fetch(withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
12 | 	func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
   |       `- note: expected sendability to match requirement here
13 | 	func perform(_ query: CKQuery, inZoneWith zoneID: CKRecordZone.ID?, completionHandler: @escaping ([CKRecord]?, Error?) -> Void)
14 | }
   :
22 | }
23 |
24 | extension CKDatabase: Database { }
   | `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
25 |
26 | extension CKContainer: Container {
/Users/admin/builder/spi-builder-workspace/Sources/CloudKitFeatureFlags/CloudKitAbstractions.swift:24:1: warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
11 | 	func fetch(withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
12 | 	func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
13 | 	func perform(_ query: CKQuery, inZoneWith zoneID: CKRecordZone.ID?, completionHandler: @escaping ([CKRecord]?, Error?) -> Void)
   |       `- note: expected sendability to match requirement here
14 | }
15 |
   :
22 | }
23 |
24 | extension CKDatabase: Database { }
   | `- warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
25 |
26 | extension CKContainer: Container {
/Users/admin/builder/spi-builder-workspace/Sources/CloudKitFeatureFlags/CloudKitAbstractions.swift:26:1: warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'Container'; this is an error in the Swift 6 language mode
19 | 	var featureFlaggingDatabase: Database { get }
20 |
21 | 	func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
   |       `- note: expected sendability to match requirement here
22 | }
23 |
24 | extension CKDatabase: Database { }
25 |
26 | extension CKContainer: Container {
   | `- warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'Container'; this is an error in the Swift 6 language mode
27 | 	var featureFlaggingDatabase: Database {
28 | 		return publicCloudDatabase
[5/9] Compiling CloudKitFeatureFlags AdditionalUserData.swift
[6/9] Compiling CloudKitFeatureFlags FeatureFlag.swift
[7/9] Compiling CloudKitFeatureFlags CloudKitAbstractions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CloudKitFeatureFlags/CloudKitAbstractions.swift:24:1: warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
 9 |
10 | protocol Database {
11 | 	func fetch(withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
   |       `- note: expected sendability to match requirement here
12 | 	func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
13 | 	func perform(_ query: CKQuery, inZoneWith zoneID: CKRecordZone.ID?, completionHandler: @escaping ([CKRecord]?, Error?) -> Void)
   :
22 | }
23 |
24 | extension CKDatabase: Database { }
   | `- warning: sendability of function types in instance method 'fetch(withRecordID:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
25 |
26 | extension CKContainer: Container {
/Users/admin/builder/spi-builder-workspace/Sources/CloudKitFeatureFlags/CloudKitAbstractions.swift:24:1: warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
10 | protocol Database {
11 | 	func fetch(withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
12 | 	func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
   |       `- note: expected sendability to match requirement here
13 | 	func perform(_ query: CKQuery, inZoneWith zoneID: CKRecordZone.ID?, completionHandler: @escaping ([CKRecord]?, Error?) -> Void)
14 | }
   :
22 | }
23 |
24 | extension CKDatabase: Database { }
   | `- warning: sendability of function types in instance method 'save(_:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
25 |
26 | extension CKContainer: Container {
/Users/admin/builder/spi-builder-workspace/Sources/CloudKitFeatureFlags/CloudKitAbstractions.swift:24:1: warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
11 | 	func fetch(withRecordID recordID: CKRecord.ID, completionHandler: @escaping (CKRecord?, Error?) -> Void)
12 | 	func save(_ record: CKRecord, completionHandler: @escaping (CKRecord?, Error?) -> Void)
13 | 	func perform(_ query: CKQuery, inZoneWith zoneID: CKRecordZone.ID?, completionHandler: @escaping ([CKRecord]?, Error?) -> Void)
   |       `- note: expected sendability to match requirement here
14 | }
15 |
   :
22 | }
23 |
24 | extension CKDatabase: Database { }
   | `- warning: sendability of function types in instance method 'perform(_:inZoneWith:completionHandler:)' does not match requirement in protocol 'Database'; this is an error in the Swift 6 language mode
25 |
26 | extension CKContainer: Container {
/Users/admin/builder/spi-builder-workspace/Sources/CloudKitFeatureFlags/CloudKitAbstractions.swift:26:1: warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'Container'; this is an error in the Swift 6 language mode
19 | 	var featureFlaggingDatabase: Database { get }
20 |
21 | 	func fetchUserRecordID(completionHandler: @escaping (CKRecord.ID?, Error?) -> Void)
   |       `- note: expected sendability to match requirement here
22 | }
23 |
24 | extension CKDatabase: Database { }
25 |
26 | extension CKContainer: Container {
   | `- warning: sendability of function types in instance method 'fetchUserRecordID(completionHandler:)' does not match requirement in protocol 'Container'; this is an error in the Swift 6 language mode
27 | 	var featureFlaggingDatabase: Database {
28 | 		return publicCloudDatabase
[8/9] Compiling CloudKitFeatureFlags FeatureFlagCoordinator.swift
[9/9] Compiling CloudKitFeatureFlags FlaggingLogic.swift
Build complete! (3.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CloudKitFeatureFlags",
  "name" : "CloudKitFeatureFlags",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "CloudKitFeatureFlags",
      "targets" : [
        "CloudKitFeatureFlags"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CloudKitFeatureFlagsTests",
      "module_type" : "SwiftTarget",
      "name" : "CloudKitFeatureFlagsTests",
      "path" : "Tests/CloudKitFeatureFlagsTests",
      "sources" : [
        "FeatureFlagCoordinatorTests.swift",
        "FlaggingLogicTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "CloudKitFeatureFlags"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CloudKitFeatureFlags",
      "module_type" : "SwiftTarget",
      "name" : "CloudKitFeatureFlags",
      "path" : "Sources/CloudKitFeatureFlags",
      "product_memberships" : [
        "CloudKitFeatureFlags"
      ],
      "sources" : [
        "AdditionalUserData.swift",
        "CloudKitAbstractions.swift",
        "FeatureFlag+CloudKit.swift",
        "FeatureFlag.swift",
        "FeatureFlagCoordinator.swift",
        "FlaggingLogic.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.