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 CollectionLoader, reference main (99f683), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 18:22:27 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/Frizlab/CollectionLoader.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Frizlab/CollectionLoader
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 99f6833 Start API order property implementation in search loader
Cloned https://github.com/Frizlab/CollectionLoader.git
Revision (git rev-parse @):
99f6833471eb978b36e84a2ec655003cc44274c1
SUCCESS checkout https://github.com/Frizlab/CollectionLoader.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Frizlab/CollectionLoader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/37] Compiling CollectionLoader PageLoadDescription.swift
[7/38] Compiling CollectionLoader BlockCollectionLoaderDelegate.swift
[8/38] Compiling CollectionLoader Operation+Utils.swift
[9/38] Compiling BMO Result+Utils.swift
[10/38] Compiling BMO DummyRequestHelper.swift
[11/38] Compiling BMO RequestHelper-Protocol.swift
[12/38] Compiling BMO RequestOperation.swift
[13/38] Compiling BMO RelationshipMergeType.swift
[14/38] Compiling BMO MapError.swift
[15/38] Compiling BMO LocalDbImportOperation.swift
[16/38] Compiling BMO LocalDbImporter-Protocol.swift
[17/38] Compiling BMO RequestResult.swift
[18/38] Compiling BMO ErrorCollection.swift
[19/38] Compiling BMO GenericLocalDbObject.swift
[20/38] Compiling BMO LocalDbChanges.swift
[21/38] Compiling BMO RemoteDb-Protocol.swift
[22/38] Compiling BMO Request.swift
[23/38] Compiling BMO OperationLifecycleError.swift
[24/38] Compiling BMO RequestError.swift
[25/40] Emitting module BMO
[26/40] Compiling BMO Bridge-Protocol.swift
[27/40] Compiling BMO BridgeObjects-Protocol.swift
[28/40] Compiling BMO LocalDb-Protocol.swift
[29/40] Compiling CollectionLoader PageInfoRetriever-Protocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:125:32: warning: converting function value of type '@MainActor @Sendable () -> Void' to '@Sendable () -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
123 |
124 | 		/* Yes, self is strongly captured, on purpose. */
125 | 		let prestart = BlockOperation{ @MainActor in /* Swift does not know it, but these block _are_ @MainActor indeed. */
    |                                `- warning: converting function value of type '@MainActor @Sendable () -> Void' to '@Sendable () -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
126 | 			/* On main queue (and thus on main actor/thread). */
127 | 			/* Let’s call the delegate first. */
/Users/admin/builder/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:136:34: warning: converting function value of type '@MainActor @Sendable () -> Void' to '@Sendable () -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
134 | 		}
135 | 		/* Yes, self is strongly captured, on purpose. */
136 | 		let completion = BlockOperation{ @MainActor in /* Swift does not know it, but these block _are_ @MainActor indeed. */
    |                                  `- warning: converting function value of type '@MainActor @Sendable () -> Void' to '@Sendable () -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
137 | 			/* On main queue (and thus on main actor/thread). */
138 | 			/* First, we’ll check for the previous/next page info depending on the loading reason. */
/Users/admin/builder/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:125:32: warning: converting function value of type '@MainActor @Sendable () -> Void' to '@Sendable () -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
123 |
124 | 		/* Yes, self is strongly captured, on purpose. */
125 | 		let prestart = BlockOperation{ @MainActor in /* Swift does not know it, but these block _are_ @MainActor indeed. */
    |                                `- warning: converting function value of type '@MainActor @Sendable () -> Void' to '@Sendable () -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
126 | 			/* On main queue (and thus on main actor/thread). */
127 | 			/* Let’s call the delegate first. */
/Users/admin/builder/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:136:34: warning: converting function value of type '@MainActor @Sendable () -> Void' to '@Sendable () -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
134 | 		}
135 | 		/* Yes, self is strongly captured, on purpose. */
136 | 		let completion = BlockOperation{ @MainActor in /* Swift does not know it, but these block _are_ @MainActor indeed. */
    |                                  `- warning: converting function value of type '@MainActor @Sendable () -> Void' to '@Sendable () -> Void' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
137 | 			/* On main queue (and thus on main actor/thread). */
138 | 			/* First, we’ll check for the previous/next page info depending on the loading reason. */
[32/40] Compiling CollectionLoader LoadingOperationDelegate.swift
[35/40] Compiling CollectionLoader ConcurrentLoadBehavior.swift
[36/40] Compiling CollectionLoader PageLoadReason.swift
[37/40] Emitting module CollectionLoader
[38/40] Compiling CollectionLoader PageLoadDescription.Reason+Utils.swift
[39/40] Compiling BMO RequestHelperCollection.swift
[40/40] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
[41/60] Compiling BMOCoreData NSFetchRequest+Utils.swift
[42/60] Compiling BMOCoreData NSManagedObject+Utils.swift
[43/60] Compiling BMOCoreData  Loggers.swift
[44/60] Compiling BMOCoreData NSManagedObjectContext+Utils.swift
[45/62] Compiling BMOCoreData CoreDataAPI+Create-Saved.swift
[46/62] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Discarded.swift
[47/62] Compiling BMOCoreData CoreDataAPI+Update-Saved.swift
[48/62] Compiling BMOCoreData CoreDataAPI.swift
[49/62] Compiling BMOCoreData CoreDataAPI+Fetch.swift
[50/62] Compiling BMOCoreData CoreDataAPI+Update-Discarded.swift
[51/62] Compiling BMOCoreData NSManagedObjectContext+BMO.swift
[52/62] Compiling BMOCoreData CoreDataAPI+Create-Discarded.swift
[53/62] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Saved.swift
[54/62] Compiling BMOCoreData CoreDataAPI+Delete.swift
[55/62] Compiling BMOCoreData BMOCoreDataSaveRequestHelper.swift
[56/62] Compiling BMOCoreData NSManagedObject+BMO.swift
[57/62] Emitting module BMOCoreData
[58/62] Compiling BMOCoreData  Errors.swift
[59/62] Compiling BMOCoreData BMOCoreDataImporter.swift
[60/62] Compiling BMOCoreData BMOCoreDataFetchRequestHelper.swift
[61/62] Compiling BMOCoreData NSPredicate+Utils.swift
[62/62] Compiling BMOCoreData RemoteFetchType.swift
[63/67] Compiling BMOCoreDataCollectionLoaders DummyFetchedResultsControllerDelegate.swift
[64/67] Compiling BMOCoreDataCollectionLoaders BMORequestHelperForLoader.swift
[65/67] Compiling BMOCoreDataCollectionLoaders BMOCoreDataSearchLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/BMOCoreDataSearchLoader.swift:132:10: warning: TODO: apiOrderProperty (requires the start offset of the page info…)
130 | 					/* If we have an API order property, it is time to set its value. */
131 | 					if let orderProperty = apiOrderProperty?.name {
132 | #warning("TODO: apiOrderProperty (requires the start offset of the page info…)")
    |          `- warning: TODO: apiOrderProperty (requires the start offset of the page info…)
133 | 						o.setValue(1, forKey: orderProperty)
134 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/BMOCoreDataSearchLoader.swift:123:50: warning: capture 'apiOrderDelta' was never used [#no-usage]
121 | 		let helper = BMORequestHelperForLoader<FetchedObject, Bridge.Metadata>(
122 | 			loadingOperationDelegate: delegate,
123 | 			importChangesProcessing: { [apiOrderProperty, apiOrderDelta] changes, throwIfCancelled in
    |                                                  `- warning: capture 'apiOrderDelta' was never used [#no-usage]
124 | 				try changes.importedObjects.compactMap{
125 | 					try throwIfCancelled()
[66/67] Compiling BMOCoreDataCollectionLoaders BMOCoreDataListElementLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/BMOCoreDataListElementLoader.swift:176:10: warning: TODO: We detect the root object ID has changed, we set the new one just after the if, but we do not update the fetched results controller…
174 |
175 | 				if let curRootObjectID = self.listElementObjectID, curRootObjectID != root.objectID {
176 | #warning("TODO: We detect the root object ID has changed, we set the new one just after the if, but we do not update the fetched results controller…")
    |          `- warning: TODO: We detect the root object ID has changed, we set the new one just after the if, but we do not update the fetched results controller…
177 | 					if #available(tvOS 10.0, iOS 10.0, watchOS 3.0, *) {
178 | //						BMOConfig.oslog.flatMap{ os_log("Got different root object id from a result of a request for a list element collection loader helper than previous one. Replacing with new one. Previous: %{public}@; retrieved: %{public}@", log: $0, type: .info, curRootObjectID, root.objectID) }
[67/67] Emitting module BMOCoreDataCollectionLoaders
Build complete! (10.93s)
Fetching https://github.com/Frizlab/BMO.git
[1/2517] Fetching bmo
Fetched https://github.com/Frizlab/BMO.git from cache (1.03s)
Creating working copy for https://github.com/Frizlab/BMO.git
Working copy of https://github.com/Frizlab/BMO.git resolved at main (5d46c8b)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "bmo",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Frizlab/BMO.git"
    }
  ],
  "manifest_display_name" : "CollectionLoader",
  "name" : "CollectionLoader",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "CollectionLoader",
      "targets" : [
        "CollectionLoader"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BMOCoreDataCollectionLoaders",
      "targets" : [
        "BMOCoreDataCollectionLoaders"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CollectionLoaderTests",
      "module_type" : "SwiftTarget",
      "name" : "CollectionLoaderTests",
      "path" : "Tests/CollectionLoaderTests",
      "sources" : [
        "CollectionLoaderTests.swift"
      ],
      "target_dependencies" : [
        "CollectionLoader"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CollectionLoader",
      "module_type" : "SwiftTarget",
      "name" : "CollectionLoader",
      "path" : "Sources/CollectionLoader",
      "product_memberships" : [
        "CollectionLoader",
        "BMOCoreDataCollectionLoaders"
      ],
      "sources" : [
        "Core/CollectionLoader.swift",
        "Core/CollectionLoaderDelegate.swift",
        "Core/CollectionLoaderHelper-Protocol.swift",
        "Core/PageInfo-Protocol.swift",
        "Core/PageInfoRetriever-Protocol.swift",
        "Helpers/ConcurrentLoadBehavior.swift",
        "Helpers/LoadingOperationDelegate.swift",
        "Helpers/PageLoadDescription.swift",
        "Helpers/PageLoadReason.swift",
        "Private/BlockCollectionLoaderDelegate.swift",
        "Private/Operation+Utils.swift",
        "Private/PageLoadDescription.Reason+Utils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BMOCoreDataCollectionLoaders",
      "module_type" : "SwiftTarget",
      "name" : "BMOCoreDataCollectionLoaders",
      "path" : "Sources/BMOCoreDataCollectionLoaders",
      "product_dependencies" : [
        "BMOCoreData"
      ],
      "product_memberships" : [
        "BMOCoreDataCollectionLoaders"
      ],
      "sources" : [
        "BMOCoreDataListElementLoader.swift",
        "BMOCoreDataSearchLoader.swift",
        "DummyFetchedResultsControllerDelegate.swift",
        "PrivateUtils/BMORequestHelperForLoader.swift"
      ],
      "target_dependencies" : [
        "CollectionLoader"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.