Build Information
Failed to build CollectionLoader, reference main (99f683
), with Swift 6.1 for Wasm on 28 May 2025 23:44:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Frizlab/CollectionLoader.git
https://github.com/Frizlab/CollectionLoader.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "bmo",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/BMO.git"
}
],
"manifest_display_name" : "CollectionLoader",
"name" : "CollectionLoader",
"path" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Frizlab/BMO.git
[1/2517] Fetching bmo
Fetched https://github.com/Frizlab/BMO.git from cache (1.08s)
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] Compiling BMO BridgeObjects-Protocol.swift
[7/37] Compiling BMO LocalDb-Protocol.swift
[8/37] Compiling BMO LocalDbImportOperation.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
[9/37] Compiling BMO LocalDbImporter-Protocol.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
[10/37] Compiling BMO Result+Utils.swift
[11/37] Compiling BMO DummyRequestHelper.swift
[12/38] Compiling BMO RelationshipMergeType.swift
[13/38] Compiling BMO MapError.swift
[14/40] Compiling BMO RequestError.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
[15/40] Compiling BMO GenericLocalDbObject.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
[16/40] Compiling BMO LocalDbChanges.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/40] Emitting module CollectionLoader
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:41:29: error: cannot find type 'OperationQueue' in scope
39 | The queue on which the loading operations are launched.
40 | There are no restrictions on the `maxConcurrentOperationCount` of the queue. */
41 | public let operationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
42 |
43 | public private(set) var nextPageInfo: PageInfo?
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:54:46: error: cannot find type 'OperationQueue' in scope
52 | }
53 |
54 | public init(helper: Helper, operationQueue: OperationQueue = OperationQueue()) {
| `- error: cannot find type 'OperationQueue' in scope
55 | self.helper = helper
56 | self.operationQueue = operationQueue
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:103:150: error: cannot find type 'Operation' in scope
101 | Only one page load at a time is allowed.
102 | When a loading operations is added to the queue, it is made dependent on the latest loading operation added. */
103 | public func load(pageLoadDescription: CLPageLoadDescription, concurrentLoadBehavior: ConcurrentLoadBehavior = .queue, customOperationDependencies: [Operation] = []) {
| `- error: cannot find type 'Operation' in scope
104 | /* We capture the delegate and the helper so we always get the same one for all the callbacks. */
105 | let helper = helper
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:192:19: error: cannot find type 'Operation' in scope
190 | private struct LoadingOperations {
191 |
192 | let prestart: Operation
| `- error: cannot find type 'Operation' in scope
193 | let loading: Operation
194 | let completion: Operation
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:193:19: error: cannot find type 'Operation' in scope
191 |
192 | let prestart: Operation
193 | let loading: Operation
| `- error: cannot find type 'Operation' in scope
194 | let completion: Operation
195 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:194:19: error: cannot find type 'Operation' in scope
192 | let prestart: Operation
193 | let loading: Operation
194 | let completion: Operation
| `- error: cannot find type 'Operation' in scope
195 |
196 | let pageLoadDescription: CLPageLoadDescription
/host/spi-builder-workspace/Sources/CollectionLoader/Private/Operation+Utils.swift:20:20: error: cannot find type 'Operation' in scope
18 |
19 |
20 | internal extension Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | func addDependencies<OperationCollection : Collection>(_ operations: OperationCollection) where OperationCollection.Element : Operation {
[18/40] Compiling BMO RemoteDb-Protocol.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:41:29: error: cannot find type 'OperationQueue' in scope
39 | The queue on which the loading operations are launched.
40 | There are no restrictions on the `maxConcurrentOperationCount` of the queue. */
41 | public let operationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
42 |
43 | public private(set) var nextPageInfo: PageInfo?
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:54:46: error: cannot find type 'OperationQueue' in scope
52 | }
53 |
54 | public init(helper: Helper, operationQueue: OperationQueue = OperationQueue()) {
| `- error: cannot find type 'OperationQueue' in scope
55 | self.helper = helper
56 | self.operationQueue = operationQueue
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:103:150: error: cannot find type 'Operation' in scope
101 | Only one page load at a time is allowed.
102 | When a loading operations is added to the queue, it is made dependent on the latest loading operation added. */
103 | public func load(pageLoadDescription: CLPageLoadDescription, concurrentLoadBehavior: ConcurrentLoadBehavior = .queue, customOperationDependencies: [Operation] = []) {
| `- error: cannot find type 'Operation' in scope
104 | /* We capture the delegate and the helper so we always get the same one for all the callbacks. */
105 | let helper = helper
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:192:19: error: cannot find type 'Operation' in scope
190 | private struct LoadingOperations {
191 |
192 | let prestart: Operation
| `- error: cannot find type 'Operation' in scope
193 | let loading: Operation
194 | let completion: Operation
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:193:19: error: cannot find type 'Operation' in scope
191 |
192 | let prestart: Operation
193 | let loading: Operation
| `- error: cannot find type 'Operation' in scope
194 | let completion: Operation
195 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:194:19: error: cannot find type 'Operation' in scope
192 | let prestart: Operation
193 | let loading: Operation
194 | let completion: Operation
| `- error: cannot find type 'Operation' in scope
195 |
196 | let pageLoadDescription: CLPageLoadDescription
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:80:59: error: cannot infer contextual base in reference to member 'cancelAllOther'
78 | public func loadInitialPage() {
79 | let pld = CLPageLoadDescription(loadedPage: helper.initialPageInfo(), loadingReason: .initialPage)
80 | load(pageLoadDescription: pld, concurrentLoadBehavior: .cancelAllOther)
| `- error: cannot infer contextual base in reference to member 'cancelAllOther'
81 | }
82 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:86:59: error: cannot infer contextual base in reference to member 'skipSameReason'
84 | guard let nextPageInfo else {return}
85 | let pld = CLPageLoadDescription(loadedPage: nextPageInfo, loadingReason: .nextPage)
86 | load(pageLoadDescription: pld, concurrentLoadBehavior: .skipSameReason)
| `- error: cannot infer contextual base in reference to member 'skipSameReason'
87 | }
88 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:92:59: error: cannot infer contextual base in reference to member 'skipSameReason'
90 | guard let previousPageInfo else {return}
91 | let pld = CLPageLoadDescription(loadedPage: previousPageInfo, loadingReason: .previousPage)
92 | load(pageLoadDescription: pld, concurrentLoadBehavior: .skipSameReason)
| `- error: cannot infer contextual base in reference to member 'skipSameReason'
93 | }
94 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:125:18: error: cannot find 'BlockOperation' in scope
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. */
| `- error: cannot find 'BlockOperation' in scope
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:20: error: cannot find 'BlockOperation' in scope
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. */
| `- error: cannot find 'BlockOperation' in scope
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:175:3: error: cannot find 'OperationQueue' in scope
173 |
174 | operationQueue.addOperations([operation], waitUntilFinished: false)
175 | OperationQueue.main.addOperations([prestart, completion], waitUntilFinished: false)
| `- error: cannot find 'OperationQueue' in scope
176 | }
177 |
[19/40] Compiling BMO Bridge-Protocol.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:41:29: error: cannot find type 'OperationQueue' in scope
39 | The queue on which the loading operations are launched.
40 | There are no restrictions on the `maxConcurrentOperationCount` of the queue. */
41 | public let operationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
42 |
43 | public private(set) var nextPageInfo: PageInfo?
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:54:46: error: cannot find type 'OperationQueue' in scope
52 | }
53 |
54 | public init(helper: Helper, operationQueue: OperationQueue = OperationQueue()) {
| `- error: cannot find type 'OperationQueue' in scope
55 | self.helper = helper
56 | self.operationQueue = operationQueue
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:103:150: error: cannot find type 'Operation' in scope
101 | Only one page load at a time is allowed.
102 | When a loading operations is added to the queue, it is made dependent on the latest loading operation added. */
103 | public func load(pageLoadDescription: CLPageLoadDescription, concurrentLoadBehavior: ConcurrentLoadBehavior = .queue, customOperationDependencies: [Operation] = []) {
| `- error: cannot find type 'Operation' in scope
104 | /* We capture the delegate and the helper so we always get the same one for all the callbacks. */
105 | let helper = helper
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:192:19: error: cannot find type 'Operation' in scope
190 | private struct LoadingOperations {
191 |
192 | let prestart: Operation
| `- error: cannot find type 'Operation' in scope
193 | let loading: Operation
194 | let completion: Operation
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:193:19: error: cannot find type 'Operation' in scope
191 |
192 | let prestart: Operation
193 | let loading: Operation
| `- error: cannot find type 'Operation' in scope
194 | let completion: Operation
195 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:194:19: error: cannot find type 'Operation' in scope
192 | let prestart: Operation
193 | let loading: Operation
194 | let completion: Operation
| `- error: cannot find type 'Operation' in scope
195 |
196 | let pageLoadDescription: CLPageLoadDescription
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:80:59: error: cannot infer contextual base in reference to member 'cancelAllOther'
78 | public func loadInitialPage() {
79 | let pld = CLPageLoadDescription(loadedPage: helper.initialPageInfo(), loadingReason: .initialPage)
80 | load(pageLoadDescription: pld, concurrentLoadBehavior: .cancelAllOther)
| `- error: cannot infer contextual base in reference to member 'cancelAllOther'
81 | }
82 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:86:59: error: cannot infer contextual base in reference to member 'skipSameReason'
84 | guard let nextPageInfo else {return}
85 | let pld = CLPageLoadDescription(loadedPage: nextPageInfo, loadingReason: .nextPage)
86 | load(pageLoadDescription: pld, concurrentLoadBehavior: .skipSameReason)
| `- error: cannot infer contextual base in reference to member 'skipSameReason'
87 | }
88 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:92:59: error: cannot infer contextual base in reference to member 'skipSameReason'
90 | guard let previousPageInfo else {return}
91 | let pld = CLPageLoadDescription(loadedPage: previousPageInfo, loadingReason: .previousPage)
92 | load(pageLoadDescription: pld, concurrentLoadBehavior: .skipSameReason)
| `- error: cannot infer contextual base in reference to member 'skipSameReason'
93 | }
94 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:125:18: error: cannot find 'BlockOperation' in scope
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. */
| `- error: cannot find 'BlockOperation' in scope
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:20: error: cannot find 'BlockOperation' in scope
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. */
| `- error: cannot find 'BlockOperation' in scope
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:175:3: error: cannot find 'OperationQueue' in scope
173 |
174 | operationQueue.addOperations([operation], waitUntilFinished: false)
175 | OperationQueue.main.addOperations([prestart, completion], waitUntilFinished: false)
| `- error: cannot find 'OperationQueue' in scope
176 | }
177 |
[20/40] Compiling CollectionLoader PageLoadReason.swift
[21/40] Compiling CollectionLoader BlockCollectionLoaderDelegate.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
/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
[22/40] Compiling CollectionLoader Operation+Utils.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Private/Operation+Utils.swift:20:20: error: cannot find type 'Operation' in scope
18 |
19 |
20 | internal extension Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | func addDependencies<OperationCollection : Collection>(_ operations: OperationCollection) where OperationCollection.Element : Operation {
/host/spi-builder-workspace/Sources/CollectionLoader/Private/Operation+Utils.swift:22:128: error: cannot find type 'Operation' in scope
20 | internal extension Operation {
21 |
22 | func addDependencies<OperationCollection : Collection>(_ operations: OperationCollection) where OperationCollection.Element : Operation {
| `- error: cannot find type 'Operation' in scope
23 | operations.forEach(addDependency(_:))
24 | }
[23/40] Compiling BMO Request.swift
[24/40] Compiling BMO RequestHelper-Protocol.swift
[25/40] Compiling BMO RequestResult.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
[26/40] Compiling BMO ErrorCollection.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
[27/40] Compiling BMO OperationLifecycleError.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:34:35: error: cannot find type 'OperationQueue' in scope
32 | public var helper: RequestHelperCollection /* When Swift’s runtime allows it, this will be an “any RequestHelperProtocol<Bridge.LocalDb.DbObject, Bridge.Metadata>” instead. */
33 |
34 | public var remoteOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
35 | public var computeOperationQueue: OperationQueue
36 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:35:36: error: cannot find type 'OperationQueue' in scope
33 |
34 | public var remoteOperationQueue: OperationQueue
35 | public var computeOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
36 |
37 | public var startedOnContext: Bool
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:124: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:163: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:60:23: error: method does not override any method from its superclass
58 | }
59 |
60 | public override func start() {
| `- error: method does not override any method from its superclass
61 | lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
62 | continueOperation(switchToContext: !startedOnContext, onContext_beginOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:65:23: error: method does not override any method from its superclass
63 | }
64 |
65 | public override func cancel() {
| `- error: method does not override any method from its superclass
66 | super.cancel()
67 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:73:22: error: property does not override any property from its superclass
71 | }
72 |
73 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
74 | return true
75 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:77:22: error: property does not override any property from its superclass
75 | }
76 |
77 | public override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
78 | return isExecuting(with: result)
79 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:81:22: error: property does not override any property from its superclass
79 | }
80 |
81 | public override var isFinished: Bool {
| `- error: property does not override any property from its superclass
82 | return isFinished(with: result)
83 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:108:37: error: cannot find 'didChangeValue' in scope
106 | let newExecuting = isExecuting(with: _result)
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
110 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:109:37: error: cannot find 'didChangeValue' in scope
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:22:64: error: cannot find type 'Operation' in scope
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:66:3: error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
64 |
65 | public override func cancel() {
66 | super.cancel()
| `- error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
67 |
68 | /* We cannot override a method from a generic objc class in an extension, so we call a dedicated method…
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:99:37: error: cannot find 'willChangeValue' in scope
97 | let newExecuting = isExecuting(with: newValue)
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'willChangeValue' in scope
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
101 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:100:37: error: cannot find 'willChangeValue' in scope
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
| `- error: cannot find 'willChangeValue' in scope
101 | }
102 | didSet {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:174:30: error: cannot find 'BlockOperation' in scope
172 | }
173 | remoteOperation = operation
174 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
175 | self.remoteOperation = nil
176 | return self.continueOperation(finishedRemoteOperation: operation, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:208:30: error: cannot find 'BlockOperation' in scope
206 | )
207 | importOperation = operation
208 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
209 | self.importOperation = nil
210 | return self.continueOperation(finishedImportOperation: operation, finishedRemoteOperation: finishedRemoteOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:241:10: error: cannot find 'isCancelled' in scope
239 |
240 | func throwIfCancelled() throws {
241 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
242 | throw OperationLifecycleError.cancelled
243 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:247:20: error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
245 |
246 | func doCancellation() {
247 | remoteOperation?.cancel()
| `- error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
248 | importOperation?.cancel()
249 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:34:35: error: cannot find type 'OperationQueue' in scope
32 | public var helper: RequestHelperCollection /* When Swift’s runtime allows it, this will be an “any RequestHelperProtocol<Bridge.LocalDb.DbObject, Bridge.Metadata>” instead. */
33 |
34 | public var remoteOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
35 | public var computeOperationQueue: OperationQueue
36 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:35:36: error: cannot find type 'OperationQueue' in scope
33 |
34 | public var remoteOperationQueue: OperationQueue
35 | public var computeOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
36 |
37 | public var startedOnContext: Bool
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:124: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:163: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:60:23: error: method does not override any method from its superclass
58 | }
59 |
60 | public override func start() {
| `- error: method does not override any method from its superclass
61 | lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
62 | continueOperation(switchToContext: !startedOnContext, onContext_beginOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:65:23: error: method does not override any method from its superclass
63 | }
64 |
65 | public override func cancel() {
| `- error: method does not override any method from its superclass
66 | super.cancel()
67 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:73:22: error: property does not override any property from its superclass
71 | }
72 |
73 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
74 | return true
75 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:77:22: error: property does not override any property from its superclass
75 | }
76 |
77 | public override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
78 | return isExecuting(with: result)
79 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:81:22: error: property does not override any property from its superclass
79 | }
80 |
81 | public override var isFinished: Bool {
| `- error: property does not override any property from its superclass
82 | return isFinished(with: result)
83 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:108:37: error: cannot find 'didChangeValue' in scope
106 | let newExecuting = isExecuting(with: _result)
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
110 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:109:37: error: cannot find 'didChangeValue' in scope
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:22:64: error: cannot find type 'Operation' in scope
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:66:3: error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
64 |
65 | public override func cancel() {
66 | super.cancel()
| `- error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
67 |
68 | /* We cannot override a method from a generic objc class in an extension, so we call a dedicated method…
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:99:37: error: cannot find 'willChangeValue' in scope
97 | let newExecuting = isExecuting(with: newValue)
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'willChangeValue' in scope
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
101 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:100:37: error: cannot find 'willChangeValue' in scope
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
| `- error: cannot find 'willChangeValue' in scope
101 | }
102 | didSet {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:174:30: error: cannot find 'BlockOperation' in scope
172 | }
173 | remoteOperation = operation
174 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
175 | self.remoteOperation = nil
176 | return self.continueOperation(finishedRemoteOperation: operation, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:208:30: error: cannot find 'BlockOperation' in scope
206 | )
207 | importOperation = operation
208 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
209 | self.importOperation = nil
210 | return self.continueOperation(finishedImportOperation: operation, finishedRemoteOperation: finishedRemoteOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:241:10: error: cannot find 'isCancelled' in scope
239 |
240 | func throwIfCancelled() throws {
241 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
242 | throw OperationLifecycleError.cancelled
243 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:247:20: error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
245 |
246 | func doCancellation() {
247 | remoteOperation?.cancel()
| `- error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
248 | importOperation?.cancel()
249 | }
[30/40] Compiling BMO RequestOperation.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:34:35: error: cannot find type 'OperationQueue' in scope
32 | public var helper: RequestHelperCollection /* When Swift’s runtime allows it, this will be an “any RequestHelperProtocol<Bridge.LocalDb.DbObject, Bridge.Metadata>” instead. */
33 |
34 | public var remoteOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
35 | public var computeOperationQueue: OperationQueue
36 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:35:36: error: cannot find type 'OperationQueue' in scope
33 |
34 | public var remoteOperationQueue: OperationQueue
35 | public var computeOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
36 |
37 | public var startedOnContext: Bool
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:124: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:163: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:60:23: error: method does not override any method from its superclass
58 | }
59 |
60 | public override func start() {
| `- error: method does not override any method from its superclass
61 | lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
62 | continueOperation(switchToContext: !startedOnContext, onContext_beginOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:65:23: error: method does not override any method from its superclass
63 | }
64 |
65 | public override func cancel() {
| `- error: method does not override any method from its superclass
66 | super.cancel()
67 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:73:22: error: property does not override any property from its superclass
71 | }
72 |
73 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
74 | return true
75 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:77:22: error: property does not override any property from its superclass
75 | }
76 |
77 | public override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
78 | return isExecuting(with: result)
79 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:81:22: error: property does not override any property from its superclass
79 | }
80 |
81 | public override var isFinished: Bool {
| `- error: property does not override any property from its superclass
82 | return isFinished(with: result)
83 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:108:37: error: cannot find 'didChangeValue' in scope
106 | let newExecuting = isExecuting(with: _result)
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
110 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:109:37: error: cannot find 'didChangeValue' in scope
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:22:64: error: cannot find type 'Operation' in scope
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:66:3: error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
64 |
65 | public override func cancel() {
66 | super.cancel()
| `- error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
67 |
68 | /* We cannot override a method from a generic objc class in an extension, so we call a dedicated method…
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:99:37: error: cannot find 'willChangeValue' in scope
97 | let newExecuting = isExecuting(with: newValue)
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'willChangeValue' in scope
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
101 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:100:37: error: cannot find 'willChangeValue' in scope
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
| `- error: cannot find 'willChangeValue' in scope
101 | }
102 | didSet {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:174:30: error: cannot find 'BlockOperation' in scope
172 | }
173 | remoteOperation = operation
174 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
175 | self.remoteOperation = nil
176 | return self.continueOperation(finishedRemoteOperation: operation, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:208:30: error: cannot find 'BlockOperation' in scope
206 | )
207 | importOperation = operation
208 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
209 | self.importOperation = nil
210 | return self.continueOperation(finishedImportOperation: operation, finishedRemoteOperation: finishedRemoteOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:241:10: error: cannot find 'isCancelled' in scope
239 |
240 | func throwIfCancelled() throws {
241 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
242 | throw OperationLifecycleError.cancelled
243 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:247:20: error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
245 |
246 | func doCancellation() {
247 | remoteOperation?.cancel()
| `- error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
248 | importOperation?.cancel()
249 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/40] Emitting module BMO
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | public override func main() {
| `- error: method does not override any method from its superclass
89 | result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress))
90 | result = { /* When possible (SE-0380), assign result directly to the switch if it’s more beautiful. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:104:23: error: method does not override any method from its superclass
102 | }
103 |
104 | public override func cancel() {
| `- error: method does not override any method from its superclass
105 | super.cancel()
106 | /*nop*/
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:109:22: error: property does not override any property from its superclass
107 | }
108 |
109 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
110 | return false
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:20:70: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | public enum Request {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:34:35: error: cannot find type 'OperationQueue' in scope
32 | public var helper: RequestHelperCollection /* When Swift’s runtime allows it, this will be an “any RequestHelperProtocol<Bridge.LocalDb.DbObject, Bridge.Metadata>” instead. */
33 |
34 | public var remoteOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
35 | public var computeOperationQueue: OperationQueue
36 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:35:36: error: cannot find type 'OperationQueue' in scope
33 |
34 | public var remoteOperationQueue: OperationQueue
35 | public var computeOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
36 |
37 | public var startedOnContext: Bool
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:124: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:163: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:60:23: error: method does not override any method from its superclass
58 | }
59 |
60 | public override func start() {
| `- error: method does not override any method from its superclass
61 | lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
62 | continueOperation(switchToContext: !startedOnContext, onContext_beginOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:65:23: error: method does not override any method from its superclass
63 | }
64 |
65 | public override func cancel() {
| `- error: method does not override any method from its superclass
66 | super.cancel()
67 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:73:22: error: property does not override any property from its superclass
71 | }
72 |
73 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
74 | return true
75 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:77:22: error: property does not override any property from its superclass
75 | }
76 |
77 | public override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
78 | return isExecuting(with: result)
79 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:81:22: error: property does not override any property from its superclass
79 | }
80 |
81 | public override var isFinished: Bool {
| `- error: property does not override any property from its superclass
82 | return isFinished(with: result)
83 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:108:37: error: cannot find 'didChangeValue' in scope
106 | let newExecuting = isExecuting(with: _result)
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
110 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:109:37: error: cannot find 'didChangeValue' in scope
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:22:64: error: cannot find type 'Operation' in scope
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | public override func main() {
| `- error: method does not override any method from its superclass
89 | result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress))
90 | result = { /* When possible (SE-0380), assign result directly to the switch if it’s more beautiful. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:104:23: error: method does not override any method from its superclass
102 | }
103 |
104 | public override func cancel() {
| `- error: method does not override any method from its superclass
105 | super.cancel()
106 | /*nop*/
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:109:22: error: property does not override any property from its superclass
107 | }
108 |
109 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
110 | return false
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:20:70: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | public enum Request {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:105:3: error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
103 |
104 | public override func cancel() {
105 | super.cancel()
| `- error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
106 | /*nop*/
107 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:121:10: error: cannot find 'isCancelled' in scope
119 |
120 | private func throwIfCancelled() throws {
121 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
122 | throw OperationLifecycleError.cancelled
123 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | public override func main() {
| `- error: method does not override any method from its superclass
89 | result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress))
90 | result = { /* When possible (SE-0380), assign result directly to the switch if it’s more beautiful. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:104:23: error: method does not override any method from its superclass
102 | }
103 |
104 | public override func cancel() {
| `- error: method does not override any method from its superclass
105 | super.cancel()
106 | /*nop*/
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:109:22: error: property does not override any property from its superclass
107 | }
108 |
109 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
110 | return false
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:20:70: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | public enum Request {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:105:3: error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
103 |
104 | public override func cancel() {
105 | super.cancel()
| `- error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
106 | /*nop*/
107 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:121:10: error: cannot find 'isCancelled' in scope
119 |
120 | private func throwIfCancelled() throws {
121 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
122 | throw OperationLifecycleError.cancelled
123 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | public override func main() {
| `- error: method does not override any method from its superclass
89 | result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress))
90 | result = { /* When possible (SE-0380), assign result directly to the switch if it’s more beautiful. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:104:23: error: method does not override any method from its superclass
102 | }
103 |
104 | public override func cancel() {
| `- error: method does not override any method from its superclass
105 | super.cancel()
106 | /*nop*/
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:109:22: error: property does not override any property from its superclass
107 | }
108 |
109 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
110 | return false
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:20:70: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | public enum Request {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:105:3: error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
103 |
104 | public override func cancel() {
105 | super.cancel()
| `- error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
106 | /*nop*/
107 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:121:10: error: cannot find 'isCancelled' in scope
119 |
120 | private func throwIfCancelled() throws {
121 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
122 | throw OperationLifecycleError.cancelled
123 | }
[38/40] Compiling CollectionLoader PageLoadDescription.Reason+Utils.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/33] Compiling CollectionLoader Operation+Utils.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Private/Operation+Utils.swift:20:20: error: cannot find type 'Operation' in scope
18 |
19 |
20 | internal extension Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | func addDependencies<OperationCollection : Collection>(_ operations: OperationCollection) where OperationCollection.Element : Operation {
/host/spi-builder-workspace/Sources/CollectionLoader/Private/Operation+Utils.swift:22:128: error: cannot find type 'Operation' in scope
20 | internal extension Operation {
21 |
22 | func addDependencies<OperationCollection : Collection>(_ operations: OperationCollection) where OperationCollection.Element : Operation {
| `- error: cannot find type 'Operation' in scope
23 | operations.forEach(addDependency(_:))
24 | }
[3/34] Compiling BMO Bridge-Protocol.swift
[4/34] Compiling BMO BridgeObjects-Protocol.swift
[5/34] Compiling BMO LocalDb-Protocol.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
[6/34] Compiling BMO Result+Utils.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/34] Emitting module BMO
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | public override func main() {
| `- error: method does not override any method from its superclass
89 | result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress))
90 | result = { /* When possible (SE-0380), assign result directly to the switch if it’s more beautiful. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:104:23: error: method does not override any method from its superclass
102 | }
103 |
104 | public override func cancel() {
| `- error: method does not override any method from its superclass
105 | super.cancel()
106 | /*nop*/
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:109:22: error: property does not override any property from its superclass
107 | }
108 |
109 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
110 | return false
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:20:70: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | public enum Request {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:34:35: error: cannot find type 'OperationQueue' in scope
32 | public var helper: RequestHelperCollection /* When Swift’s runtime allows it, this will be an “any RequestHelperProtocol<Bridge.LocalDb.DbObject, Bridge.Metadata>” instead. */
33 |
34 | public var remoteOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
35 | public var computeOperationQueue: OperationQueue
36 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:35:36: error: cannot find type 'OperationQueue' in scope
33 |
34 | public var remoteOperationQueue: OperationQueue
35 | public var computeOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
36 |
37 | public var startedOnContext: Bool
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:124: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:163: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:60:23: error: method does not override any method from its superclass
58 | }
59 |
60 | public override func start() {
| `- error: method does not override any method from its superclass
61 | lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
62 | continueOperation(switchToContext: !startedOnContext, onContext_beginOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:65:23: error: method does not override any method from its superclass
63 | }
64 |
65 | public override func cancel() {
| `- error: method does not override any method from its superclass
66 | super.cancel()
67 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:73:22: error: property does not override any property from its superclass
71 | }
72 |
73 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
74 | return true
75 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:77:22: error: property does not override any property from its superclass
75 | }
76 |
77 | public override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
78 | return isExecuting(with: result)
79 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:81:22: error: property does not override any property from its superclass
79 | }
80 |
81 | public override var isFinished: Bool {
| `- error: property does not override any property from its superclass
82 | return isFinished(with: result)
83 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:108:37: error: cannot find 'didChangeValue' in scope
106 | let newExecuting = isExecuting(with: _result)
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
110 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:109:37: error: cannot find 'didChangeValue' in scope
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:22:64: error: cannot find type 'Operation' in scope
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/36] Emitting module CollectionLoader
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:41:29: error: cannot find type 'OperationQueue' in scope
39 | The queue on which the loading operations are launched.
40 | There are no restrictions on the `maxConcurrentOperationCount` of the queue. */
41 | public let operationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
42 |
43 | public private(set) var nextPageInfo: PageInfo?
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:54:46: error: cannot find type 'OperationQueue' in scope
52 | }
53 |
54 | public init(helper: Helper, operationQueue: OperationQueue = OperationQueue()) {
| `- error: cannot find type 'OperationQueue' in scope
55 | self.helper = helper
56 | self.operationQueue = operationQueue
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:103:150: error: cannot find type 'Operation' in scope
101 | Only one page load at a time is allowed.
102 | When a loading operations is added to the queue, it is made dependent on the latest loading operation added. */
103 | public func load(pageLoadDescription: CLPageLoadDescription, concurrentLoadBehavior: ConcurrentLoadBehavior = .queue, customOperationDependencies: [Operation] = []) {
| `- error: cannot find type 'Operation' in scope
104 | /* We capture the delegate and the helper so we always get the same one for all the callbacks. */
105 | let helper = helper
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:192:19: error: cannot find type 'Operation' in scope
190 | private struct LoadingOperations {
191 |
192 | let prestart: Operation
| `- error: cannot find type 'Operation' in scope
193 | let loading: Operation
194 | let completion: Operation
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:193:19: error: cannot find type 'Operation' in scope
191 |
192 | let prestart: Operation
193 | let loading: Operation
| `- error: cannot find type 'Operation' in scope
194 | let completion: Operation
195 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:194:19: error: cannot find type 'Operation' in scope
192 | let prestart: Operation
193 | let loading: Operation
194 | let completion: Operation
| `- error: cannot find type 'Operation' in scope
195 |
196 | let pageLoadDescription: CLPageLoadDescription
/host/spi-builder-workspace/Sources/CollectionLoader/Private/Operation+Utils.swift:20:20: error: cannot find type 'Operation' in scope
18 |
19 |
20 | internal extension Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | func addDependencies<OperationCollection : Collection>(_ operations: OperationCollection) where OperationCollection.Element : Operation {
[9/36] Compiling CollectionLoader BlockCollectionLoaderDelegate.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
[10/36] Compiling CollectionLoader PageLoadReason.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
[14/36] Compiling BMO RelationshipMergeType.swift
[15/36] Compiling CollectionLoader LoadingOperationDelegate.swift
[17/36] Compiling BMO DummyRequestHelper.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:41:29: error: cannot find type 'OperationQueue' in scope
39 | The queue on which the loading operations are launched.
40 | There are no restrictions on the `maxConcurrentOperationCount` of the queue. */
41 | public let operationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
42 |
43 | public private(set) var nextPageInfo: PageInfo?
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:54:46: error: cannot find type 'OperationQueue' in scope
52 | }
53 |
54 | public init(helper: Helper, operationQueue: OperationQueue = OperationQueue()) {
| `- error: cannot find type 'OperationQueue' in scope
55 | self.helper = helper
56 | self.operationQueue = operationQueue
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:103:150: error: cannot find type 'Operation' in scope
101 | Only one page load at a time is allowed.
102 | When a loading operations is added to the queue, it is made dependent on the latest loading operation added. */
103 | public func load(pageLoadDescription: CLPageLoadDescription, concurrentLoadBehavior: ConcurrentLoadBehavior = .queue, customOperationDependencies: [Operation] = []) {
| `- error: cannot find type 'Operation' in scope
104 | /* We capture the delegate and the helper so we always get the same one for all the callbacks. */
105 | let helper = helper
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:192:19: error: cannot find type 'Operation' in scope
190 | private struct LoadingOperations {
191 |
192 | let prestart: Operation
| `- error: cannot find type 'Operation' in scope
193 | let loading: Operation
194 | let completion: Operation
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:193:19: error: cannot find type 'Operation' in scope
191 |
192 | let prestart: Operation
193 | let loading: Operation
| `- error: cannot find type 'Operation' in scope
194 | let completion: Operation
195 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:194:19: error: cannot find type 'Operation' in scope
192 | let prestart: Operation
193 | let loading: Operation
194 | let completion: Operation
| `- error: cannot find type 'Operation' in scope
195 |
196 | let pageLoadDescription: CLPageLoadDescription
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:80:59: error: cannot infer contextual base in reference to member 'cancelAllOther'
78 | public func loadInitialPage() {
79 | let pld = CLPageLoadDescription(loadedPage: helper.initialPageInfo(), loadingReason: .initialPage)
80 | load(pageLoadDescription: pld, concurrentLoadBehavior: .cancelAllOther)
| `- error: cannot infer contextual base in reference to member 'cancelAllOther'
81 | }
82 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:86:59: error: cannot infer contextual base in reference to member 'skipSameReason'
84 | guard let nextPageInfo else {return}
85 | let pld = CLPageLoadDescription(loadedPage: nextPageInfo, loadingReason: .nextPage)
86 | load(pageLoadDescription: pld, concurrentLoadBehavior: .skipSameReason)
| `- error: cannot infer contextual base in reference to member 'skipSameReason'
87 | }
88 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:92:59: error: cannot infer contextual base in reference to member 'skipSameReason'
90 | guard let previousPageInfo else {return}
91 | let pld = CLPageLoadDescription(loadedPage: previousPageInfo, loadingReason: .previousPage)
92 | load(pageLoadDescription: pld, concurrentLoadBehavior: .skipSameReason)
| `- error: cannot infer contextual base in reference to member 'skipSameReason'
93 | }
94 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:125:18: error: cannot find 'BlockOperation' in scope
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. */
| `- error: cannot find 'BlockOperation' in scope
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:20: error: cannot find 'BlockOperation' in scope
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. */
| `- error: cannot find 'BlockOperation' in scope
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:175:3: error: cannot find 'OperationQueue' in scope
173 |
174 | operationQueue.addOperations([operation], waitUntilFinished: false)
175 | OperationQueue.main.addOperations([prestart, completion], waitUntilFinished: false)
| `- error: cannot find 'OperationQueue' in scope
176 | }
177 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:41:29: error: cannot find type 'OperationQueue' in scope
39 | The queue on which the loading operations are launched.
40 | There are no restrictions on the `maxConcurrentOperationCount` of the queue. */
41 | public let operationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
42 |
43 | public private(set) var nextPageInfo: PageInfo?
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:54:46: error: cannot find type 'OperationQueue' in scope
52 | }
53 |
54 | public init(helper: Helper, operationQueue: OperationQueue = OperationQueue()) {
| `- error: cannot find type 'OperationQueue' in scope
55 | self.helper = helper
56 | self.operationQueue = operationQueue
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:103:150: error: cannot find type 'Operation' in scope
101 | Only one page load at a time is allowed.
102 | When a loading operations is added to the queue, it is made dependent on the latest loading operation added. */
103 | public func load(pageLoadDescription: CLPageLoadDescription, concurrentLoadBehavior: ConcurrentLoadBehavior = .queue, customOperationDependencies: [Operation] = []) {
| `- error: cannot find type 'Operation' in scope
104 | /* We capture the delegate and the helper so we always get the same one for all the callbacks. */
105 | let helper = helper
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:192:19: error: cannot find type 'Operation' in scope
190 | private struct LoadingOperations {
191 |
192 | let prestart: Operation
| `- error: cannot find type 'Operation' in scope
193 | let loading: Operation
194 | let completion: Operation
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:193:19: error: cannot find type 'Operation' in scope
191 |
192 | let prestart: Operation
193 | let loading: Operation
| `- error: cannot find type 'Operation' in scope
194 | let completion: Operation
195 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:194:19: error: cannot find type 'Operation' in scope
192 | let prestart: Operation
193 | let loading: Operation
194 | let completion: Operation
| `- error: cannot find type 'Operation' in scope
195 |
196 | let pageLoadDescription: CLPageLoadDescription
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:80:59: error: cannot infer contextual base in reference to member 'cancelAllOther'
78 | public func loadInitialPage() {
79 | let pld = CLPageLoadDescription(loadedPage: helper.initialPageInfo(), loadingReason: .initialPage)
80 | load(pageLoadDescription: pld, concurrentLoadBehavior: .cancelAllOther)
| `- error: cannot infer contextual base in reference to member 'cancelAllOther'
81 | }
82 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:86:59: error: cannot infer contextual base in reference to member 'skipSameReason'
84 | guard let nextPageInfo else {return}
85 | let pld = CLPageLoadDescription(loadedPage: nextPageInfo, loadingReason: .nextPage)
86 | load(pageLoadDescription: pld, concurrentLoadBehavior: .skipSameReason)
| `- error: cannot infer contextual base in reference to member 'skipSameReason'
87 | }
88 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:92:59: error: cannot infer contextual base in reference to member 'skipSameReason'
90 | guard let previousPageInfo else {return}
91 | let pld = CLPageLoadDescription(loadedPage: previousPageInfo, loadingReason: .previousPage)
92 | load(pageLoadDescription: pld, concurrentLoadBehavior: .skipSameReason)
| `- error: cannot infer contextual base in reference to member 'skipSameReason'
93 | }
94 |
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoader.swift:125:18: error: cannot find 'BlockOperation' in scope
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. */
| `- error: cannot find 'BlockOperation' in scope
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:20: error: cannot find 'BlockOperation' in scope
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. */
| `- error: cannot find 'BlockOperation' in scope
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:175:3: error: cannot find 'OperationQueue' in scope
173 |
174 | operationQueue.addOperations([operation], waitUntilFinished: false)
175 | OperationQueue.main.addOperations([prestart, completion], waitUntilFinished: false)
| `- error: cannot find 'OperationQueue' in scope
176 | }
177 |
[21/36] Compiling CollectionLoader PageLoadDescription.swift
[22/36] Compiling BMO LocalDbImportOperation.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | public override func main() {
| `- error: method does not override any method from its superclass
89 | result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress))
90 | result = { /* When possible (SE-0380), assign result directly to the switch if it’s more beautiful. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:104:23: error: method does not override any method from its superclass
102 | }
103 |
104 | public override func cancel() {
| `- error: method does not override any method from its superclass
105 | super.cancel()
106 | /*nop*/
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:109:22: error: property does not override any property from its superclass
107 | }
108 |
109 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
110 | return false
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:20:70: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | public enum Request {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:105:3: error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
103 |
104 | public override func cancel() {
105 | super.cancel()
| `- error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
106 | /*nop*/
107 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:121:10: error: cannot find 'isCancelled' in scope
119 |
120 | private func throwIfCancelled() throws {
121 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
122 | throw OperationLifecycleError.cancelled
123 | }
[23/36] Compiling BMO LocalDbImporter-Protocol.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | public override func main() {
| `- error: method does not override any method from its superclass
89 | result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress))
90 | result = { /* When possible (SE-0380), assign result directly to the switch if it’s more beautiful. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:104:23: error: method does not override any method from its superclass
102 | }
103 |
104 | public override func cancel() {
| `- error: method does not override any method from its superclass
105 | super.cancel()
106 | /*nop*/
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:109:22: error: property does not override any property from its superclass
107 | }
108 |
109 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
110 | return false
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:20:70: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | public enum Request {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:105:3: error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
103 |
104 | public override func cancel() {
105 | super.cancel()
| `- error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
106 | /*nop*/
107 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:121:10: error: cannot find 'isCancelled' in scope
119 |
120 | private func throwIfCancelled() throws {
121 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
122 | throw OperationLifecycleError.cancelled
123 | }
[24/36] Compiling BMO RemoteDb-Protocol.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:88:23: error: method does not override any method from its superclass
86 | }
87 |
88 | public override func main() {
| `- error: method does not override any method from its superclass
89 | result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress))
90 | result = { /* When possible (SE-0380), assign result directly to the switch if it’s more beautiful. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:104:23: error: method does not override any method from its superclass
102 | }
103 |
104 | public override func cancel() {
| `- error: method does not override any method from its superclass
105 | super.cancel()
106 | /*nop*/
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:109:22: error: property does not override any property from its superclass
107 | }
108 |
109 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
110 | return false
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:20:70: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public final class LocalDbImportOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | public enum Request {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:105:3: error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
103 |
104 | public override func cancel() {
105 | super.cancel()
| `- error: 'super' cannot be used in class 'LocalDbImportOperation' because it has no superclass
106 | /*nop*/
107 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/LocalDbImportOperation.swift:121:10: error: cannot find 'isCancelled' in scope
119 |
120 | private func throwIfCancelled() throws {
121 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
122 | throw OperationLifecycleError.cancelled
123 | }
[25/36] Compiling CollectionLoader PageLoadDescription.Reason+Utils.swift
/host/spi-builder-workspace/Sources/CollectionLoader/Core/CollectionLoaderHelper-Protocol.swift:31:36: error: cannot find type 'Operation' in scope
29 | the helper will be asked for the results from a finished operation.
30 | The associatedtype make the helper sure the operation will be of the expected type. */
31 | associatedtype LoadingOperation : Operation
| `- error: cannot find type 'Operation' in scope
32 |
33 | /** The successful results from a finished loading operation, from inside the db context. */
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
[27/36] Compiling BMO GenericLocalDbObject.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
[28/36] Compiling BMO LocalDbChanges.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
[29/36] Compiling BMO RequestResult.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
[30/36] Compiling BMO ErrorCollection.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
[31/36] Compiling BMO OperationLifecycleError.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
[32/36] Compiling BMO Request.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:34:35: error: cannot find type 'OperationQueue' in scope
32 | public var helper: RequestHelperCollection /* When Swift’s runtime allows it, this will be an “any RequestHelperProtocol<Bridge.LocalDb.DbObject, Bridge.Metadata>” instead. */
33 |
34 | public var remoteOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
35 | public var computeOperationQueue: OperationQueue
36 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:35:36: error: cannot find type 'OperationQueue' in scope
33 |
34 | public var remoteOperationQueue: OperationQueue
35 | public var computeOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
36 |
37 | public var startedOnContext: Bool
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:124: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:163: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:60:23: error: method does not override any method from its superclass
58 | }
59 |
60 | public override func start() {
| `- error: method does not override any method from its superclass
61 | lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
62 | continueOperation(switchToContext: !startedOnContext, onContext_beginOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:65:23: error: method does not override any method from its superclass
63 | }
64 |
65 | public override func cancel() {
| `- error: method does not override any method from its superclass
66 | super.cancel()
67 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:73:22: error: property does not override any property from its superclass
71 | }
72 |
73 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
74 | return true
75 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:77:22: error: property does not override any property from its superclass
75 | }
76 |
77 | public override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
78 | return isExecuting(with: result)
79 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:81:22: error: property does not override any property from its superclass
79 | }
80 |
81 | public override var isFinished: Bool {
| `- error: property does not override any property from its superclass
82 | return isFinished(with: result)
83 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:108:37: error: cannot find 'didChangeValue' in scope
106 | let newExecuting = isExecuting(with: _result)
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
110 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:109:37: error: cannot find 'didChangeValue' in scope
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:22:64: error: cannot find type 'Operation' in scope
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:66:3: error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
64 |
65 | public override func cancel() {
66 | super.cancel()
| `- error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
67 |
68 | /* We cannot override a method from a generic objc class in an extension, so we call a dedicated method…
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:99:37: error: cannot find 'willChangeValue' in scope
97 | let newExecuting = isExecuting(with: newValue)
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'willChangeValue' in scope
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
101 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:100:37: error: cannot find 'willChangeValue' in scope
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
| `- error: cannot find 'willChangeValue' in scope
101 | }
102 | didSet {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:174:30: error: cannot find 'BlockOperation' in scope
172 | }
173 | remoteOperation = operation
174 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
175 | self.remoteOperation = nil
176 | return self.continueOperation(finishedRemoteOperation: operation, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:208:30: error: cannot find 'BlockOperation' in scope
206 | )
207 | importOperation = operation
208 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
209 | self.importOperation = nil
210 | return self.continueOperation(finishedImportOperation: operation, finishedRemoteOperation: finishedRemoteOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:241:10: error: cannot find 'isCancelled' in scope
239 |
240 | func throwIfCancelled() throws {
241 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
242 | throw OperationLifecycleError.cancelled
243 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:247:20: error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
245 |
246 | func doCancellation() {
247 | remoteOperation?.cancel()
| `- error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
248 | importOperation?.cancel()
249 | }
[33/36] Compiling BMO RequestHelper-Protocol.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:34:35: error: cannot find type 'OperationQueue' in scope
32 | public var helper: RequestHelperCollection /* When Swift’s runtime allows it, this will be an “any RequestHelperProtocol<Bridge.LocalDb.DbObject, Bridge.Metadata>” instead. */
33 |
34 | public var remoteOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
35 | public var computeOperationQueue: OperationQueue
36 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:35:36: error: cannot find type 'OperationQueue' in scope
33 |
34 | public var remoteOperationQueue: OperationQueue
35 | public var computeOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
36 |
37 | public var startedOnContext: Bool
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:124: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:163: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:60:23: error: method does not override any method from its superclass
58 | }
59 |
60 | public override func start() {
| `- error: method does not override any method from its superclass
61 | lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
62 | continueOperation(switchToContext: !startedOnContext, onContext_beginOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:65:23: error: method does not override any method from its superclass
63 | }
64 |
65 | public override func cancel() {
| `- error: method does not override any method from its superclass
66 | super.cancel()
67 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:73:22: error: property does not override any property from its superclass
71 | }
72 |
73 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
74 | return true
75 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:77:22: error: property does not override any property from its superclass
75 | }
76 |
77 | public override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
78 | return isExecuting(with: result)
79 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:81:22: error: property does not override any property from its superclass
79 | }
80 |
81 | public override var isFinished: Bool {
| `- error: property does not override any property from its superclass
82 | return isFinished(with: result)
83 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:108:37: error: cannot find 'didChangeValue' in scope
106 | let newExecuting = isExecuting(with: _result)
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
110 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:109:37: error: cannot find 'didChangeValue' in scope
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:22:64: error: cannot find type 'Operation' in scope
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:66:3: error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
64 |
65 | public override func cancel() {
66 | super.cancel()
| `- error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
67 |
68 | /* We cannot override a method from a generic objc class in an extension, so we call a dedicated method…
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:99:37: error: cannot find 'willChangeValue' in scope
97 | let newExecuting = isExecuting(with: newValue)
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'willChangeValue' in scope
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
101 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:100:37: error: cannot find 'willChangeValue' in scope
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
| `- error: cannot find 'willChangeValue' in scope
101 | }
102 | didSet {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:174:30: error: cannot find 'BlockOperation' in scope
172 | }
173 | remoteOperation = operation
174 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
175 | self.remoteOperation = nil
176 | return self.continueOperation(finishedRemoteOperation: operation, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:208:30: error: cannot find 'BlockOperation' in scope
206 | )
207 | importOperation = operation
208 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
209 | self.importOperation = nil
210 | return self.continueOperation(finishedImportOperation: operation, finishedRemoteOperation: finishedRemoteOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:241:10: error: cannot find 'isCancelled' in scope
239 |
240 | func throwIfCancelled() throws {
241 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
242 | throw OperationLifecycleError.cancelled
243 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:247:20: error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
245 |
246 | func doCancellation() {
247 | remoteOperation?.cancel()
| `- error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
248 | importOperation?.cancel()
249 | }
[34/36] Compiling BMO RequestOperation.swift
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RemoteDb-Protocol.swift:24:35: error: cannot find type 'Operation' in scope
22 | /**
23 | An operation to do something on the remote db. */
24 | associatedtype RemoteOperation : Operation & Sendable
| `- error: cannot find type 'Operation' in scope
25 |
26 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestResult.swift:20:45: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public enum RequestResult<RemoteOperation : Operation, LocalDbObject : LocalDbObjectProtocol, Metadata : Sendable> {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /**
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:34:35: error: cannot find type 'OperationQueue' in scope
32 | public var helper: RequestHelperCollection /* When Swift’s runtime allows it, this will be an “any RequestHelperProtocol<Bridge.LocalDb.DbObject, Bridge.Metadata>” instead. */
33 |
34 | public var remoteOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
35 | public var computeOperationQueue: OperationQueue
36 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:35:36: error: cannot find type 'OperationQueue' in scope
33 |
34 | public var remoteOperationQueue: OperationQueue
35 | public var computeOperationQueue: OperationQueue
| `- error: cannot find type 'OperationQueue' in scope
36 |
37 | public var startedOnContext: Bool
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:124: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:48:163: error: cannot find type 'OperationQueue' in scope
46 | - parameter additionalHelpers: A collection of helpers called in addition of the bridge helper.
47 | The additional helpers are called _before_ the bridge helper. */
48 | public init(bridge: Bridge, request: Request, additionalHelpers: RequestHelperCollection = .init(), remoteOperationQueue: OperationQueue, computeOperationQueue: OperationQueue, startedOnContext: Bool = false) {
| `- error: cannot find type 'OperationQueue' in scope
49 | self.bridge = bridge
50 | self.request = request
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:60:23: error: method does not override any method from its superclass
58 | }
59 |
60 | public override func start() {
| `- error: method does not override any method from its superclass
61 | lock.withLock{ _result = .failure(RequestError(failureStep: .none, lifecycleError: .inProgress)) }
62 | continueOperation(switchToContext: !startedOnContext, onContext_beginOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:65:23: error: method does not override any method from its superclass
63 | }
64 |
65 | public override func cancel() {
| `- error: method does not override any method from its superclass
66 | super.cancel()
67 |
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:73:22: error: property does not override any property from its superclass
71 | }
72 |
73 | public override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
74 | return true
75 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:77:22: error: property does not override any property from its superclass
75 | }
76 |
77 | public override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
78 | return isExecuting(with: result)
79 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:81:22: error: property does not override any property from its superclass
79 | }
80 |
81 | public override var isFinished: Bool {
| `- error: property does not override any property from its superclass
82 | return isFinished(with: result)
83 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:108:37: error: cannot find 'didChangeValue' in scope
106 | let newExecuting = isExecuting(with: _result)
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
110 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:109:37: error: cannot find 'didChangeValue' in scope
107 |
108 | if oldFinished != newFinished {didChangeValue(forKey: "isFinished")}
109 | if oldExecuting != newExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
110 | }
111 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:22:64: error: cannot find type 'Operation' in scope
20 | /* We’re not using RetryingOperation because it does not allow synchronous execution from start to startBaseOperation,
21 | * and we want clients to be able to call start synchronously to guarantee being called on the context. */
22 | public final class RequestOperation<Bridge : BridgeProtocol> : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | public typealias Request = BMO.Request<Bridge.LocalDb, Bridge.RequestUserInfo>
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:66:3: error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
64 |
65 | public override func cancel() {
66 | super.cancel()
| `- error: 'super' cannot be used in class 'RequestOperation' because it has no superclass
67 |
68 | /* We cannot override a method from a generic objc class in an extension, so we call a dedicated method…
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:99:37: error: cannot find 'willChangeValue' in scope
97 | let newExecuting = isExecuting(with: newValue)
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'willChangeValue' in scope
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
101 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:100:37: error: cannot find 'willChangeValue' in scope
98 |
99 | if oldExecuting != newExecuting {willChangeValue(forKey: "isExecuting")}
100 | if oldFinished != newFinished {willChangeValue(forKey: "isFinished")}
| `- error: cannot find 'willChangeValue' in scope
101 | }
102 | didSet {
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:174:30: error: cannot find 'BlockOperation' in scope
172 | }
173 | remoteOperation = operation
174 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
175 | self.remoteOperation = nil
176 | return self.continueOperation(finishedRemoteOperation: operation, userInfo: userInfo)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:208:30: error: cannot find 'BlockOperation' in scope
206 | )
207 | importOperation = operation
208 | let completionOperation = BlockOperation{ self.continueOperation{
| `- error: cannot find 'BlockOperation' in scope
209 | self.importOperation = nil
210 | return self.continueOperation(finishedImportOperation: operation, finishedRemoteOperation: finishedRemoteOperation)
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:241:10: error: cannot find 'isCancelled' in scope
239 |
240 | func throwIfCancelled() throws {
241 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
242 | throw OperationLifecycleError.cancelled
243 | }
/host/spi-builder-workspace/.build/checkouts/BMO/Sources/BMO/Core/RequestOperation.swift:247:20: error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
245 |
246 | func doCancellation() {
247 | remoteOperation?.cancel()
| `- error: value of type 'Bridge.BridgeObjects.RemoteDb.RemoteOperation' has no member 'cancel'
248 | importOperation?.cancel()
249 | }
BUILD FAILURE 6.1 wasm