Build Information
Failed to build OperationPlus, reference 1.6.0 (1340f9
), with Swift 6.1 for Wasm on 28 May 2025 18:32:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/ChimeHQ/OperationPlus.git
Reference: 1.6.0
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/ChimeHQ/OperationPlus
* tag 1.6.0 -> FETCH_HEAD
HEAD is now at 1340f95 availability annotation for tests
Cloned https://github.com/ChimeHQ/OperationPlus.git
Revision (git rev-parse @):
1340f95dce3e93d742497d88db18f8676f4badf4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/OperationPlus.git at 1.6.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ChimeHQ/OperationPlus.git
https://github.com/ChimeHQ/OperationPlus.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "OperationPlus",
"name" : "OperationPlus",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "OperationPlus",
"targets" : [
"OperationPlus"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OperationTestingPlus",
"targets" : [
"OperationTestingPlus"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "OperationTestingPlus",
"module_type" : "SwiftTarget",
"name" : "OperationTestingPlus",
"path" : "Sources/OperationTestingPlus",
"product_memberships" : [
"OperationTestingPlus"
],
"sources" : [
"FulfillExpectationOperation.swift",
"NeverFinishingOperation.swift",
"NeverFinishingProducerOperation.swift",
"OperationExpectation.swift"
],
"target_dependencies" : [
"OperationPlus"
],
"type" : "library"
},
{
"c99name" : "OperationPlusTests",
"module_type" : "SwiftTarget",
"name" : "OperationPlusTests",
"path" : "Tests/OperationPlusTests",
"sources" : [
"AsyncBlockOperationTests.swift",
"BaseOperationTests.swift",
"CombineTests.swift",
"OperationQueueTests.swift",
"ProducerConsumerTests.swift",
"TestHelpers.swift"
],
"target_dependencies" : [
"OperationPlus",
"OperationTestingPlus"
],
"type" : "test"
},
{
"c99name" : "OperationPlus",
"module_type" : "SwiftTarget",
"name" : "OperationPlus",
"path" : "Sources/OperationPlus",
"product_memberships" : [
"OperationPlus",
"OperationTestingPlus"
],
"sources" : [
"AsyncBlockConsumerOperation.swift",
"AsyncBlockConsumerProducerOperation.swift",
"AsyncBlockOperation.swift",
"AsyncBlockProducerOperation.swift",
"AsyncConsumerOperation.swift",
"AsyncConsumerProducerOperation.swift",
"AsyncOperation.swift",
"AsyncProducerOperation.swift",
"BaseOperation.swift",
"BaseOperationError.swift",
"BlockConsumerOperation.swift",
"BlockConsumerProducerOperation.swift",
"BlockProducerOperation.swift",
"ConsumerOperation.swift",
"ConsumerProducerOperation.swift",
"Extensions/Operation+Dependencies.swift",
"Extensions/OperationQueue+Creation.swift",
"Extensions/OperationQueue+Dependencies.swift",
"Extensions/OperationQueue+Emptied.swift",
"Extensions/OperationQueue+Enqueuing.swift",
"Extensions/OperationQueue+Preconditions.swift",
"Extensions/Publishers.swift",
"ProducerOperation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/25] Emitting module OperationPlus
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerOperation
12 | open class AsyncConsumerOperation<Input>: ConsumerOperation<Input> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerProducerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerProducerOperation
12 | open class AsyncConsumerProducerOperation<Input, Output>: ConsumerProducerOperation<Input, Output> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncOperation : BaseOperation {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncProducerOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncProducerOperation<Output> : ProducerOperation<Output> {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:36:23: error: property does not override any property from its superclass
34 | }
35 |
36 | override open var isExecuting: Bool {
| `- error: property does not override any property from its superclass
37 | lock.lock()
38 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:43:23: error: property does not override any property from its superclass
41 | }
42 |
43 | override open var isFinished: Bool {
| `- error: property does not override any property from its superclass
44 | lock.lock()
45 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:84:24: error: method does not override any method from its superclass
82 | }
83 |
84 | override open func start() {
| `- error: method does not override any method from its superclass
85 | beginExecution()
86 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:94:24: error: method does not override any method from its superclass
92 | }
93 |
94 | override open func main() {
| `- error: method does not override any method from its superclass
95 | // only really makes sense when subclassers override this
96 | finish()
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:11:28: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | open class BaseOperation : Operation {
| `- error: cannot find type 'Operation' in scope
12 | public enum State {
13 | case notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:113:31: error: cannot find type 'DispatchTime' in scope
111 |
112 | extension BaseOperation {
113 | private var deadlineTime: DispatchTime {
| `- error: cannot find type 'DispatchTime' in scope
114 | return DispatchTime.now() + .milliseconds(Int(timeoutInterval * 1000.0))
115 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:20:10: warning: associated value 'stateTransitionInvalid' of 'Sendable'-conforming enum 'BaseOperationError' has non-sendable type 'BaseOperation.State'; this is an error in the Swift 6 language mode
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
20 | case stateTransitionInvalid(BaseOperation.State)
| `- warning: associated value 'stateTransitionInvalid' of 'Sendable'-conforming enum 'BaseOperationError' has non-sendable type 'BaseOperation.State'; this is an error in the Swift 6 language mode
21 | case timedOut
22 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:12:17: note: consider making enum 'State' conform to the 'Sendable' protocol
10 |
11 | open class BaseOperation : Operation {
12 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
13 | case notStarted
14 | case running
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:24:1: error: type 'BaseOperationError' does not conform to protocol 'Equatable'
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaseOperationError' to 'Equatable'
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
22 | }
23 |
24 | extension BaseOperationError: Equatable {
| |- error: type 'BaseOperationError' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
25 | }
26 |
Swift.==:1:24: note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:11:11: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | extension Operation {
| `- error: cannot find type 'Operation' in scope
12 | public func addDependencies(_ dependencies: [Operation]) {
13 | for op in dependencies {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public convenience init(name: String, maxConcurrentOperations count: Int = OperationQueue.defaultMaxConcurrentOperationCount) {
13 | self.init()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:20:11: error: cannot find type 'OperationQueue' in scope
18 | }
19 |
20 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
21 | public static func serialQueue() -> OperationQueue {
22 | let queue = OperationQueue()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
13 | operation.addDependency(dependency)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 |
13 | /// Adds the specified operations to the queue.
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:36:11: error: cannot find type 'OperationQueue' in scope
34 | }
35 |
36 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
37 | /// Adds the specified operation to the queue after a delay.
38 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:63:11: error: cannot find type 'OperationQueue' in scope
61 |
62 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
63 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
64 | /// Adds the specified async operation to the queue.
65 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Preconditions.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public static func preconditionMain() {
13 | if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
[5/27] Compiling OperationPlus Publishers.swift
/host/spi-builder-workspace/Sources/OperationPlus/ProducerOperation.swift:42:48: error: cannot find 'isCancelled' in scope
40 | writeCacheBlock?(v)
41 |
42 | switch (outputCompletionBlockBehavior, isCancelled, isTimedOut) {
| `- error: cannot find 'isCancelled' in scope
43 | case (_, false, false):
44 | outputCompletionBlock?(v)
/host/spi-builder-workspace/Sources/OperationPlus/ProducerOperation.swift:72:48: error: cannot find 'isCancelled' in scope
70 | super.timedOut()
71 |
72 | switch (outputCompletionBlockBehavior, isCancelled, isTimedOut) {
| `- error: cannot find 'isCancelled' in scope
73 | case (.onTimeOut(let v), _, true):
74 | self.value = v
[6/27] Compiling OperationPlus ProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/ProducerOperation.swift:42:48: error: cannot find 'isCancelled' in scope
40 | writeCacheBlock?(v)
41 |
42 | switch (outputCompletionBlockBehavior, isCancelled, isTimedOut) {
| `- error: cannot find 'isCancelled' in scope
43 | case (_, false, false):
44 | outputCompletionBlock?(v)
/host/spi-builder-workspace/Sources/OperationPlus/ProducerOperation.swift:72:48: error: cannot find 'isCancelled' in scope
70 | super.timedOut()
71 |
72 | switch (outputCompletionBlockBehavior, isCancelled, isTimedOut) {
| `- error: cannot find 'isCancelled' in scope
73 | case (.onTimeOut(let v), _, true):
74 | self.value = v
[7/27] Compiling OperationPlus AsyncOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncOperation : BaseOperation {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncProducerOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncProducerOperation<Output> : ProducerOperation<Output> {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:36:23: error: property does not override any property from its superclass
34 | }
35 |
36 | override open var isExecuting: Bool {
| `- error: property does not override any property from its superclass
37 | lock.lock()
38 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:43:23: error: property does not override any property from its superclass
41 | }
42 |
43 | override open var isFinished: Bool {
| `- error: property does not override any property from its superclass
44 | lock.lock()
45 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:84:24: error: method does not override any method from its superclass
82 | }
83 |
84 | override open func start() {
| `- error: method does not override any method from its superclass
85 | beginExecution()
86 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:94:24: error: method does not override any method from its superclass
92 | }
93 |
94 | override open func main() {
| `- error: method does not override any method from its superclass
95 | // only really makes sense when subclassers override this
96 | finish()
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:11:28: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | open class BaseOperation : Operation {
| `- error: cannot find type 'Operation' in scope
12 | public enum State {
13 | case notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:113:31: error: cannot find type 'DispatchTime' in scope
111 |
112 | extension BaseOperation {
113 | private var deadlineTime: DispatchTime {
| `- error: cannot find type 'DispatchTime' in scope
114 | return DispatchTime.now() + .milliseconds(Int(timeoutInterval * 1000.0))
115 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:29:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
27 | lock.name = "com.chimehq.Operation-Lock"
28 |
29 | super.init()
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
30 | }
31 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:74:9: error: cannot find 'cancel' in scope
72 | /// do override this method, be sure to either call super or explicitly finish the operation.
73 | open func timedOut() {
74 | cancel()
| `- error: cannot find 'cancel' in scope
75 | finish()
76 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:108:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
106 | }
107 |
108 | super.addDependency(op)
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
109 | }
110 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:122:16: error: cannot find 'isCancelled' in scope
120 | }
121 |
122 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
123 | return
124 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:126:9: error: cannot find 'DispatchQueue' in scope
124 | }
125 |
126 | DispatchQueue.global().asyncAfter(deadline: deadlineTime) { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
127 | self?.markTimedOut()
128 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:147:12: error: cannot find 'isCancelled' in scope
145 |
146 | public func checkForCancellation() -> Bool {
147 | if isCancelled {
| `- error: cannot find 'isCancelled' in scope
148 | finish()
149 | return true
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:161:13: error: cannot find 'willChangeValue' in scope
159 | switch (state, newState) {
160 | case (.notStarted, .running):
161 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:163:13: error: cannot find 'didChangeValue' in scope
161 | willChangeValue(forKey: "isExecuting")
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:165:13: error: cannot find 'willChangeValue' in scope
163 | didChangeValue(forKey: "isExecuting")
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:166:13: error: cannot find 'willChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
166 | willChangeValue(forKey: "isFinished")
| `- error: cannot find 'willChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:168:13: error: cannot find 'didChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
| `- error: cannot find 'didChangeValue' in scope
169 | didChangeValue(forKey: "isExecuting")
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:169:13: error: cannot find 'didChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
169 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
171 | handleError(.stateTransitionInvalid(newState))
[8/27] Compiling OperationPlus AsyncProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncOperation : BaseOperation {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncProducerOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncProducerOperation<Output> : ProducerOperation<Output> {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:36:23: error: property does not override any property from its superclass
34 | }
35 |
36 | override open var isExecuting: Bool {
| `- error: property does not override any property from its superclass
37 | lock.lock()
38 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:43:23: error: property does not override any property from its superclass
41 | }
42 |
43 | override open var isFinished: Bool {
| `- error: property does not override any property from its superclass
44 | lock.lock()
45 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:84:24: error: method does not override any method from its superclass
82 | }
83 |
84 | override open func start() {
| `- error: method does not override any method from its superclass
85 | beginExecution()
86 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:94:24: error: method does not override any method from its superclass
92 | }
93 |
94 | override open func main() {
| `- error: method does not override any method from its superclass
95 | // only really makes sense when subclassers override this
96 | finish()
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:11:28: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | open class BaseOperation : Operation {
| `- error: cannot find type 'Operation' in scope
12 | public enum State {
13 | case notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:113:31: error: cannot find type 'DispatchTime' in scope
111 |
112 | extension BaseOperation {
113 | private var deadlineTime: DispatchTime {
| `- error: cannot find type 'DispatchTime' in scope
114 | return DispatchTime.now() + .milliseconds(Int(timeoutInterval * 1000.0))
115 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:29:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
27 | lock.name = "com.chimehq.Operation-Lock"
28 |
29 | super.init()
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
30 | }
31 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:74:9: error: cannot find 'cancel' in scope
72 | /// do override this method, be sure to either call super or explicitly finish the operation.
73 | open func timedOut() {
74 | cancel()
| `- error: cannot find 'cancel' in scope
75 | finish()
76 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:108:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
106 | }
107 |
108 | super.addDependency(op)
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
109 | }
110 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:122:16: error: cannot find 'isCancelled' in scope
120 | }
121 |
122 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
123 | return
124 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:126:9: error: cannot find 'DispatchQueue' in scope
124 | }
125 |
126 | DispatchQueue.global().asyncAfter(deadline: deadlineTime) { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
127 | self?.markTimedOut()
128 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:147:12: error: cannot find 'isCancelled' in scope
145 |
146 | public func checkForCancellation() -> Bool {
147 | if isCancelled {
| `- error: cannot find 'isCancelled' in scope
148 | finish()
149 | return true
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:161:13: error: cannot find 'willChangeValue' in scope
159 | switch (state, newState) {
160 | case (.notStarted, .running):
161 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:163:13: error: cannot find 'didChangeValue' in scope
161 | willChangeValue(forKey: "isExecuting")
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:165:13: error: cannot find 'willChangeValue' in scope
163 | didChangeValue(forKey: "isExecuting")
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:166:13: error: cannot find 'willChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
166 | willChangeValue(forKey: "isFinished")
| `- error: cannot find 'willChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:168:13: error: cannot find 'didChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
| `- error: cannot find 'didChangeValue' in scope
169 | didChangeValue(forKey: "isExecuting")
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:169:13: error: cannot find 'didChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
169 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
171 | handleError(.stateTransitionInvalid(newState))
[9/27] Compiling OperationPlus BaseOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncOperation : BaseOperation {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncProducerOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncProducerOperation<Output> : ProducerOperation<Output> {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:36:23: error: property does not override any property from its superclass
34 | }
35 |
36 | override open var isExecuting: Bool {
| `- error: property does not override any property from its superclass
37 | lock.lock()
38 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:43:23: error: property does not override any property from its superclass
41 | }
42 |
43 | override open var isFinished: Bool {
| `- error: property does not override any property from its superclass
44 | lock.lock()
45 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:84:24: error: method does not override any method from its superclass
82 | }
83 |
84 | override open func start() {
| `- error: method does not override any method from its superclass
85 | beginExecution()
86 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:94:24: error: method does not override any method from its superclass
92 | }
93 |
94 | override open func main() {
| `- error: method does not override any method from its superclass
95 | // only really makes sense when subclassers override this
96 | finish()
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:11:28: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | open class BaseOperation : Operation {
| `- error: cannot find type 'Operation' in scope
12 | public enum State {
13 | case notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:113:31: error: cannot find type 'DispatchTime' in scope
111 |
112 | extension BaseOperation {
113 | private var deadlineTime: DispatchTime {
| `- error: cannot find type 'DispatchTime' in scope
114 | return DispatchTime.now() + .milliseconds(Int(timeoutInterval * 1000.0))
115 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:29:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
27 | lock.name = "com.chimehq.Operation-Lock"
28 |
29 | super.init()
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
30 | }
31 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:74:9: error: cannot find 'cancel' in scope
72 | /// do override this method, be sure to either call super or explicitly finish the operation.
73 | open func timedOut() {
74 | cancel()
| `- error: cannot find 'cancel' in scope
75 | finish()
76 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:108:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
106 | }
107 |
108 | super.addDependency(op)
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
109 | }
110 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:122:16: error: cannot find 'isCancelled' in scope
120 | }
121 |
122 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
123 | return
124 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:126:9: error: cannot find 'DispatchQueue' in scope
124 | }
125 |
126 | DispatchQueue.global().asyncAfter(deadline: deadlineTime) { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
127 | self?.markTimedOut()
128 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:147:12: error: cannot find 'isCancelled' in scope
145 |
146 | public func checkForCancellation() -> Bool {
147 | if isCancelled {
| `- error: cannot find 'isCancelled' in scope
148 | finish()
149 | return true
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:161:13: error: cannot find 'willChangeValue' in scope
159 | switch (state, newState) {
160 | case (.notStarted, .running):
161 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:163:13: error: cannot find 'didChangeValue' in scope
161 | willChangeValue(forKey: "isExecuting")
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:165:13: error: cannot find 'willChangeValue' in scope
163 | didChangeValue(forKey: "isExecuting")
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:166:13: error: cannot find 'willChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
166 | willChangeValue(forKey: "isFinished")
| `- error: cannot find 'willChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:168:13: error: cannot find 'didChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
| `- error: cannot find 'didChangeValue' in scope
169 | didChangeValue(forKey: "isExecuting")
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:169:13: error: cannot find 'didChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
169 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
171 | handleError(.stateTransitionInvalid(newState))
[10/27] Compiling OperationPlus BaseOperationError.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:20:10: warning: associated value 'stateTransitionInvalid' of 'Sendable'-conforming enum 'BaseOperationError' has non-sendable type 'BaseOperation.State'; this is an error in the Swift 6 language mode
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
20 | case stateTransitionInvalid(BaseOperation.State)
| `- warning: associated value 'stateTransitionInvalid' of 'Sendable'-conforming enum 'BaseOperationError' has non-sendable type 'BaseOperation.State'; this is an error in the Swift 6 language mode
21 | case timedOut
22 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:12:17: note: consider making enum 'State' conform to the 'Sendable' protocol
10 |
11 | open class BaseOperation : Operation {
12 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
13 | case notStarted
14 | case running
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:24:1: error: type 'BaseOperationError' does not conform to protocol 'Equatable'
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaseOperationError' to 'Equatable'
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
22 | }
23 |
24 | extension BaseOperationError: Equatable {
| |- error: type 'BaseOperationError' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
25 | }
26 |
Swift.==:1:24: note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
3 |
[11/27] Compiling OperationPlus BlockConsumerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:20:10: warning: associated value 'stateTransitionInvalid' of 'Sendable'-conforming enum 'BaseOperationError' has non-sendable type 'BaseOperation.State'; this is an error in the Swift 6 language mode
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
20 | case stateTransitionInvalid(BaseOperation.State)
| `- warning: associated value 'stateTransitionInvalid' of 'Sendable'-conforming enum 'BaseOperationError' has non-sendable type 'BaseOperation.State'; this is an error in the Swift 6 language mode
21 | case timedOut
22 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:12:17: note: consider making enum 'State' conform to the 'Sendable' protocol
10 |
11 | open class BaseOperation : Operation {
12 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
13 | case notStarted
14 | case running
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:24:1: error: type 'BaseOperationError' does not conform to protocol 'Equatable'
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaseOperationError' to 'Equatable'
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
22 | }
23 |
24 | extension BaseOperationError: Equatable {
| |- error: type 'BaseOperationError' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
25 | }
26 |
Swift.==:1:24: note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
3 |
[12/27] Compiling OperationPlus BlockConsumerProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:20:10: warning: associated value 'stateTransitionInvalid' of 'Sendable'-conforming enum 'BaseOperationError' has non-sendable type 'BaseOperation.State'; this is an error in the Swift 6 language mode
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
20 | case stateTransitionInvalid(BaseOperation.State)
| `- warning: associated value 'stateTransitionInvalid' of 'Sendable'-conforming enum 'BaseOperationError' has non-sendable type 'BaseOperation.State'; this is an error in the Swift 6 language mode
21 | case timedOut
22 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:12:17: note: consider making enum 'State' conform to the 'Sendable' protocol
10 |
11 | open class BaseOperation : Operation {
12 | public enum State {
| `- note: consider making enum 'State' conform to the 'Sendable' protocol
13 | case notStarted
14 | case running
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:24:1: error: type 'BaseOperationError' does not conform to protocol 'Equatable'
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaseOperationError' to 'Equatable'
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
22 | }
23 |
24 | extension BaseOperationError: Equatable {
| |- error: type 'BaseOperationError' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
25 | }
26 |
Swift.==:1:24: note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
3 |
[13/27] Compiling OperationPlus AsyncBlockProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerOperation
12 | open class AsyncConsumerOperation<Input>: ConsumerOperation<Input> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerProducerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerProducerOperation
12 | open class AsyncConsumerProducerOperation<Input, Output>: ConsumerProducerOperation<Input, Output> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
[14/27] Compiling OperationPlus AsyncConsumerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerOperation
12 | open class AsyncConsumerOperation<Input>: ConsumerOperation<Input> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerProducerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerProducerOperation
12 | open class AsyncConsumerProducerOperation<Input, Output>: ConsumerProducerOperation<Input, Output> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
[15/27] Compiling OperationPlus AsyncConsumerProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerOperation
12 | open class AsyncConsumerOperation<Input>: ConsumerOperation<Input> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerProducerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerProducerOperation
12 | open class AsyncConsumerProducerOperation<Input, Output>: ConsumerProducerOperation<Input, Output> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
[16/27] Compiling OperationPlus BlockProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[17/27] Compiling OperationPlus ConsumerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[18/27] Compiling OperationPlus ConsumerProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[19/27] Compiling OperationPlus AsyncBlockConsumerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[20/27] Compiling OperationPlus AsyncBlockConsumerProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[21/27] Compiling OperationPlus AsyncBlockOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[22/27] Compiling OperationPlus Operation+Dependencies.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:11:11: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | extension Operation {
| `- error: cannot find type 'Operation' in scope
12 | public func addDependencies(_ dependencies: [Operation]) {
13 | for op in dependencies {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public convenience init(name: String, maxConcurrentOperations count: Int = OperationQueue.defaultMaxConcurrentOperationCount) {
13 | self.init()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:20:11: error: cannot find type 'OperationQueue' in scope
18 | }
19 |
20 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
21 | public static func serialQueue() -> OperationQueue {
22 | let queue = OperationQueue()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
13 | operation.addDependency(dependency)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:12:50: error: cannot find type 'Operation' in scope
10 |
11 | extension Operation {
12 | public func addDependencies(_ dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
13 | for op in dependencies {
14 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:18:53: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addDependencies(_ dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
19 | for op in dependencies {
20 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:21:41: error: cannot find type 'OperationQueue' in scope
19 |
20 | extension OperationQueue {
21 | public static func serialQueue() -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
22 | let queue = OperationQueue()
23 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:29:59: error: cannot find type 'OperationQueue' in scope
27 | }
28 |
29 | public static func serialQueue(named name: String) -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
30 | return OperationQueue(name: name, maxConcurrentOperations: 1)
31 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:43: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:66: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:43: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:69: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:43: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:72: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
[23/27] Compiling OperationPlus OperationQueue+Creation.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:11:11: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | extension Operation {
| `- error: cannot find type 'Operation' in scope
12 | public func addDependencies(_ dependencies: [Operation]) {
13 | for op in dependencies {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public convenience init(name: String, maxConcurrentOperations count: Int = OperationQueue.defaultMaxConcurrentOperationCount) {
13 | self.init()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:20:11: error: cannot find type 'OperationQueue' in scope
18 | }
19 |
20 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
21 | public static func serialQueue() -> OperationQueue {
22 | let queue = OperationQueue()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
13 | operation.addDependency(dependency)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:12:50: error: cannot find type 'Operation' in scope
10 |
11 | extension Operation {
12 | public func addDependencies(_ dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
13 | for op in dependencies {
14 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:18:53: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addDependencies(_ dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
19 | for op in dependencies {
20 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:21:41: error: cannot find type 'OperationQueue' in scope
19 |
20 | extension OperationQueue {
21 | public static func serialQueue() -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
22 | let queue = OperationQueue()
23 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:29:59: error: cannot find type 'OperationQueue' in scope
27 | }
28 |
29 | public static func serialQueue(named name: String) -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
30 | return OperationQueue(name: name, maxConcurrentOperations: 1)
31 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:43: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:66: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:43: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:69: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:43: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:72: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
[24/27] Compiling OperationPlus OperationQueue+Dependencies.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:11:11: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | extension Operation {
| `- error: cannot find type 'Operation' in scope
12 | public func addDependencies(_ dependencies: [Operation]) {
13 | for op in dependencies {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public convenience init(name: String, maxConcurrentOperations count: Int = OperationQueue.defaultMaxConcurrentOperationCount) {
13 | self.init()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:20:11: error: cannot find type 'OperationQueue' in scope
18 | }
19 |
20 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
21 | public static func serialQueue() -> OperationQueue {
22 | let queue = OperationQueue()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
13 | operation.addDependency(dependency)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:12:50: error: cannot find type 'Operation' in scope
10 |
11 | extension Operation {
12 | public func addDependencies(_ dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
13 | for op in dependencies {
14 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:18:53: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addDependencies(_ dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
19 | for op in dependencies {
20 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:21:41: error: cannot find type 'OperationQueue' in scope
19 |
20 | extension OperationQueue {
21 | public static func serialQueue() -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
22 | let queue = OperationQueue()
23 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:29:59: error: cannot find type 'OperationQueue' in scope
27 | }
28 |
29 | public static func serialQueue(named name: String) -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
30 | return OperationQueue(name: name, maxConcurrentOperations: 1)
31 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:43: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:66: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:43: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:69: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:43: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:72: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
[25/27] Compiling OperationPlus OperationQueue+Emptied.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 |
13 | /// Adds the specified operations to the queue.
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:36:11: error: cannot find type 'OperationQueue' in scope
34 | }
35 |
36 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
37 | /// Adds the specified operation to the queue after a delay.
38 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:63:11: error: cannot find type 'OperationQueue' in scope
61 |
62 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
63 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
64 | /// Adds the specified async operation to the queue.
65 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Preconditions.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public static func preconditionMain() {
13 | if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:13:85: error: cannot find type 'Operation' in scope
11 | extension OperationQueue {
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
| `- error: cannot find type 'Operation' in scope
14 | let op = BlockOperation(block: completionBlock)
15 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:18:39: error: cannot find type 'Operation' in scope
16 | ///
17 | /// - Parameter ops: The operations to be added to the queue.
18 | public func addOperations(_ ops: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | addOperations(ops, waitUntilFinished: false)
20 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:43:36: error: cannot find type 'Operation' in scope
41 | /// - Parameter op: The operation to be added to the queue.
42 | /// - Parameter delay: The amount of time to wait before scheduling op.
43 | public func addOperation(_ op: Operation, afterDelay delay: TimeInterval) {
| `- error: cannot find type 'Operation' in scope
44 | let deadlineTime = DispatchTime.now() + delay
45 |
[26/27] Compiling OperationPlus OperationQueue+Enqueuing.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 |
13 | /// Adds the specified operations to the queue.
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:36:11: error: cannot find type 'OperationQueue' in scope
34 | }
35 |
36 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
37 | /// Adds the specified operation to the queue after a delay.
38 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:63:11: error: cannot find type 'OperationQueue' in scope
61 |
62 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
63 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
64 | /// Adds the specified async operation to the queue.
65 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Preconditions.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public static func preconditionMain() {
13 | if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:13:85: error: cannot find type 'Operation' in scope
11 | extension OperationQueue {
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
| `- error: cannot find type 'Operation' in scope
14 | let op = BlockOperation(block: completionBlock)
15 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:18:39: error: cannot find type 'Operation' in scope
16 | ///
17 | /// - Parameter ops: The operations to be added to the queue.
18 | public func addOperations(_ ops: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | addOperations(ops, waitUntilFinished: false)
20 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:43:36: error: cannot find type 'Operation' in scope
41 | /// - Parameter op: The operation to be added to the queue.
42 | /// - Parameter delay: The amount of time to wait before scheduling op.
43 | public func addOperation(_ op: Operation, afterDelay delay: TimeInterval) {
| `- error: cannot find type 'Operation' in scope
44 | let deadlineTime = DispatchTime.now() + delay
45 |
[27/27] Compiling OperationPlus OperationQueue+Preconditions.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 |
13 | /// Adds the specified operations to the queue.
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:36:11: error: cannot find type 'OperationQueue' in scope
34 | }
35 |
36 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
37 | /// Adds the specified operation to the queue after a delay.
38 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:63:11: error: cannot find type 'OperationQueue' in scope
61 |
62 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
63 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
64 | /// Adds the specified async operation to the queue.
65 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Preconditions.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public static func preconditionMain() {
13 | if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:13:85: error: cannot find type 'Operation' in scope
11 | extension OperationQueue {
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
| `- error: cannot find type 'Operation' in scope
14 | let op = BlockOperation(block: completionBlock)
15 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:18:39: error: cannot find type 'Operation' in scope
16 | ///
17 | /// - Parameter ops: The operations to be added to the queue.
18 | public func addOperations(_ ops: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | addOperations(ops, waitUntilFinished: false)
20 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:43:36: error: cannot find type 'Operation' in scope
41 | /// - Parameter op: The operation to be added to the queue.
42 | /// - Parameter delay: The amount of time to wait before scheduling op.
43 | public func addOperation(_ op: Operation, afterDelay delay: TimeInterval) {
| `- error: cannot find type 'Operation' in scope
44 | let deadlineTime = DispatchTime.now() + delay
45 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/23] Compiling OperationPlus OperationQueue+Emptied.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 |
13 | /// Adds the specified operations to the queue.
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:36:11: error: cannot find type 'OperationQueue' in scope
34 | }
35 |
36 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
37 | /// Adds the specified operation to the queue after a delay.
38 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:63:11: error: cannot find type 'OperationQueue' in scope
61 |
62 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
63 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
64 | /// Adds the specified async operation to the queue.
65 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Preconditions.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public static func preconditionMain() {
13 | if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:13:85: error: cannot find type 'Operation' in scope
11 | extension OperationQueue {
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
| `- error: cannot find type 'Operation' in scope
14 | let op = BlockOperation(block: completionBlock)
15 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:18:39: error: cannot find type 'Operation' in scope
16 | ///
17 | /// - Parameter ops: The operations to be added to the queue.
18 | public func addOperations(_ ops: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | addOperations(ops, waitUntilFinished: false)
20 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:43:36: error: cannot find type 'Operation' in scope
41 | /// - Parameter op: The operation to be added to the queue.
42 | /// - Parameter delay: The amount of time to wait before scheduling op.
43 | public func addOperation(_ op: Operation, afterDelay delay: TimeInterval) {
| `- error: cannot find type 'Operation' in scope
44 | let deadlineTime = DispatchTime.now() + delay
45 |
[3/23] Compiling OperationPlus OperationQueue+Enqueuing.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 |
13 | /// Adds the specified operations to the queue.
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:36:11: error: cannot find type 'OperationQueue' in scope
34 | }
35 |
36 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
37 | /// Adds the specified operation to the queue after a delay.
38 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:63:11: error: cannot find type 'OperationQueue' in scope
61 |
62 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
63 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
64 | /// Adds the specified async operation to the queue.
65 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Preconditions.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public static func preconditionMain() {
13 | if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:13:85: error: cannot find type 'Operation' in scope
11 | extension OperationQueue {
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
| `- error: cannot find type 'Operation' in scope
14 | let op = BlockOperation(block: completionBlock)
15 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:18:39: error: cannot find type 'Operation' in scope
16 | ///
17 | /// - Parameter ops: The operations to be added to the queue.
18 | public func addOperations(_ ops: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | addOperations(ops, waitUntilFinished: false)
20 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:43:36: error: cannot find type 'Operation' in scope
41 | /// - Parameter op: The operation to be added to the queue.
42 | /// - Parameter delay: The amount of time to wait before scheduling op.
43 | public func addOperation(_ op: Operation, afterDelay delay: TimeInterval) {
| `- error: cannot find type 'Operation' in scope
44 | let deadlineTime = DispatchTime.now() + delay
45 |
[4/23] Compiling OperationPlus OperationQueue+Preconditions.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 |
13 | /// Adds the specified operations to the queue.
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:36:11: error: cannot find type 'OperationQueue' in scope
34 | }
35 |
36 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
37 | /// Adds the specified operation to the queue after a delay.
38 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:63:11: error: cannot find type 'OperationQueue' in scope
61 |
62 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
63 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
64 | /// Adds the specified async operation to the queue.
65 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Preconditions.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public static func preconditionMain() {
13 | if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:13:85: error: cannot find type 'Operation' in scope
11 | extension OperationQueue {
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
| `- error: cannot find type 'Operation' in scope
14 | let op = BlockOperation(block: completionBlock)
15 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:18:39: error: cannot find type 'Operation' in scope
16 | ///
17 | /// - Parameter ops: The operations to be added to the queue.
18 | public func addOperations(_ ops: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | addOperations(ops, waitUntilFinished: false)
20 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:43:36: error: cannot find type 'Operation' in scope
41 | /// - Parameter op: The operation to be added to the queue.
42 | /// - Parameter delay: The amount of time to wait before scheduling op.
43 | public func addOperation(_ op: Operation, afterDelay delay: TimeInterval) {
| `- error: cannot find type 'Operation' in scope
44 | let deadlineTime = DispatchTime.now() + delay
45 |
[5/25] Compiling OperationPlus BlockProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[6/25] Compiling OperationPlus ConsumerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[7/25] Compiling OperationPlus ConsumerProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[8/25] Compiling OperationPlus BaseOperationError.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:24:1: error: type 'BaseOperationError' does not conform to protocol 'Equatable'
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaseOperationError' to 'Equatable'
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
22 | }
23 |
24 | extension BaseOperationError: Equatable {
| |- error: type 'BaseOperationError' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
25 | }
26 |
Swift.==:1:24: note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
3 |
[9/25] Compiling OperationPlus BlockConsumerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:24:1: error: type 'BaseOperationError' does not conform to protocol 'Equatable'
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaseOperationError' to 'Equatable'
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
22 | }
23 |
24 | extension BaseOperationError: Equatable {
| |- error: type 'BaseOperationError' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
25 | }
26 |
Swift.==:1:24: note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
3 |
[10/25] Compiling OperationPlus BlockConsumerProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:24:1: error: type 'BaseOperationError' does not conform to protocol 'Equatable'
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaseOperationError' to 'Equatable'
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
22 | }
23 |
24 | extension BaseOperationError: Equatable {
| |- error: type 'BaseOperationError' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
25 | }
26 |
Swift.==:1:24: note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
3 |
[11/25] Compiling OperationPlus Operation+Dependencies.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:11:11: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | extension Operation {
| `- error: cannot find type 'Operation' in scope
12 | public func addDependencies(_ dependencies: [Operation]) {
13 | for op in dependencies {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public convenience init(name: String, maxConcurrentOperations count: Int = OperationQueue.defaultMaxConcurrentOperationCount) {
13 | self.init()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:20:11: error: cannot find type 'OperationQueue' in scope
18 | }
19 |
20 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
21 | public static func serialQueue() -> OperationQueue {
22 | let queue = OperationQueue()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
13 | operation.addDependency(dependency)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:12:50: error: cannot find type 'Operation' in scope
10 |
11 | extension Operation {
12 | public func addDependencies(_ dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
13 | for op in dependencies {
14 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:18:53: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addDependencies(_ dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
19 | for op in dependencies {
20 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:21:41: error: cannot find type 'OperationQueue' in scope
19 |
20 | extension OperationQueue {
21 | public static func serialQueue() -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
22 | let queue = OperationQueue()
23 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:29:59: error: cannot find type 'OperationQueue' in scope
27 | }
28 |
29 | public static func serialQueue(named name: String) -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
30 | return OperationQueue(name: name, maxConcurrentOperations: 1)
31 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:43: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:66: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:43: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:69: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:43: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:72: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
[12/25] Compiling OperationPlus OperationQueue+Creation.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:11:11: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | extension Operation {
| `- error: cannot find type 'Operation' in scope
12 | public func addDependencies(_ dependencies: [Operation]) {
13 | for op in dependencies {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public convenience init(name: String, maxConcurrentOperations count: Int = OperationQueue.defaultMaxConcurrentOperationCount) {
13 | self.init()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:20:11: error: cannot find type 'OperationQueue' in scope
18 | }
19 |
20 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
21 | public static func serialQueue() -> OperationQueue {
22 | let queue = OperationQueue()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
13 | operation.addDependency(dependency)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:12:50: error: cannot find type 'Operation' in scope
10 |
11 | extension Operation {
12 | public func addDependencies(_ dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
13 | for op in dependencies {
14 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:18:53: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addDependencies(_ dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
19 | for op in dependencies {
20 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:21:41: error: cannot find type 'OperationQueue' in scope
19 |
20 | extension OperationQueue {
21 | public static func serialQueue() -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
22 | let queue = OperationQueue()
23 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:29:59: error: cannot find type 'OperationQueue' in scope
27 | }
28 |
29 | public static func serialQueue(named name: String) -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
30 | return OperationQueue(name: name, maxConcurrentOperations: 1)
31 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:43: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:66: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:43: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:69: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:43: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:72: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
[13/25] Compiling OperationPlus OperationQueue+Dependencies.swift
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:11:11: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | extension Operation {
| `- error: cannot find type 'Operation' in scope
12 | public func addDependencies(_ dependencies: [Operation]) {
13 | for op in dependencies {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public convenience init(name: String, maxConcurrentOperations count: Int = OperationQueue.defaultMaxConcurrentOperationCount) {
13 | self.init()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:20:11: error: cannot find type 'OperationQueue' in scope
18 | }
19 |
20 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
21 | public static func serialQueue() -> OperationQueue {
22 | let queue = OperationQueue()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
13 | operation.addDependency(dependency)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:12:50: error: cannot find type 'Operation' in scope
10 |
11 | extension Operation {
12 | public func addDependencies(_ dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
13 | for op in dependencies {
14 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:18:53: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addDependencies(_ dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
19 | for op in dependencies {
20 | addDependency(op)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:21:41: error: cannot find type 'OperationQueue' in scope
19 |
20 | extension OperationQueue {
21 | public static func serialQueue() -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
22 | let queue = OperationQueue()
23 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:29:59: error: cannot find type 'OperationQueue' in scope
27 | }
28 |
29 | public static func serialQueue(named name: String) -> OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
30 | return OperationQueue(name: name, maxConcurrentOperations: 1)
31 | }
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:43: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:12:66: error: cannot find type 'Operation' in scope
10 |
11 | extension OperationQueue {
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
| `- error: cannot find type 'Operation' in scope
13 | operation.addDependency(dependency)
14 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:43: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:18:69: error: cannot find type 'Operation' in scope
16 | }
17 |
18 | public func addOperation(_ operation: Operation, dependencies: [Operation]) {
| `- error: cannot find type 'Operation' in scope
19 | operation.addDependencies(dependencies)
20 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:43: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:24:72: error: cannot find type 'Operation' in scope
22 | }
23 |
24 | public func addOperation(_ operation: Operation, dependencies: Set<Operation>) {
| `- error: cannot find type 'Operation' in scope
25 | operation.addDependencies(dependencies)
26 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/25] Emitting module OperationPlus
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerOperation
12 | open class AsyncConsumerOperation<Input>: ConsumerOperation<Input> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerProducerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerProducerOperation
12 | open class AsyncConsumerProducerOperation<Input, Output>: ConsumerProducerOperation<Input, Output> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncOperation : BaseOperation {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncProducerOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncProducerOperation<Output> : ProducerOperation<Output> {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:36:23: error: property does not override any property from its superclass
34 | }
35 |
36 | override open var isExecuting: Bool {
| `- error: property does not override any property from its superclass
37 | lock.lock()
38 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:43:23: error: property does not override any property from its superclass
41 | }
42 |
43 | override open var isFinished: Bool {
| `- error: property does not override any property from its superclass
44 | lock.lock()
45 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:84:24: error: method does not override any method from its superclass
82 | }
83 |
84 | override open func start() {
| `- error: method does not override any method from its superclass
85 | beginExecution()
86 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:94:24: error: method does not override any method from its superclass
92 | }
93 |
94 | override open func main() {
| `- error: method does not override any method from its superclass
95 | // only really makes sense when subclassers override this
96 | finish()
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:11:28: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | open class BaseOperation : Operation {
| `- error: cannot find type 'Operation' in scope
12 | public enum State {
13 | case notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:113:31: error: cannot find type 'DispatchTime' in scope
111 |
112 | extension BaseOperation {
113 | private var deadlineTime: DispatchTime {
| `- error: cannot find type 'DispatchTime' in scope
114 | return DispatchTime.now() + .milliseconds(Int(timeoutInterval * 1000.0))
115 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:24:1: error: type 'BaseOperationError' does not conform to protocol 'Equatable'
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- note: associated value type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'BaseOperationError' to 'Equatable'
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
22 | }
23 |
24 | extension BaseOperationError: Equatable {
| |- error: type 'BaseOperationError' does not conform to protocol 'Equatable'
| `- note: add stubs for conformance
25 | }
26 |
Swift.==:1:24: note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'BaseOperationError' conformed to 'RawRepresentable'
Swift.FloatingPoint.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'BaseOperationError' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'BaseOperationError' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
1 | protocol StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'StringProtocol'
3 |
Swift.SIMD.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'BaseOperationError' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'BaseOperationError' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(BaseOperationError, BaseOperationError) -> Bool'
3 |
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/Operation+Dependencies.swift:11:11: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | extension Operation {
| `- error: cannot find type 'Operation' in scope
12 | public func addDependencies(_ dependencies: [Operation]) {
13 | for op in dependencies {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public convenience init(name: String, maxConcurrentOperations count: Int = OperationQueue.defaultMaxConcurrentOperationCount) {
13 | self.init()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Creation.swift:20:11: error: cannot find type 'OperationQueue' in scope
18 | }
19 |
20 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
21 | public static func serialQueue() -> OperationQueue {
22 | let queue = OperationQueue()
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Dependencies.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public func addOperation(_ operation: Operation, dependency: Operation) {
13 | operation.addDependency(dependency)
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Emptied.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | @discardableResult
13 | public func currentOperationsFinished(completionBlock: @escaping () -> Void) -> Operation {
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 |
13 | /// Adds the specified operations to the queue.
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:36:11: error: cannot find type 'OperationQueue' in scope
34 | }
35 |
36 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
37 | /// Adds the specified operation to the queue after a delay.
38 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Enqueuing.swift:63:11: error: cannot find type 'OperationQueue' in scope
61 |
62 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
63 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
64 | /// Adds the specified async operation to the queue.
65 | ///
/host/spi-builder-workspace/Sources/OperationPlus/Extensions/OperationQueue+Preconditions.swift:11:11: error: cannot find type 'OperationQueue' in scope
9 | import Foundation
10 |
11 | extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
12 | public static func preconditionMain() {
13 | if #available(OSX 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
[15/25] Compiling OperationPlus AsyncBlockConsumerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[16/25] Compiling OperationPlus AsyncBlockConsumerProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[17/25] Compiling OperationPlus AsyncBlockOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
[18/25] Compiling OperationPlus AsyncBlockProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerOperation
12 | open class AsyncConsumerOperation<Input>: ConsumerOperation<Input> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerProducerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerProducerOperation
12 | open class AsyncConsumerProducerOperation<Input, Output>: ConsumerProducerOperation<Input, Output> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
[19/25] Compiling OperationPlus AsyncConsumerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerOperation
12 | open class AsyncConsumerOperation<Input>: ConsumerOperation<Input> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerProducerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerProducerOperation
12 | open class AsyncConsumerProducerOperation<Input, Output>: ConsumerProducerOperation<Input, Output> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
[20/25] Compiling OperationPlus AsyncConsumerProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerOperation
12 | open class AsyncConsumerOperation<Input>: ConsumerOperation<Input> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncConsumerProducerOperation.swift:13:23: error: property does not override any property from its superclass
11 | /// An asynchronous variant of ConsumerProducerOperation
12 | open class AsyncConsumerProducerOperation<Input, Output>: ConsumerProducerOperation<Input, Output> {
13 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
14 | return true
15 | }
[21/25] Compiling OperationPlus AsyncOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncOperation : BaseOperation {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncProducerOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncProducerOperation<Output> : ProducerOperation<Output> {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:36:23: error: property does not override any property from its superclass
34 | }
35 |
36 | override open var isExecuting: Bool {
| `- error: property does not override any property from its superclass
37 | lock.lock()
38 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:43:23: error: property does not override any property from its superclass
41 | }
42 |
43 | override open var isFinished: Bool {
| `- error: property does not override any property from its superclass
44 | lock.lock()
45 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:84:24: error: method does not override any method from its superclass
82 | }
83 |
84 | override open func start() {
| `- error: method does not override any method from its superclass
85 | beginExecution()
86 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:94:24: error: method does not override any method from its superclass
92 | }
93 |
94 | override open func main() {
| `- error: method does not override any method from its superclass
95 | // only really makes sense when subclassers override this
96 | finish()
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:11:28: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | open class BaseOperation : Operation {
| `- error: cannot find type 'Operation' in scope
12 | public enum State {
13 | case notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:113:31: error: cannot find type 'DispatchTime' in scope
111 |
112 | extension BaseOperation {
113 | private var deadlineTime: DispatchTime {
| `- error: cannot find type 'DispatchTime' in scope
114 | return DispatchTime.now() + .milliseconds(Int(timeoutInterval * 1000.0))
115 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:29:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
27 | lock.name = "com.chimehq.Operation-Lock"
28 |
29 | super.init()
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
30 | }
31 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:74:9: error: cannot find 'cancel' in scope
72 | /// do override this method, be sure to either call super or explicitly finish the operation.
73 | open func timedOut() {
74 | cancel()
| `- error: cannot find 'cancel' in scope
75 | finish()
76 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:108:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
106 | }
107 |
108 | super.addDependency(op)
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
109 | }
110 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:122:16: error: cannot find 'isCancelled' in scope
120 | }
121 |
122 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
123 | return
124 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:126:9: error: cannot find 'DispatchQueue' in scope
124 | }
125 |
126 | DispatchQueue.global().asyncAfter(deadline: deadlineTime) { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
127 | self?.markTimedOut()
128 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:147:12: error: cannot find 'isCancelled' in scope
145 |
146 | public func checkForCancellation() -> Bool {
147 | if isCancelled {
| `- error: cannot find 'isCancelled' in scope
148 | finish()
149 | return true
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:161:13: error: cannot find 'willChangeValue' in scope
159 | switch (state, newState) {
160 | case (.notStarted, .running):
161 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:163:13: error: cannot find 'didChangeValue' in scope
161 | willChangeValue(forKey: "isExecuting")
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:165:13: error: cannot find 'willChangeValue' in scope
163 | didChangeValue(forKey: "isExecuting")
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:166:13: error: cannot find 'willChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
166 | willChangeValue(forKey: "isFinished")
| `- error: cannot find 'willChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:168:13: error: cannot find 'didChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
| `- error: cannot find 'didChangeValue' in scope
169 | didChangeValue(forKey: "isExecuting")
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:169:13: error: cannot find 'didChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
169 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
171 | handleError(.stateTransitionInvalid(newState))
[22/25] Compiling OperationPlus AsyncProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncOperation : BaseOperation {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncProducerOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncProducerOperation<Output> : ProducerOperation<Output> {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:36:23: error: property does not override any property from its superclass
34 | }
35 |
36 | override open var isExecuting: Bool {
| `- error: property does not override any property from its superclass
37 | lock.lock()
38 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:43:23: error: property does not override any property from its superclass
41 | }
42 |
43 | override open var isFinished: Bool {
| `- error: property does not override any property from its superclass
44 | lock.lock()
45 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:84:24: error: method does not override any method from its superclass
82 | }
83 |
84 | override open func start() {
| `- error: method does not override any method from its superclass
85 | beginExecution()
86 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:94:24: error: method does not override any method from its superclass
92 | }
93 |
94 | override open func main() {
| `- error: method does not override any method from its superclass
95 | // only really makes sense when subclassers override this
96 | finish()
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:11:28: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | open class BaseOperation : Operation {
| `- error: cannot find type 'Operation' in scope
12 | public enum State {
13 | case notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:113:31: error: cannot find type 'DispatchTime' in scope
111 |
112 | extension BaseOperation {
113 | private var deadlineTime: DispatchTime {
| `- error: cannot find type 'DispatchTime' in scope
114 | return DispatchTime.now() + .milliseconds(Int(timeoutInterval * 1000.0))
115 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:29:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
27 | lock.name = "com.chimehq.Operation-Lock"
28 |
29 | super.init()
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
30 | }
31 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:74:9: error: cannot find 'cancel' in scope
72 | /// do override this method, be sure to either call super or explicitly finish the operation.
73 | open func timedOut() {
74 | cancel()
| `- error: cannot find 'cancel' in scope
75 | finish()
76 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:108:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
106 | }
107 |
108 | super.addDependency(op)
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
109 | }
110 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:122:16: error: cannot find 'isCancelled' in scope
120 | }
121 |
122 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
123 | return
124 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:126:9: error: cannot find 'DispatchQueue' in scope
124 | }
125 |
126 | DispatchQueue.global().asyncAfter(deadline: deadlineTime) { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
127 | self?.markTimedOut()
128 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:147:12: error: cannot find 'isCancelled' in scope
145 |
146 | public func checkForCancellation() -> Bool {
147 | if isCancelled {
| `- error: cannot find 'isCancelled' in scope
148 | finish()
149 | return true
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:161:13: error: cannot find 'willChangeValue' in scope
159 | switch (state, newState) {
160 | case (.notStarted, .running):
161 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:163:13: error: cannot find 'didChangeValue' in scope
161 | willChangeValue(forKey: "isExecuting")
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:165:13: error: cannot find 'willChangeValue' in scope
163 | didChangeValue(forKey: "isExecuting")
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:166:13: error: cannot find 'willChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
166 | willChangeValue(forKey: "isFinished")
| `- error: cannot find 'willChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:168:13: error: cannot find 'didChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
| `- error: cannot find 'didChangeValue' in scope
169 | didChangeValue(forKey: "isExecuting")
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:169:13: error: cannot find 'didChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
169 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
171 | handleError(.stateTransitionInvalid(newState))
[23/25] Compiling OperationPlus BaseOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/AsyncOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncOperation : BaseOperation {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/AsyncProducerOperation.swift:12:23: error: property does not override any property from its superclass
10 |
11 | open class AsyncProducerOperation<Output> : ProducerOperation<Output> {
12 | override open var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
13 | return true
14 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:36:23: error: property does not override any property from its superclass
34 | }
35 |
36 | override open var isExecuting: Bool {
| `- error: property does not override any property from its superclass
37 | lock.lock()
38 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:43:23: error: property does not override any property from its superclass
41 | }
42 |
43 | override open var isFinished: Bool {
| `- error: property does not override any property from its superclass
44 | lock.lock()
45 | defer { lock.unlock() }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:84:24: error: method does not override any method from its superclass
82 | }
83 |
84 | override open func start() {
| `- error: method does not override any method from its superclass
85 | beginExecution()
86 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:94:24: error: method does not override any method from its superclass
92 | }
93 |
94 | override open func main() {
| `- error: method does not override any method from its superclass
95 | // only really makes sense when subclassers override this
96 | finish()
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:99:44: error: cannot find type 'Operation' in scope
97 | }
98 |
99 | override open func addDependency(_ op: Operation) {
| `- error: cannot find type 'Operation' in scope
100 | lock.lock()
101 | let invalid = state != .notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:11:28: error: cannot find type 'Operation' in scope
9 | import Foundation
10 |
11 | open class BaseOperation : Operation {
| `- error: cannot find type 'Operation' in scope
12 | public enum State {
13 | case notStarted
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:113:31: error: cannot find type 'DispatchTime' in scope
111 |
112 | extension BaseOperation {
113 | private var deadlineTime: DispatchTime {
| `- error: cannot find type 'DispatchTime' in scope
114 | return DispatchTime.now() + .milliseconds(Int(timeoutInterval * 1000.0))
115 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:29:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
27 | lock.name = "com.chimehq.Operation-Lock"
28 |
29 | super.init()
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
30 | }
31 |
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:74:9: error: cannot find 'cancel' in scope
72 | /// do override this method, be sure to either call super or explicitly finish the operation.
73 | open func timedOut() {
74 | cancel()
| `- error: cannot find 'cancel' in scope
75 | finish()
76 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperationError.swift:19:40: error: cannot find type 'Operation' in scope
17 | /// make sense. This represents a programming error.
18 | public enum BaseOperationError: Error {
19 | case dependencyAddedInInvalidState(Operation)
| `- error: cannot find type 'Operation' in scope
20 | case stateTransitionInvalid(BaseOperation.State)
21 | case timedOut
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:108:9: error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
106 | }
107 |
108 | super.addDependency(op)
| `- error: 'super' cannot be used in class 'BaseOperation' because it has no superclass
109 | }
110 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:122:16: error: cannot find 'isCancelled' in scope
120 | }
121 |
122 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
123 | return
124 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:126:9: error: cannot find 'DispatchQueue' in scope
124 | }
125 |
126 | DispatchQueue.global().asyncAfter(deadline: deadlineTime) { [weak self] in
| `- error: cannot find 'DispatchQueue' in scope
127 | self?.markTimedOut()
128 | }
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:147:12: error: cannot find 'isCancelled' in scope
145 |
146 | public func checkForCancellation() -> Bool {
147 | if isCancelled {
| `- error: cannot find 'isCancelled' in scope
148 | finish()
149 | return true
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:161:13: error: cannot find 'willChangeValue' in scope
159 | switch (state, newState) {
160 | case (.notStarted, .running):
161 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:163:13: error: cannot find 'didChangeValue' in scope
161 | willChangeValue(forKey: "isExecuting")
162 | state = newState;
163 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:165:13: error: cannot find 'willChangeValue' in scope
163 | didChangeValue(forKey: "isExecuting")
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
| `- error: cannot find 'willChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:166:13: error: cannot find 'willChangeValue' in scope
164 | case (.running, .finished):
165 | willChangeValue(forKey: "isExecuting")
166 | willChangeValue(forKey: "isFinished")
| `- error: cannot find 'willChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:168:13: error: cannot find 'didChangeValue' in scope
166 | willChangeValue(forKey: "isFinished")
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
| `- error: cannot find 'didChangeValue' in scope
169 | didChangeValue(forKey: "isExecuting")
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
/host/spi-builder-workspace/Sources/OperationPlus/BaseOperation.swift:169:13: error: cannot find 'didChangeValue' in scope
167 | state = newState;
168 | didChangeValue(forKey: "isFinished")
169 | didChangeValue(forKey: "isExecuting")
| `- error: cannot find 'didChangeValue' in scope
170 | case (_, .notStarted), (.finished, _), (.running, _), (.notStarted, _):
171 | handleError(.stateTransitionInvalid(newState))
[24/25] Compiling OperationPlus Publishers.swift
/host/spi-builder-workspace/Sources/OperationPlus/ProducerOperation.swift:42:48: error: cannot find 'isCancelled' in scope
40 | writeCacheBlock?(v)
41 |
42 | switch (outputCompletionBlockBehavior, isCancelled, isTimedOut) {
| `- error: cannot find 'isCancelled' in scope
43 | case (_, false, false):
44 | outputCompletionBlock?(v)
/host/spi-builder-workspace/Sources/OperationPlus/ProducerOperation.swift:72:48: error: cannot find 'isCancelled' in scope
70 | super.timedOut()
71 |
72 | switch (outputCompletionBlockBehavior, isCancelled, isTimedOut) {
| `- error: cannot find 'isCancelled' in scope
73 | case (.onTimeOut(let v), _, true):
74 | self.value = v
[25/25] Compiling OperationPlus ProducerOperation.swift
/host/spi-builder-workspace/Sources/OperationPlus/ProducerOperation.swift:42:48: error: cannot find 'isCancelled' in scope
40 | writeCacheBlock?(v)
41 |
42 | switch (outputCompletionBlockBehavior, isCancelled, isTimedOut) {
| `- error: cannot find 'isCancelled' in scope
43 | case (_, false, false):
44 | outputCompletionBlock?(v)
/host/spi-builder-workspace/Sources/OperationPlus/ProducerOperation.swift:72:48: error: cannot find 'isCancelled' in scope
70 | super.timedOut()
71 |
72 | switch (outputCompletionBlockBehavior, isCancelled, isTimedOut) {
| `- error: cannot find 'isCancelled' in scope
73 | case (.onTimeOut(let v), _, true):
74 | self.value = v
BUILD FAILURE 6.1 wasm