Build Information
Failed to build RetryingOperation, reference 1.2.0 (033f46), with Swift 6.3 for Wasm on 15 Apr 2026 09:42:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Frizlab/RetryingOperation.git
Reference: 1.2.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/Frizlab/RetryingOperation
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 033f46e Use GlobalConfModule instead of SafeGlobal for the config
Cloned https://github.com/Frizlab/RetryingOperation.git
Revision (git rev-parse @):
033f46e7c4cf807c8dbfded3d16a1ba15982fc95
SUCCESS checkout https://github.com/Frizlab/RetryingOperation.git at 1.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Frizlab/RetryingOperation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Frizlab/GlobalConfModule.git
[1/669] Fetching globalconfmodule
[664/7234] Fetching globalconfmodule, swift-log
Fetched https://github.com/Frizlab/GlobalConfModule.git from cache (0.61s)
Fetched https://github.com/apple/swift-log.git from cache (0.62s)
Computing version for https://github.com/Frizlab/GlobalConfModule.git
Computed https://github.com/Frizlab/GlobalConfModule.git at 0.4.4 (1.19s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-service-context.git
[1/1245] Fetching swift-service-context
[1246/76217] Fetching swift-service-context, swift-syntax
Fetched https://github.com/apple/swift-service-context.git from cache (5.65s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.73s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (6.20s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.22s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/Frizlab/GlobalConfModule.git
Working copy of https://github.com/Frizlab/GlobalConfModule.git resolved at 0.4.4
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.44s)
Building for debugging...
[0/9] Write sources
[5/9] Write swift-version-24593BA9C3E375BF.txt
[7/26] Compiling Logging LogEvent.swift
[8/26] Compiling ServiceContextModule ServiceContext.swift
[9/26] Emitting module ServiceContextModule
[10/26] Compiling ServiceContextModule ServiceContextKey.swift
[12/27] Compiling Logging MetadataProvider.swift
[13/27] Compiling Logging Locks.swift
[14/27] Emitting module Logging
[15/27] Compiling Logging LogHandler.swift
[16/27] Compiling Logging Logging.swift
[18/28] Compiling GlobalConfMacros Optional+Utils.swift
[19/29] Compiling GlobalConfMacros DeclareConfNamespaceMacro.swift
[20/29] Compiling GlobalConfMacros SimpleDiagnosticMessage.swift
[21/29] Compiling GlobalConfMacros Entrypoint.swift
[22/29] Compiling GlobalConfMacros LabeledExprSyntax+Utils.swift
[23/29] Compiling GlobalConfMacros DeclareConfAccessorMacro.swift
[24/29] Compiling GlobalConfMacros DeclareConfMacro.swift
[25/29] Emitting module GlobalConfMacros
[26/29] Compiling GlobalConfMacros Errors.swift
[27/30] Wrapping AST for GlobalConfMacros for debugging
[28/30] Write Objects.LinkFileList
[29/30] Linking GlobalConfMacros-tool
[31/52] Emitting module GlobalConfModule
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[32/54] Compiling GlobalConfModule InjectedConf+AutoInjectableMainActor.swift
[33/54] Compiling GlobalConfModule InjectedConf+ConfKey.swift
[34/54] Compiling GlobalConfModule InjectedConf+ConfKeyMainActor.swift
[35/54] Compiling GlobalConfModule 3-NamespaceKey.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[36/54] Compiling GlobalConfModule 4-AccessorConvenience.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[37/54] Compiling GlobalConfModule ConfKey.swift
[38/54] Compiling GlobalConfModule ConfKeyMainActor.swift
[39/54] Compiling GlobalConfModule ConfKeys.swift
[40/54] Compiling GlobalConfModule Conf.swift
[41/54] Compiling GlobalConfModule ConfContext+AutoInjectable.swift
[42/54] Compiling GlobalConfModule ConfContext+AutoInjectableMainActor.swift
[43/54] Compiling GlobalConfModule Conf+ConfKey.swift
[44/54] Compiling GlobalConfModule Conf+ConfKeyMainActor.swift
[45/54] Compiling GlobalConfModule Conf+withValues.swift
[46/54] Compiling GlobalConfModule ConfContext+ConfKey.swift
[47/54] Compiling GlobalConfModule ConfContext+ConfKeyMainActor.swift
[48/54] Compiling GlobalConfModule ConfContext.swift
[49/54] Compiling GlobalConfModule AutoInjectable.swift
[50/54] Compiling GlobalConfModule AutoInjectableMainActor.swift
[51/54] Compiling GlobalConfModule InjectedConf+AutoInjectable.swift
[52/54] Compiling GlobalConfModule InjectedConf.swift
[53/54] Compiling GlobalConfModule 1-ConfKey.swift
[54/54] Compiling GlobalConfModule 2-ServiceKey.swift
[56/60] Compiling RetryingOperation RetryHelper.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[57/60] Emitting module RetryingOperation
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:365:36: error: cannot find 'DispatchSemaphore' in scope
363 | }
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
367 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:366:27: error: cannot find 'DispatchQueue' in scope
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
367 |
368 | /* Only used for synchronous operations. */
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:366:112: error: cannot infer contextual base in reference to member 'utility'
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
367 |
368 | /* Only used for synchronous operations. */
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:102:20: error: property does not override any property from its superclass
100 | By default an `Operation` is synchronous, which, with no modifications on the `isAsynchronous` property, would make a RetryingOperation synchronous by default too.
101 | This is not such a good behavior; we prefer forcing subclassers to explicitely say whether they’re creating a synchronous or an asynchronous operation. */
102 | open override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
103 | fatalError("isAsynchronous is abstract on a RetryingOperation")
104 | }
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:106:29: error: method does not override any method from its superclass
104 | }
105 |
106 | public final override func start() {
| `- error: method does not override any method from its superclass
107 | if !isAsynchronous {super.start()}
108 | else {
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:116:29: error: method does not override any method from its superclass
114 | /* Note: The synchronous implementation deserves a little more tests.
115 | * Currently it is only very lightly tested with a few unit tests. */
116 | public final override func main() {
| `- error: method does not override any method from its superclass
117 | assert(!isAsynchronous)
118 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:310:22: error: cannot find type 'DispatchSourceTimer' in scope
308 | private var hasBeenResumed = false
309 |
310 | private let timer: DispatchSourceTimer
| `- error: cannot find type 'DispatchSourceTimer' in scope
311 | fileprivate let delay: TimeInterval /* For synchronous operations… */
312 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:450:29: error: method does not override any method from its superclass
448 | }
449 |
450 | public final override func cancel() {
| `- error: method does not override any method from its superclass
451 | super.cancel()
452 | guard isAsynchronous else {cancelBaseOperation(); return}
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:472:28: error: property does not override any property from its superclass
470 | private var isBaseOperationRunning = false
471 |
472 | public final override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
473 | guard isAsynchronous else {return super.isExecuting}
474 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:479:28: error: property does not override any property from its superclass
477 | }
478 |
479 | public final override var isFinished: Bool {
| `- error: property does not override any property from its superclass
480 | guard isAsynchronous else {return super.isFinished}
481 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:80:32: error: cannot find type 'Operation' in scope
78 | A solution is to use `RetryableOperationWrapper`.
79 | See the doc of this class for more information. */
80 | open class RetryingOperation : Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
81 |
82 | public var numberOfRetries: Int? {
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:406:48: error: cannot find 'didChangeValue' in scope
404 | let oldStateFinished = oldState.isFinished
405 |
406 | if newStateFinished != oldStateFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
407 | if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
408 | }
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:407:48: error: cannot find 'didChangeValue' in scope
405 |
406 | if newStateFinished != oldStateFinished {didChangeValue(forKey: "isFinished")}
407 | if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
408 | }
409 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:410:4: error: cannot find 'didChangeValue' in scope
408 | }
409 |
410 | didChangeValue(forKey: "retryingState")
| `- error: cannot find 'didChangeValue' in scope
411 | }
412 | }
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:20:38: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public protocol RetryableOperation : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /* I’d like to add “where T : Self” so that clients of the protocol know ther're given an object kind of class Self,
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:64:101: error: cannot find type 'OperationQueue' in scope
62 | public let maximumNumberOfRetries: Int
63 |
64 | public init(maximumNumberOfRetries maxRetry: Int = -1, baseOperation: T, baseOperationQueue queue: OperationQueue? = nil) {
| `- error: cannot find type 'OperationQueue' in scope
65 | maximumNumberOfRetries = maxRetry
66 |
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:59:33: error: cannot find type 'OperationQueue' in scope
57 |
58 | If `nil` (default), the base operation will not be launched in a queue. */
59 | public let baseOperationQueue: OperationQueue?
| `- error: cannot find type 'OperationQueue' in scope
60 |
61 | /** If `< 0`, the operation is retried indefinitely. */
[58/60] Compiling RetryingOperation WrappedRetryingOperation.swift
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:20:38: error: cannot find type 'Operation' in scope
18 |
19 |
20 | public protocol RetryableOperation : Operation {
| `- error: cannot find type 'Operation' in scope
21 |
22 | /* I’d like to add “where T : Self” so that clients of the protocol know ther're given an object kind of class Self,
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:365:36: error: cannot find 'DispatchSemaphore' in scope
363 | }
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
367 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:366:27: error: cannot find 'DispatchQueue' in scope
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
367 |
368 | /* Only used for synchronous operations. */
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:366:112: error: cannot infer contextual base in reference to member 'utility'
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
367 |
368 | /* Only used for synchronous operations. */
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:64:101: error: cannot find type 'OperationQueue' in scope
62 | public let maximumNumberOfRetries: Int
63 |
64 | public init(maximumNumberOfRetries maxRetry: Int = -1, baseOperation: T, baseOperationQueue queue: OperationQueue? = nil) {
| `- error: cannot find type 'OperationQueue' in scope
65 | maximumNumberOfRetries = maxRetry
66 |
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:59:33: error: cannot find type 'OperationQueue' in scope
57 |
58 | If `nil` (default), the base operation will not be launched in a queue. */
59 | public let baseOperationQueue: OperationQueue?
| `- error: cannot find type 'OperationQueue' in scope
60 |
61 | /** If `< 0`, the operation is retried indefinitely. */
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:78:15: error: value of type 'T' has no member 'isFinished'
76 | if isRetry {
77 | guard let op: T = try? currentBaseOperation.operationForRetrying() else {return baseOperationEnded()}
78 | assert(!op.isFinished && !op.isExecuting) /* Basic checks on operation to verify it is valid. */
| `- error: value of type 'T' has no member 'isFinished'
79 | currentBaseOperation = op
80 | }
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:78:33: error: value of type 'T' has no member 'isExecuting'
76 | if isRetry {
77 | guard let op: T = try? currentBaseOperation.operationForRetrying() else {return baseOperationEnded()}
78 | assert(!op.isFinished && !op.isExecuting) /* Basic checks on operation to verify it is valid. */
| `- error: value of type 'T' has no member 'isExecuting'
79 | currentBaseOperation = op
80 | }
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:83:55: error: value of type 'T' has no member 'start'
81 |
82 | if let q = baseOperationQueue {q.addOperation(currentBaseOperation)}
83 | else {currentBaseOperation.start()}
| `- error: value of type 'T' has no member 'start'
84 | currentBaseOperation.waitUntilFinished()
85 |
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:84:24: error: value of type 'T' has no member 'waitUntilFinished'
82 | if let q = baseOperationQueue {q.addOperation(currentBaseOperation)}
83 | else {currentBaseOperation.start()}
84 | currentBaseOperation.waitUntilFinished()
| `- error: value of type 'T' has no member 'waitUntilFinished'
85 |
86 | let canRetry = (maximumNumberOfRetries < 0 || numberOfRetries! < maximumNumberOfRetries)
/host/spi-builder-workspace/Sources/RetryingOperation/WrappedRetryingOperation.swift:91:24: error: value of type 'T' has no member 'cancel'
89 |
90 | public override func cancelBaseOperation() {
91 | currentBaseOperation.cancel()
| `- error: value of type 'T' has no member 'cancel'
92 | }
93 |
[59/60] Compiling RetryingOperation RetryingOperationConfig.swift
[60/60] Compiling RetryingOperation RetryingOperation.swift
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:365:36: error: cannot find 'DispatchSemaphore' in scope
363 | }
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
367 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:366:27: error: cannot find 'DispatchQueue' in scope
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
| `- error: cannot find 'DispatchQueue' in scope
367 |
368 | /* Only used for synchronous operations. */
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:366:112: error: cannot infer contextual base in reference to member 'utility'
364 |
365 | private let retryStateSemaphore = DispatchSemaphore(value: 1)
366 | private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
| `- error: cannot infer contextual base in reference to member 'utility'
367 |
368 | /* Only used for synchronous operations. */
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:102:20: error: property does not override any property from its superclass
100 | By default an `Operation` is synchronous, which, with no modifications on the `isAsynchronous` property, would make a RetryingOperation synchronous by default too.
101 | This is not such a good behavior; we prefer forcing subclassers to explicitely say whether they’re creating a synchronous or an asynchronous operation. */
102 | open override var isAsynchronous: Bool {
| `- error: property does not override any property from its superclass
103 | fatalError("isAsynchronous is abstract on a RetryingOperation")
104 | }
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:106:29: error: method does not override any method from its superclass
104 | }
105 |
106 | public final override func start() {
| `- error: method does not override any method from its superclass
107 | if !isAsynchronous {super.start()}
108 | else {
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:116:29: error: method does not override any method from its superclass
114 | /* Note: The synchronous implementation deserves a little more tests.
115 | * Currently it is only very lightly tested with a few unit tests. */
116 | public final override func main() {
| `- error: method does not override any method from its superclass
117 | assert(!isAsynchronous)
118 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:310:22: error: cannot find type 'DispatchSourceTimer' in scope
308 | private var hasBeenResumed = false
309 |
310 | private let timer: DispatchSourceTimer
| `- error: cannot find type 'DispatchSourceTimer' in scope
311 | fileprivate let delay: TimeInterval /* For synchronous operations… */
312 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:450:29: error: method does not override any method from its superclass
448 | }
449 |
450 | public final override func cancel() {
| `- error: method does not override any method from its superclass
451 | super.cancel()
452 | guard isAsynchronous else {cancelBaseOperation(); return}
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:472:28: error: property does not override any property from its superclass
470 | private var isBaseOperationRunning = false
471 |
472 | public final override var isExecuting: Bool {
| `- error: property does not override any property from its superclass
473 | guard isAsynchronous else {return super.isExecuting}
474 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:479:28: error: property does not override any property from its superclass
477 | }
478 |
479 | public final override var isFinished: Bool {
| `- error: property does not override any property from its superclass
480 | guard isAsynchronous else {return super.isFinished}
481 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:80:32: error: cannot find type 'Operation' in scope
78 | A solution is to use `RetryableOperationWrapper`.
79 | See the doc of this class for more information. */
80 | open class RetryingOperation : Operation, @unchecked Sendable {
| `- error: cannot find type 'Operation' in scope
81 |
82 | public var numberOfRetries: Int? {
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:107:23: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
105 |
106 | public final override func start() {
107 | if !isAsynchronous {super.start()}
| `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
108 | else {
109 | /* We are in an asynchronous operation, we must start the operation ourselves. */
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:160:17: error: cannot find 'isCancelled' in scope
158 | _startBaseOperationOnQueue(isRetry: isRetry); assert(!isBaseOperationRunning)
159 |
160 | let ret = (!isCancelled ? syncOperationRetryHelpers : nil); syncOperationRetryHelpers = nil
| `- error: cannot find 'isCancelled' in scope
161 | if ret != nil {retryingState = .waitingToRetry(nRetries)}
162 | return setFilteredRetryHelpers(helpers: ret)
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:171:6: error: cannot find 'Thread' in scope
169 | let startWaitTime = Date()
170 | repeat {
171 | Thread.sleep(forTimeInterval: timeToWait.map{ max(0, min(0.5, $0 + startWaitTime.timeIntervalSinceNow)) } ?? 0.5)
| `- error: cannot find 'Thread' in scope
172 |
173 | let shouldRefreshTimeToWait: Bool = retryQueue.sync{
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:174:23: error: cannot find 'isCancelled' in scope
172 |
173 | let shouldRefreshTimeToWait: Bool = retryQueue.sync{
174 | let cancelled = isCancelled
| `- error: cannot find 'isCancelled' in scope
175 | guard syncRefreshRetryHelpers || cancelled else {return false}
176 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:265:16: error: value of type 'RetryingOperation' has no member 'isCancelled'
263 | self.isBaseOperationRunning = false
264 |
265 | guard !self.isCancelled, let retryHelpers = retryHelpers else {
| `- error: value of type 'RetryingOperation' has no member 'isCancelled'
266 | self.retryingState = .finished
267 | return
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:285:12: error: cannot find 'DispatchSource' in scope
283 | delay = d
284 |
285 | timer = DispatchSource.makeTimerSource(flags: [], queue: retryingOperation.retryQueue)
| `- error: cannot find 'DispatchSource' in scope
286 | timer.setEventHandler{ retryingOperation._unsafeRetry(withHelpers: nil) }
287 | /* We schedule the timer in setup. */
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:291:35: error: 'nil' requires a contextual type
289 |
290 | deinit {
291 | timer.setEventHandler(handler: nil)
| `- error: 'nil' requires a contextual type
292 | /* On iOS 11, releasing a timer that has never been resumed will crash. */
293 | if #available(iOS 11.0, *), !hasBeenResumed {timer.resume(); timer.cancel()}
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:297:30: error: cannot call value of non-function type 'Date'
295 |
296 | public func setup() {
297 | timer.schedule(deadline: .now() + delay, leeway: .milliseconds(250))
| `- error: cannot call value of non-function type 'Date'
298 | timer.resume()
299 | hasBeenResumed = true
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:297:54: error: cannot infer contextual base in reference to member 'milliseconds'
295 |
296 | public func setup() {
297 | timer.schedule(deadline: .now() + delay, leeway: .milliseconds(250))
| `- error: cannot infer contextual base in reference to member 'milliseconds'
298 | timer.resume()
299 | hasBeenResumed = true
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:374:4: error: cannot find 'willChangeValue' in scope
372 | private var retryingState = State.inited {
373 | willSet(newState) {
374 | willChangeValue(forKey: "retryingState")
| `- error: cannot find 'willChangeValue' in scope
375 |
376 | if isAsynchronous {
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:391:48: error: cannot find 'willChangeValue' in scope
389 | let oldStateFinished = retryingState.isFinished
390 |
391 | if newStateExecuting != oldStateExecuting {willChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'willChangeValue' in scope
392 | if newStateFinished != oldStateFinished {willChangeValue(forKey: "isFinished")}
393 | }
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:392:48: error: cannot find 'willChangeValue' in scope
390 |
391 | if newStateExecuting != oldStateExecuting {willChangeValue(forKey: "isExecuting")}
392 | if newStateFinished != oldStateFinished {willChangeValue(forKey: "isFinished")}
| `- error: cannot find 'willChangeValue' in scope
393 | }
394 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:406:48: error: cannot find 'didChangeValue' in scope
404 | let oldStateFinished = oldState.isFinished
405 |
406 | if newStateFinished != oldStateFinished {didChangeValue(forKey: "isFinished")}
| `- error: cannot find 'didChangeValue' in scope
407 | if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
408 | }
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:407:48: error: cannot find 'didChangeValue' in scope
405 |
406 | if newStateFinished != oldStateFinished {didChangeValue(forKey: "isFinished")}
407 | if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
| `- error: cannot find 'didChangeValue' in scope
408 | }
409 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:410:4: error: cannot find 'didChangeValue' in scope
408 | }
409 |
410 | didChangeValue(forKey: "retryingState")
| `- error: cannot find 'didChangeValue' in scope
411 | }
412 | }
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:417:10: error: cannot find 'isCancelled' in scope
415 | assert(!isBaseOperationRunning)
416 |
417 | guard !isCancelled else {
| `- error: cannot find 'isCancelled' in scope
418 | retryingState = .finished
419 | return
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:451:3: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
449 |
450 | public final override func cancel() {
451 | super.cancel()
| `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
452 | guard isAsynchronous else {cancelBaseOperation(); return}
453 |
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:473:37: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
471 |
472 | public final override var isExecuting: Bool {
473 | guard isAsynchronous else {return super.isExecuting}
| `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
474 |
475 | retryStateSemaphore.wait(); defer {retryStateSemaphore.signal()}
/host/spi-builder-workspace/Sources/RetryingOperation/RetryingOperation.swift:480:37: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
478 |
479 | public final override var isFinished: Bool {
480 | guard isAsynchronous else {return super.isFinished}
| `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
481 |
482 | retryStateSemaphore.wait(); defer {retryStateSemaphore.signal()}
BUILD FAILURE 6.3 wasm