The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build CollectionLoader, reference main (99f683), with Swift 6.0 for Linux on 30 Nov 2024 06:01:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/CollectionLoader.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Frizlab/CollectionLoader.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Frizlab/BMO.git
[1/2475] Fetching bmo
Fetched https://github.com/Frizlab/BMO.git from cache (0.33s)
Creating working copy for https://github.com/Frizlab/BMO.git
Working copy of https://github.com/Frizlab/BMO.git resolved at main (5d46c8b)
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/37] Emitting module BMO
[7/39] Compiling BMO Result+Utils.swift
[8/39] Compiling BMO DummyRequestHelper.swift
[9/39] Compiling CollectionLoader Operation+Utils.swift
[10/40] Compiling BMO RequestError.swift
[11/40] Compiling BMO GenericLocalDbObject.swift
[12/40] Compiling BMO LocalDbChanges.swift
[13/40] Compiling BMO RequestResult.swift
[14/40] Compiling BMO ErrorCollection.swift
[15/40] Compiling BMO OperationLifecycleError.swift
[16/40] Compiling BMO RelationshipMergeType.swift
[17/40] Compiling BMO MapError.swift
[18/40] Compiling CollectionLoader BlockCollectionLoaderDelegate.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Private/BlockCollectionLoaderDelegate.swift:33:25: warning: assigning non-sendable parameter 'willStartLoading' to a @Sendable closure
26 |
27 | 	init(
28 | 		willStartLoading: @escaping (CLDPageLoadDescription) -> Void,
   |   `- note: parameter 'willStartLoading' is implicitly non-sendable
29 | 		didFinishLoading: @escaping (CLDPageLoadDescription, Result<CompletionResults, Error>) -> Void,
30 | 		canDelete: @escaping (FetchedObject) -> Bool,
31 | 		willFinishLoading: @escaping (CLDPageLoadDescription, PreCompletionResults, () throws -> Void) throws -> Void
32 | 	) {
33 | 		self.willStartLoading = willStartLoading
   |                         `- warning: assigning non-sendable parameter 'willStartLoading' to a @Sendable closure
34 | 		self.didFinishLoading = didFinishLoading
35 | 		self.canDelete = canDelete
/host/spi-builder-workspace/Sources/CollectionLoader/Private/BlockCollectionLoaderDelegate.swift:34:25: warning: assigning non-sendable parameter 'didFinishLoading' to a @Sendable closure
27 | 	init(
28 | 		willStartLoading: @escaping (CLDPageLoadDescription) -> Void,
29 | 		didFinishLoading: @escaping (CLDPageLoadDescription, Result<CompletionResults, Error>) -> Void,
   |   `- note: parameter 'didFinishLoading' is implicitly non-sendable
30 | 		canDelete: @escaping (FetchedObject) -> Bool,
31 | 		willFinishLoading: @escaping (CLDPageLoadDescription, PreCompletionResults, () throws -> Void) throws -> Void
32 | 	) {
33 | 		self.willStartLoading = willStartLoading
34 | 		self.didFinishLoading = didFinishLoading
   |                         `- warning: assigning non-sendable parameter 'didFinishLoading' to a @Sendable closure
35 | 		self.canDelete = canDelete
36 | 		self.willFinishLoading = willFinishLoading
[19/40] Compiling BMO Bridge-Protocol.swift
[20/40] Compiling BMO BridgeObjects-Protocol.swift
[21/40] Compiling BMO LocalDb-Protocol.swift
[22/40] Compiling CollectionLoader PageLoadReason.swift
[23/40] Compiling BMO Request.swift
[24/40] Compiling BMO RequestHelper-Protocol.swift
[26/40] Compiling BMO LocalDbImportOperation.swift
/host/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. */
/host/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. */
/host/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. */
/host/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. */
[29/40] Emitting module CollectionLoader
[30/40] Compiling BMO LocalDbImporter-Protocol.swift
[31/40] Compiling BMO RemoteDb-Protocol.swift
[32/40] Compiling BMO RequestHelperCollection.swift
[33/40] Compiling BMO RequestHelperCollectionForOldRuntimes.swift
[39/40] Compiling BMO RequestOperation.swift
[41/41] Compiling CollectionLoader PageLoadDescription.Reason+Utils.swift
[43/62] Compiling BMOCoreData BMOCoreDataSaveRequestHelper.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[44/62] Compiling BMOCoreData NSManagedObject+BMO.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[45/62] Compiling BMOCoreData NSManagedObjectContext+BMO.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[46/64] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Saved.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[47/64] Compiling BMOCoreData CoreDataAPI+Delete.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[48/64] Compiling BMOCoreData CoreDataAPI+Fetch.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[49/64] Compiling BMOCoreData  Loggers.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[50/64] Compiling BMOCoreData NSManagedObjectContext+Utils.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[51/64] Compiling BMOCoreData CoreDataAPI+Update-Discarded.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[52/64] Compiling BMOCoreData CoreDataAPI+Update-Saved.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[53/64] Compiling BMOCoreData CoreDataAPI.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[54/64] Compiling BMOCoreData NSFetchRequest+Utils.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[55/64] Compiling BMOCoreData NSManagedObject+Utils.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[56/64] Compiling BMOCoreData CoreDataAPI+Create-Discarded.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[57/64] Compiling BMOCoreData CoreDataAPI+Create-Saved.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[58/64] Compiling BMOCoreData CoreDataAPI+CreateAndGet-Discarded.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/64] Emitting module BMOCoreData
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[60/64] Compiling BMOCoreData  Errors.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[61/64] Compiling BMOCoreData BMOCoreDataImporter.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[62/64] Compiling BMOCoreData BMOCoreDataFetchRequestHelper.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[63/64] Compiling BMOCoreData NSPredicate+Utils.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
[64/64] Compiling BMOCoreData RemoteFetchType.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMOCoreData/BMOImplementations/BMOCoreDataImporter.swift:16:8: error: no such module 'CoreData'
 14 | limitations under the License. */
 15 |
 16 | import CoreData
    |        `- error: no such module 'CoreData'
 17 | import Foundation
 18 | import os.log
BUILD FAILURE 6.0 linux