The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AsyncOperations, reference 0.1.0 (a4abbc), with Swift 6.1 for Wasm on 30 May 2025 04:21:30 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/Frizlab/AsyncOperations.git
Reference: 0.1.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/AsyncOperations
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at a4abbc7 Initial commit
Cloned https://github.com/Frizlab/AsyncOperations.git
Revision (git rev-parse @):
a4abbc7b46cb86f805e07dce9fff9b43911ee3f8
SUCCESS checkout https://github.com/Frizlab/AsyncOperations.git at 0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Frizlab/AsyncOperations.git
https://github.com/Frizlab/AsyncOperations.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "retryingoperation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.7",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/happn-tech/RetryingOperation.git"
    }
  ],
  "manifest_display_name" : "AsyncOperations",
  "name" : "AsyncOperations",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncOperations",
      "targets" : [
        "AsyncOperations"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncOperationsTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncOperationsTests",
      "path" : "Tests/AsyncOperationsTests",
      "sources" : [
        "AsyncOperationsTests.swift"
      ],
      "target_dependencies" : [
        "AsyncOperations"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncOperations",
      "module_type" : "SwiftTarget",
      "name" : "AsyncOperations",
      "path" : "Sources/AsyncOperations",
      "product_dependencies" : [
        "RetryingOperation"
      ],
      "product_memberships" : [
        "AsyncOperations"
      ],
      "sources" : [
        "AsyncBlockOperation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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
Fetching https://github.com/happn-tech/RetryingOperation.git
[1/395] Fetching retryingoperation
Fetched https://github.com/happn-tech/RetryingOperation.git from cache (0.42s)
Computing version for https://github.com/happn-tech/RetryingOperation.git
Computed https://github.com/happn-tech/RetryingOperation.git at 1.1.8 (1.97s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.46s)
Creating working copy for https://github.com/happn-tech/RetryingOperation.git
Working copy of https://github.com/happn-tech/RetryingOperation.git resolved at 1.1.8
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/9] Emitting module Logging
[6/9] Compiling Logging Locks.swift
[7/9] Compiling Logging LogHandler.swift
[8/9] Compiling Logging MetadataProvider.swift
[9/9] Compiling Logging Logging.swift
[11/15] Compiling RetryingOperation RetryingOperationConfig.swift
[12/15] Compiling RetryingOperation WrappedRetryingOperation.swift
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:361:36: error: cannot find 'DispatchSemaphore' in scope
359 | 	}
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
    |                                    `- error: cannot find 'DispatchSemaphore' in scope
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
363 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:27: error: cannot find 'DispatchQueue' in scope
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
    |                           `- error: cannot find 'DispatchQueue' in scope
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:112: error: cannot infer contextual base in reference to member 'utility'
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	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'
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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 |
[13/15] Compiling RetryingOperation RetryingOperation.swift
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:361:36: error: cannot find 'DispatchSemaphore' in scope
359 | 	}
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
    |                                    `- error: cannot find 'DispatchSemaphore' in scope
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
363 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:27: error: cannot find 'DispatchQueue' in scope
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
    |                           `- error: cannot find 'DispatchQueue' in scope
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:112: error: cannot infer contextual base in reference to member 'utility'
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	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'
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:101:20: error: property does not override any property from its superclass
 99 | 	 By default an `Operation` is synchronous, which, with no modifications on the `isAsynchronous` property, would make a RetryingOperation synchronous by default too.
100 | 	 This is not such a good behavior; we prefer forcing subclassers to explicitely say whether they’re creating a synchronous or an asynchronous operation. */
101 | 	open override var isAsynchronous: Bool {
    |                    `- error: property does not override any property from its superclass
102 | 		fatalError("isAsynchronous is abstract on a RetryingOperation")
103 | 	}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:105:29: error: method does not override any method from its superclass
103 | 	}
104 |
105 | 	public final override func start() {
    |                             `- error: method does not override any method from its superclass
106 | 		if !isAsynchronous {super.start()}
107 | 		else {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:115:29: error: method does not override any method from its superclass
113 | 	/* Note: The synchronous implementation deserves a little more tests.
114 | 	 *       Currently it is only very lightly tested with a few unit tests. */
115 | 	public final override func main() {
    |                             `- error: method does not override any method from its superclass
116 | 		assert(!isAsynchronous)
117 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:306:22: error: cannot find type 'DispatchSourceTimer' in scope
304 | 		private var hasBeenResumed = false
305 |
306 | 		private let timer: DispatchSourceTimer
    |                      `- error: cannot find type 'DispatchSourceTimer' in scope
307 | 		fileprivate let delay: TimeInterval /* For synchronous operations... */
308 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:446:29: error: method does not override any method from its superclass
444 | 	}
445 |
446 | 	public final override func cancel() {
    |                             `- error: method does not override any method from its superclass
447 | 		super.cancel()
448 | 		guard isAsynchronous else {cancelBaseOperation(); return}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:468:28: error: property does not override any property from its superclass
466 | 	private var isBaseOperationRunning = false
467 |
468 | 	public final override var isExecuting: Bool {
    |                            `- error: property does not override any property from its superclass
469 | 		guard isAsynchronous else {return super.isExecuting}
470 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:475:28: error: property does not override any property from its superclass
473 | 	}
474 |
475 | 	public final override var isFinished: Bool {
    |                            `- error: property does not override any property from its superclass
476 | 		guard isAsynchronous else {return super.isFinished}
477 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:79:32: error: cannot find type 'Operation' in scope
 77 |  A solution is to use `RetryableOperationWrapper`.
 78 |  See the doc of this class for more information. */
 79 | open class RetryingOperation : Operation {
    |                                `- error: cannot find type 'Operation' in scope
 80 |
 81 | 	public var numberOfRetries: Int? {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:106:23: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
104 |
105 | 	public final override func start() {
106 | 		if !isAsynchronous {super.start()}
    |                       `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
107 | 		else {
108 | 			/* We are in an asynchronous operation, we must start the operation ourselves. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:159:17: error: cannot find 'isCancelled' in scope
157 | 				_startBaseOperationOnQueue(isRetry: isRetry); assert(!isBaseOperationRunning)
158 |
159 | 				let ret = (!isCancelled ? syncOperationRetryHelpers : nil); syncOperationRetryHelpers = nil
    |                 `- error: cannot find 'isCancelled' in scope
160 | 				if ret != nil {retryingState = .waitingToRetry(nRetries)}
161 | 				return setFilteredRetryHelpers(helpers: ret)
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:170:6: error: cannot find 'Thread' in scope
168 | 				let startWaitTime = Date()
169 | 				repeat {
170 | 					Thread.sleep(forTimeInterval: timeToWait.map{ max(0, min(0.5, $0 + startWaitTime.timeIntervalSinceNow)) } ?? 0.5)
    |      `- error: cannot find 'Thread' in scope
171 |
172 | 					let shouldRefreshTimeToWait: Bool = retryQueue.sync{
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:173:23: error: cannot find 'isCancelled' in scope
171 |
172 | 					let shouldRefreshTimeToWait: Bool = retryQueue.sync{
173 | 						let cancelled = isCancelled
    |                       `- error: cannot find 'isCancelled' in scope
174 | 						guard syncRefreshRetryHelpers || cancelled else {return false}
175 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:264:16: error: value of type 'RetryingOperation' has no member 'isCancelled'
262 | 			self.isBaseOperationRunning = false
263 |
264 | 			guard !self.isCancelled, let retryHelpers = retryHelpers else {
    |                `- error: value of type 'RetryingOperation' has no member 'isCancelled'
265 | 				self.retryingState = .finished
266 | 				return
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:283:12: error: cannot find 'DispatchSource' in scope
281 | 			delay = d
282 |
283 | 			timer = DispatchSource.makeTimerSource(flags: [], queue: retryingOperation.retryQueue)
    |            `- error: cannot find 'DispatchSource' in scope
284 | 			timer.setEventHandler{ retryingOperation._unsafeRetry(withHelpers: nil) }
285 | 			/* We schedule the timer in setup. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:289:35: error: 'nil' requires a contextual type
287 |
288 | 		deinit {
289 | 			timer.setEventHandler(handler: nil)
    |                                   `- error: 'nil' requires a contextual type
290 | 			/* On iOS 11, releasing a timer that has never been resumed will crash. */
291 | 			if #available(iOS 11.0, *), !hasBeenResumed {timer.resume(); timer.cancel()}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:295:30: error: cannot call value of non-function type 'Date'
293 |
294 | 		public func setup() {
295 | 			timer.schedule(deadline: .now() + delay, leeway: .milliseconds(250))
    |                              `- error: cannot call value of non-function type 'Date'
296 | 			timer.resume()
297 | 			hasBeenResumed = true
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:295:54: error: cannot infer contextual base in reference to member 'milliseconds'
293 |
294 | 		public func setup() {
295 | 			timer.schedule(deadline: .now() + delay, leeway: .milliseconds(250))
    |                                                      `- error: cannot infer contextual base in reference to member 'milliseconds'
296 | 			timer.resume()
297 | 			hasBeenResumed = true
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:370:4: error: cannot find 'willChangeValue' in scope
368 | 	private var retryingState = State.inited {
369 | 		willSet(newState) {
370 | 			willChangeValue(forKey: "retryingState")
    |    `- error: cannot find 'willChangeValue' in scope
371 |
372 | 			if isAsynchronous {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:387:48: error: cannot find 'willChangeValue' in scope
385 | 				let oldStateFinished = retryingState.isFinished
386 |
387 | 				if newStateExecuting != oldStateExecuting {willChangeValue(forKey: "isExecuting")}
    |                                                `- error: cannot find 'willChangeValue' in scope
388 | 				if newStateFinished  != oldStateFinished  {willChangeValue(forKey: "isFinished")}
389 | 			}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:388:48: error: cannot find 'willChangeValue' in scope
386 |
387 | 				if newStateExecuting != oldStateExecuting {willChangeValue(forKey: "isExecuting")}
388 | 				if newStateFinished  != oldStateFinished  {willChangeValue(forKey: "isFinished")}
    |                                                `- error: cannot find 'willChangeValue' in scope
389 | 			}
390 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:402:48: error: cannot find 'didChangeValue' in scope
400 | 				let oldStateFinished = oldState.isFinished
401 |
402 | 				if newStateFinished  != oldStateFinished  {didChangeValue(forKey: "isFinished")}
    |                                                `- error: cannot find 'didChangeValue' in scope
403 | 				if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
404 | 			}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:403:48: error: cannot find 'didChangeValue' in scope
401 |
402 | 				if newStateFinished  != oldStateFinished  {didChangeValue(forKey: "isFinished")}
403 | 				if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
    |                                                `- error: cannot find 'didChangeValue' in scope
404 | 			}
405 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:406:4: error: cannot find 'didChangeValue' in scope
404 | 			}
405 |
406 | 			didChangeValue(forKey: "retryingState")
    |    `- error: cannot find 'didChangeValue' in scope
407 | 		}
408 | 	}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:413:10: error: cannot find 'isCancelled' in scope
411 | 		assert(!isBaseOperationRunning)
412 |
413 | 		guard !isCancelled else {
    |          `- error: cannot find 'isCancelled' in scope
414 | 			retryingState = .finished
415 | 			return
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:447:3: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
445 |
446 | 	public final override func cancel() {
447 | 		super.cancel()
    |   `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
448 | 		guard isAsynchronous else {cancelBaseOperation(); return}
449 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:469:37: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
467 |
468 | 	public final override var isExecuting: Bool {
469 | 		guard isAsynchronous else {return super.isExecuting}
    |                                     `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
470 |
471 | 		retryStateSemaphore.wait(); defer {retryStateSemaphore.signal()}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:476:37: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
474 |
475 | 	public final override var isFinished: Bool {
476 | 		guard isAsynchronous else {return super.isFinished}
    |                                     `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
477 |
478 | 		retryStateSemaphore.wait(); defer {retryStateSemaphore.signal()}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/15] Emitting module RetryingOperation
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:361:36: error: cannot find 'DispatchSemaphore' in scope
359 | 	}
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
    |                                    `- error: cannot find 'DispatchSemaphore' in scope
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
363 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:27: error: cannot find 'DispatchQueue' in scope
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
    |                           `- error: cannot find 'DispatchQueue' in scope
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:112: error: cannot infer contextual base in reference to member 'utility'
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	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'
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:101:20: error: property does not override any property from its superclass
 99 | 	 By default an `Operation` is synchronous, which, with no modifications on the `isAsynchronous` property, would make a RetryingOperation synchronous by default too.
100 | 	 This is not such a good behavior; we prefer forcing subclassers to explicitely say whether they’re creating a synchronous or an asynchronous operation. */
101 | 	open override var isAsynchronous: Bool {
    |                    `- error: property does not override any property from its superclass
102 | 		fatalError("isAsynchronous is abstract on a RetryingOperation")
103 | 	}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:105:29: error: method does not override any method from its superclass
103 | 	}
104 |
105 | 	public final override func start() {
    |                             `- error: method does not override any method from its superclass
106 | 		if !isAsynchronous {super.start()}
107 | 		else {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:115:29: error: method does not override any method from its superclass
113 | 	/* Note: The synchronous implementation deserves a little more tests.
114 | 	 *       Currently it is only very lightly tested with a few unit tests. */
115 | 	public final override func main() {
    |                             `- error: method does not override any method from its superclass
116 | 		assert(!isAsynchronous)
117 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:306:22: error: cannot find type 'DispatchSourceTimer' in scope
304 | 		private var hasBeenResumed = false
305 |
306 | 		private let timer: DispatchSourceTimer
    |                      `- error: cannot find type 'DispatchSourceTimer' in scope
307 | 		fileprivate let delay: TimeInterval /* For synchronous operations... */
308 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:446:29: error: method does not override any method from its superclass
444 | 	}
445 |
446 | 	public final override func cancel() {
    |                             `- error: method does not override any method from its superclass
447 | 		super.cancel()
448 | 		guard isAsynchronous else {cancelBaseOperation(); return}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:468:28: error: property does not override any property from its superclass
466 | 	private var isBaseOperationRunning = false
467 |
468 | 	public final override var isExecuting: Bool {
    |                            `- error: property does not override any property from its superclass
469 | 		guard isAsynchronous else {return super.isExecuting}
470 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:475:28: error: property does not override any property from its superclass
473 | 	}
474 |
475 | 	public final override var isFinished: Bool {
    |                            `- error: property does not override any property from its superclass
476 | 		guard isAsynchronous else {return super.isFinished}
477 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:79:32: error: cannot find type 'Operation' in scope
 77 |  A solution is to use `RetryableOperationWrapper`.
 78 |  See the doc of this class for more information. */
 79 | open class RetryingOperation : Operation {
    |                                `- error: cannot find type 'Operation' in scope
 80 |
 81 | 	public var numberOfRetries: Int? {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:402:48: error: cannot find 'didChangeValue' in scope
400 | 				let oldStateFinished = oldState.isFinished
401 |
402 | 				if newStateFinished  != oldStateFinished  {didChangeValue(forKey: "isFinished")}
    |                                                `- error: cannot find 'didChangeValue' in scope
403 | 				if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
404 | 			}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:403:48: error: cannot find 'didChangeValue' in scope
401 |
402 | 				if newStateFinished  != oldStateFinished  {didChangeValue(forKey: "isFinished")}
403 | 				if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
    |                                                `- error: cannot find 'didChangeValue' in scope
404 | 			}
405 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:406:4: error: cannot find 'didChangeValue' in scope
404 | 			}
405 |
406 | 			didChangeValue(forKey: "retryingState")
    |    `- error: cannot find 'didChangeValue' in scope
407 | 		}
408 | 	}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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. */
[15/15] Compiling RetryingOperation RetryHelper.swift
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/6] Compiling Logging LogHandler.swift
[3/6] Emitting module Logging
[4/6] Compiling Logging Locks.swift
[5/6] Compiling Logging Logging.swift
[6/6] Compiling Logging MetadataProvider.swift
[8/12] Compiling RetryingOperation RetryingOperationConfig.swift
[9/12] Compiling RetryingOperation WrappedRetryingOperation.swift
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/12] Compiling RetryingOperation RetryHelper.swift
[11/12] Emitting module RetryingOperation
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:101:20: error: property does not override any property from its superclass
 99 | 	 By default an `Operation` is synchronous, which, with no modifications on the `isAsynchronous` property, would make a RetryingOperation synchronous by default too.
100 | 	 This is not such a good behavior; we prefer forcing subclassers to explicitely say whether they’re creating a synchronous or an asynchronous operation. */
101 | 	open override var isAsynchronous: Bool {
    |                    `- error: property does not override any property from its superclass
102 | 		fatalError("isAsynchronous is abstract on a RetryingOperation")
103 | 	}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:105:29: error: method does not override any method from its superclass
103 | 	}
104 |
105 | 	public final override func start() {
    |                             `- error: method does not override any method from its superclass
106 | 		if !isAsynchronous {super.start()}
107 | 		else {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:115:29: error: method does not override any method from its superclass
113 | 	/* Note: The synchronous implementation deserves a little more tests.
114 | 	 *       Currently it is only very lightly tested with a few unit tests. */
115 | 	public final override func main() {
    |                             `- error: method does not override any method from its superclass
116 | 		assert(!isAsynchronous)
117 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:306:22: error: cannot find type 'DispatchSourceTimer' in scope
304 | 		private var hasBeenResumed = false
305 |
306 | 		private let timer: DispatchSourceTimer
    |                      `- error: cannot find type 'DispatchSourceTimer' in scope
307 | 		fileprivate let delay: TimeInterval /* For synchronous operations... */
308 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:361:36: error: cannot find 'DispatchSemaphore' in scope
359 | 	}
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
    |                                    `- error: cannot find 'DispatchSemaphore' in scope
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
363 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:27: error: cannot find 'DispatchQueue' in scope
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
    |                           `- error: cannot find 'DispatchQueue' in scope
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:112: error: cannot infer contextual base in reference to member 'utility'
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	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'
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:446:29: error: method does not override any method from its superclass
444 | 	}
445 |
446 | 	public final override func cancel() {
    |                             `- error: method does not override any method from its superclass
447 | 		super.cancel()
448 | 		guard isAsynchronous else {cancelBaseOperation(); return}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:468:28: error: property does not override any property from its superclass
466 | 	private var isBaseOperationRunning = false
467 |
468 | 	public final override var isExecuting: Bool {
    |                            `- error: property does not override any property from its superclass
469 | 		guard isAsynchronous else {return super.isExecuting}
470 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:475:28: error: property does not override any property from its superclass
473 | 	}
474 |
475 | 	public final override var isFinished: Bool {
    |                            `- error: property does not override any property from its superclass
476 | 		guard isAsynchronous else {return super.isFinished}
477 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:79:32: error: cannot find type 'Operation' in scope
 77 |  A solution is to use `RetryableOperationWrapper`.
 78 |  See the doc of this class for more information. */
 79 | open class RetryingOperation : Operation {
    |                                `- error: cannot find type 'Operation' in scope
 80 |
 81 | 	public var numberOfRetries: Int? {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:402:48: error: cannot find 'didChangeValue' in scope
400 | 				let oldStateFinished = oldState.isFinished
401 |
402 | 				if newStateFinished  != oldStateFinished  {didChangeValue(forKey: "isFinished")}
    |                                                `- error: cannot find 'didChangeValue' in scope
403 | 				if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
404 | 			}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:403:48: error: cannot find 'didChangeValue' in scope
401 |
402 | 				if newStateFinished  != oldStateFinished  {didChangeValue(forKey: "isFinished")}
403 | 				if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
    |                                                `- error: cannot find 'didChangeValue' in scope
404 | 			}
405 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:406:4: error: cannot find 'didChangeValue' in scope
404 | 			}
405 |
406 | 			didChangeValue(forKey: "retryingState")
    |    `- error: cannot find 'didChangeValue' in scope
407 | 		}
408 | 	}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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/.build/checkouts/RetryingOperation/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. */
[12/12] Compiling RetryingOperation RetryingOperation.swift
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:101:20: error: property does not override any property from its superclass
 99 | 	 By default an `Operation` is synchronous, which, with no modifications on the `isAsynchronous` property, would make a RetryingOperation synchronous by default too.
100 | 	 This is not such a good behavior; we prefer forcing subclassers to explicitely say whether they’re creating a synchronous or an asynchronous operation. */
101 | 	open override var isAsynchronous: Bool {
    |                    `- error: property does not override any property from its superclass
102 | 		fatalError("isAsynchronous is abstract on a RetryingOperation")
103 | 	}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:105:29: error: method does not override any method from its superclass
103 | 	}
104 |
105 | 	public final override func start() {
    |                             `- error: method does not override any method from its superclass
106 | 		if !isAsynchronous {super.start()}
107 | 		else {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:115:29: error: method does not override any method from its superclass
113 | 	/* Note: The synchronous implementation deserves a little more tests.
114 | 	 *       Currently it is only very lightly tested with a few unit tests. */
115 | 	public final override func main() {
    |                             `- error: method does not override any method from its superclass
116 | 		assert(!isAsynchronous)
117 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:306:22: error: cannot find type 'DispatchSourceTimer' in scope
304 | 		private var hasBeenResumed = false
305 |
306 | 		private let timer: DispatchSourceTimer
    |                      `- error: cannot find type 'DispatchSourceTimer' in scope
307 | 		fileprivate let delay: TimeInterval /* For synchronous operations... */
308 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:361:36: error: cannot find 'DispatchSemaphore' in scope
359 | 	}
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
    |                                    `- error: cannot find 'DispatchSemaphore' in scope
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
363 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:27: error: cannot find 'DispatchQueue' in scope
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	private let retryQueue = DispatchQueue(label: "Queue for Syncing Retries (for One Retrying Operation)", qos: .utility)
    |                           `- error: cannot find 'DispatchQueue' in scope
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:362:112: error: cannot infer contextual base in reference to member 'utility'
360 |
361 | 	private let retryStateSemaphore = DispatchSemaphore(value: 1)
362 | 	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'
363 |
364 | 	/* Only used for synchronous operations. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:446:29: error: method does not override any method from its superclass
444 | 	}
445 |
446 | 	public final override func cancel() {
    |                             `- error: method does not override any method from its superclass
447 | 		super.cancel()
448 | 		guard isAsynchronous else {cancelBaseOperation(); return}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:468:28: error: property does not override any property from its superclass
466 | 	private var isBaseOperationRunning = false
467 |
468 | 	public final override var isExecuting: Bool {
    |                            `- error: property does not override any property from its superclass
469 | 		guard isAsynchronous else {return super.isExecuting}
470 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:475:28: error: property does not override any property from its superclass
473 | 	}
474 |
475 | 	public final override var isFinished: Bool {
    |                            `- error: property does not override any property from its superclass
476 | 		guard isAsynchronous else {return super.isFinished}
477 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:79:32: error: cannot find type 'Operation' in scope
 77 |  A solution is to use `RetryableOperationWrapper`.
 78 |  See the doc of this class for more information. */
 79 | open class RetryingOperation : Operation {
    |                                `- error: cannot find type 'Operation' in scope
 80 |
 81 | 	public var numberOfRetries: Int? {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:106:23: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
104 |
105 | 	public final override func start() {
106 | 		if !isAsynchronous {super.start()}
    |                       `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
107 | 		else {
108 | 			/* We are in an asynchronous operation, we must start the operation ourselves. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:159:17: error: cannot find 'isCancelled' in scope
157 | 				_startBaseOperationOnQueue(isRetry: isRetry); assert(!isBaseOperationRunning)
158 |
159 | 				let ret = (!isCancelled ? syncOperationRetryHelpers : nil); syncOperationRetryHelpers = nil
    |                 `- error: cannot find 'isCancelled' in scope
160 | 				if ret != nil {retryingState = .waitingToRetry(nRetries)}
161 | 				return setFilteredRetryHelpers(helpers: ret)
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:170:6: error: cannot find 'Thread' in scope
168 | 				let startWaitTime = Date()
169 | 				repeat {
170 | 					Thread.sleep(forTimeInterval: timeToWait.map{ max(0, min(0.5, $0 + startWaitTime.timeIntervalSinceNow)) } ?? 0.5)
    |      `- error: cannot find 'Thread' in scope
171 |
172 | 					let shouldRefreshTimeToWait: Bool = retryQueue.sync{
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:173:23: error: cannot find 'isCancelled' in scope
171 |
172 | 					let shouldRefreshTimeToWait: Bool = retryQueue.sync{
173 | 						let cancelled = isCancelled
    |                       `- error: cannot find 'isCancelled' in scope
174 | 						guard syncRefreshRetryHelpers || cancelled else {return false}
175 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:264:16: error: value of type 'RetryingOperation' has no member 'isCancelled'
262 | 			self.isBaseOperationRunning = false
263 |
264 | 			guard !self.isCancelled, let retryHelpers = retryHelpers else {
    |                `- error: value of type 'RetryingOperation' has no member 'isCancelled'
265 | 				self.retryingState = .finished
266 | 				return
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:283:12: error: cannot find 'DispatchSource' in scope
281 | 			delay = d
282 |
283 | 			timer = DispatchSource.makeTimerSource(flags: [], queue: retryingOperation.retryQueue)
    |            `- error: cannot find 'DispatchSource' in scope
284 | 			timer.setEventHandler{ retryingOperation._unsafeRetry(withHelpers: nil) }
285 | 			/* We schedule the timer in setup. */
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:289:35: error: 'nil' requires a contextual type
287 |
288 | 		deinit {
289 | 			timer.setEventHandler(handler: nil)
    |                                   `- error: 'nil' requires a contextual type
290 | 			/* On iOS 11, releasing a timer that has never been resumed will crash. */
291 | 			if #available(iOS 11.0, *), !hasBeenResumed {timer.resume(); timer.cancel()}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:295:30: error: cannot call value of non-function type 'Date'
293 |
294 | 		public func setup() {
295 | 			timer.schedule(deadline: .now() + delay, leeway: .milliseconds(250))
    |                              `- error: cannot call value of non-function type 'Date'
296 | 			timer.resume()
297 | 			hasBeenResumed = true
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:295:54: error: cannot infer contextual base in reference to member 'milliseconds'
293 |
294 | 		public func setup() {
295 | 			timer.schedule(deadline: .now() + delay, leeway: .milliseconds(250))
    |                                                      `- error: cannot infer contextual base in reference to member 'milliseconds'
296 | 			timer.resume()
297 | 			hasBeenResumed = true
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:370:4: error: cannot find 'willChangeValue' in scope
368 | 	private var retryingState = State.inited {
369 | 		willSet(newState) {
370 | 			willChangeValue(forKey: "retryingState")
    |    `- error: cannot find 'willChangeValue' in scope
371 |
372 | 			if isAsynchronous {
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:387:48: error: cannot find 'willChangeValue' in scope
385 | 				let oldStateFinished = retryingState.isFinished
386 |
387 | 				if newStateExecuting != oldStateExecuting {willChangeValue(forKey: "isExecuting")}
    |                                                `- error: cannot find 'willChangeValue' in scope
388 | 				if newStateFinished  != oldStateFinished  {willChangeValue(forKey: "isFinished")}
389 | 			}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:388:48: error: cannot find 'willChangeValue' in scope
386 |
387 | 				if newStateExecuting != oldStateExecuting {willChangeValue(forKey: "isExecuting")}
388 | 				if newStateFinished  != oldStateFinished  {willChangeValue(forKey: "isFinished")}
    |                                                `- error: cannot find 'willChangeValue' in scope
389 | 			}
390 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:402:48: error: cannot find 'didChangeValue' in scope
400 | 				let oldStateFinished = oldState.isFinished
401 |
402 | 				if newStateFinished  != oldStateFinished  {didChangeValue(forKey: "isFinished")}
    |                                                `- error: cannot find 'didChangeValue' in scope
403 | 				if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
404 | 			}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:403:48: error: cannot find 'didChangeValue' in scope
401 |
402 | 				if newStateFinished  != oldStateFinished  {didChangeValue(forKey: "isFinished")}
403 | 				if newStateExecuting != oldStateExecuting {didChangeValue(forKey: "isExecuting")}
    |                                                `- error: cannot find 'didChangeValue' in scope
404 | 			}
405 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:406:4: error: cannot find 'didChangeValue' in scope
404 | 			}
405 |
406 | 			didChangeValue(forKey: "retryingState")
    |    `- error: cannot find 'didChangeValue' in scope
407 | 		}
408 | 	}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:413:10: error: cannot find 'isCancelled' in scope
411 | 		assert(!isBaseOperationRunning)
412 |
413 | 		guard !isCancelled else {
    |          `- error: cannot find 'isCancelled' in scope
414 | 			retryingState = .finished
415 | 			return
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:447:3: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
445 |
446 | 	public final override func cancel() {
447 | 		super.cancel()
    |   `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
448 | 		guard isAsynchronous else {cancelBaseOperation(); return}
449 |
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:469:37: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
467 |
468 | 	public final override var isExecuting: Bool {
469 | 		guard isAsynchronous else {return super.isExecuting}
    |                                     `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
470 |
471 | 		retryStateSemaphore.wait(); defer {retryStateSemaphore.signal()}
/host/spi-builder-workspace/.build/checkouts/RetryingOperation/Sources/RetryingOperation/RetryingOperation.swift:476:37: error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
474 |
475 | 	public final override var isFinished: Bool {
476 | 		guard isAsynchronous else {return super.isFinished}
    |                                     `- error: 'super' cannot be used in class 'RetryingOperation' because it has no superclass
477 |
478 | 		retryStateSemaphore.wait(); defer {retryStateSemaphore.signal()}
BUILD FAILURE 6.1 wasm