The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CollectionLoader, reference main (99f683), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 21:27:41 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/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.4
Building package at path:  $PWD
https://github.com/Frizlab/CollectionLoader.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 183]
[Planning deferred tasks]
[38 / 72]
[40 / 74] CollectionLoader
[49 / 130]
[52 / 130]
[57 / 130]
[59 / 130]
[63 / 130]
[65 / 130]
[68 / 130]
[71 / 130]
[73 / 130]
[74 / 130]
[85 / 130] CollectionLoader
[99 / 130] CollectionLoader
[108 / 130] CollectionLoader-product
[109 / 131] BMO
[114 / 131] BMOCoreData
[117 / 145]
[128 / 145] BMOCoreData
[135 / 146] BMOCoreData
[142 / 151] BMOCoreDataCollectionLoaders
[148 / 151] BMOCoreDataCollectionLoaders
Build complete! (10.90 sec)
Fetching https://github.com/Frizlab/BMO.git
[1/2528] Fetching bmo
Fetched https://github.com/Frizlab/BMO.git (1.31s)
Creating working copy for https://github.com/Frizlab/BMO.git
Working copy of https://github.com/Frizlab/BMO.git resolved at main (5d46c8b)
/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. */
warning: /Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/BMOCoreDataListElementLoader.swift:176:10 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: /Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/BMOCoreDataSearchLoader.swift:132:10 TODO: apiOrderProperty (requires the start offset of the page info…)
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/PrivateUtils/BMORequestHelperForLoader.swift:25:8: warning: cannot use conformance of 'NSManagedObjectContext' to 'LocalDbContextProtocol' here; 'BMOCoreData' was not imported by this file; this is an error in the Swift 6 language mode
23 |
24 |
25 | struct BMORequestHelperForLoader<FetchedObject : NSManagedObject, Metadata> : RequestHelperProtocol {
   |        |- warning: cannot use conformance of 'NSManagedObjectContext' to 'LocalDbContextProtocol' here; 'BMOCoreData' was not imported by this file; this is an error in the Swift 6 language mode
   |        |- note: The missing import of module 'BMOCoreData' will be added implicitly
   |        `- note: in associated type 'Self.LocalDbContext' (inferred as 'NSManagedObjectContext')
26 |
27 | 	typealias LocalDbObject = NSManagedObject
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/PrivateUtils/BMORequestHelperForLoader.swift:25:8: warning: cannot use conformance of 'NSManagedObject' to 'LocalDbObjectProtocol' here; 'BMOCoreData' was not imported by this file; this is an error in the Swift 6 language mode
23 |
24 |
25 | struct BMORequestHelperForLoader<FetchedObject : NSManagedObject, Metadata> : RequestHelperProtocol {
   |        |- warning: cannot use conformance of 'NSManagedObject' to 'LocalDbObjectProtocol' here; 'BMOCoreData' was not imported by this file; this is an error in the Swift 6 language mode
   |        |- note: The missing import of module 'BMOCoreData' will be added implicitly
   |        `- note: in associated type 'Self.LocalDbObject' (inferred as 'NSManagedObject')
26 |
27 | 	typealias LocalDbObject = NSManagedObject
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/PrivateUtils/BMORequestHelperForLoader.swift:25:8: warning: cannot use conformance of 'NSManagedObjectContext' to 'LocalDbContextProtocol' here; 'BMOCoreData' was not imported by this file; this is an error in the Swift 6 language mode
23 |
24 |
25 | struct BMORequestHelperForLoader<FetchedObject : NSManagedObject, Metadata> : RequestHelperProtocol {
   |        |- warning: cannot use conformance of 'NSManagedObjectContext' to 'LocalDbContextProtocol' here; 'BMOCoreData' was not imported by this file; this is an error in the Swift 6 language mode
   |        |- note: The missing import of module 'BMOCoreData' will be added implicitly
   |        `- note: in associated type 'Self.LocalDbContext' (inferred as 'NSManagedObjectContext')
26 |
27 | 	typealias LocalDbObject = NSManagedObject
/Users/admin/builder/spi-builder-workspace/Sources/BMOCoreDataCollectionLoaders/PrivateUtils/BMORequestHelperForLoader.swift:25:8: warning: cannot use conformance of 'NSManagedObject' to 'LocalDbObjectProtocol' here; 'BMOCoreData' was not imported by this file; this is an error in the Swift 6 language mode
23 |
24 |
25 | struct BMORequestHelperForLoader<FetchedObject : NSManagedObject, Metadata> : RequestHelperProtocol {
   |        |- warning: cannot use conformance of 'NSManagedObject' to 'LocalDbObjectProtocol' here; 'BMOCoreData' was not imported by this file; this is an error in the Swift 6 language mode
   |        |- note: The missing import of module 'BMOCoreData' will be added implicitly
   |        `- note: in associated type 'Self.LocalDbObject' (inferred as 'NSManagedObject')
26 |
27 | 	typealias LocalDbObject = NSManagedObject
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
121 | 		let helper = BMORequestHelperForLoader<FetchedObject, Bridge.Metadata>(
122 | 			loadingOperationDelegate: delegate,
123 | 			importChangesProcessing: { [apiOrderProperty, apiOrderDelta] changes, throwIfCancelled in
    |                                                  `- warning: capture 'apiOrderDelta' was never used [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
124 | 				try changes.importedObjects.compactMap{
125 | 					try throwIfCancelled()
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
/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) }
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.