The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CloudKitFeatureFlags, reference main (0fce73), with Swift 6.4 for macOS (SPM) on 17 Sep 2026 05:10:42 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeOfRobin/CloudKitFeatureFlags.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/codeOfRobin/CloudKitFeatureFlags
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0fce730 Merge pull request #29 from codeOfRobin/add-code-coverage
Cloned https://github.com/codeOfRobin/CloudKitFeatureFlags.git
Revision (git rev-parse @):
0fce7304011761002c190fd2261a3d2dda931104
SUCCESS checkout https://github.com/codeOfRobin/CloudKitFeatureFlags.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/codeOfRobin/CloudKitFeatureFlags.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] CloudKitFeatureFlags
[30 / 79]
[32 / 79]
[38 / 79]
[40 / 79]
[44 / 79]
[46 / 79]
[49 / 79]
[53 / 79]
[55 / 79]
[56 / 79]
[61 / 79]
[70 / 79] CloudKitFeatureFlags
[76 / 79] CloudKitFeatureFlags
Build complete! (7.89 sec)
/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 | public 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 | public 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 | 	public var featureFlaggingDatabase: Database {
28 | 		return publicCloudDatabase
/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 | public 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 | public 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 | 	public var featureFlaggingDatabase: Database {
28 | 		return publicCloudDatabase
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",
        "FeatureFlagStorageTests.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",
        "FeatureFlagStorage.swift",
        "FlaggingLogic.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.