Build Information
Failed to build OperationAwaiting, reference 1.2.0 (a1c40b), with Swift 6.3 for Wasm on 13 Apr 2026 11:14:04 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/OperationAwaiting.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/OperationAwaiting
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at a1c40b3 Make project compatible w/ previous OS versions
Cloned https://github.com/Frizlab/OperationAwaiting.git
Revision (git rev-parse @):
a1c40b3e1fc6d837adee76d4fb924e27441151a3
SUCCESS checkout https://github.com/Frizlab/OperationAwaiting.git at 1.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Frizlab/OperationAwaiting.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/Frizlab/HasResult.git
Fetching https://github.com/happn-tech/RetryingOperation.git
[1/395] Fetching retryingoperation
[396/417] Fetching retryingoperation, hasresult
Fetched https://github.com/happn-tech/RetryingOperation.git from cache (0.25s)
Fetched https://github.com/Frizlab/HasResult.git from cache (0.26s)
Computing version for https://github.com/Frizlab/HasResult.git
Computed https://github.com/Frizlab/HasResult.git at 1.0.0 (0.76s)
Computing version for https://github.com/happn-tech/RetryingOperation.git
Computed https://github.com/happn-tech/RetryingOperation.git at 1.1.8 (0.81s)
Fetching https://github.com/apple/swift-log.git
[1/6522] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.51s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.11.0 (1.05s)
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/Frizlab/HasResult.git
Working copy of https://github.com/Frizlab/HasResult.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.11.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module HasResult
[5/5] Compiling HasResult HasResult.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Emitting module OperationAwaiting
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:7:18: error: cannot find type 'Operation' in scope
5 |
6 |
7 | public extension Operation {
| `- error: cannot find type 'Operation' in scope
8 |
9 | func startAndWait() async {
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:22:41: error: cannot find type 'Operation' in scope
20 |
21 |
22 | public extension HasResult where Self : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | func startAndGetResult() async throws -> ResultType {
/host/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:7:18: error: cannot find type 'OperationQueue' in scope
5 |
6 |
7 | public extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
8 |
9 | /**
[8/9] Compiling OperationAwaiting Operation+Async.swift
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:7:18: error: cannot find type 'Operation' in scope
5 |
6 |
7 | public extension Operation {
| `- error: cannot find type 'Operation' in scope
8 |
9 | func startAndWait() async {
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:22:41: error: cannot find type 'Operation' in scope
20 |
21 |
22 | public extension HasResult where Self : Operation {
| `- error: cannot find type 'Operation' in scope
23 |
24 | func startAndGetResult() async throws -> ResultType {
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:25:10: error: cannot find 'completionBlock' in scope
23 |
24 | func startAndGetResult() async throws -> ResultType {
25 | assert(completionBlock == nil, "Async support for Operation, as implemented, requires the completion block to be left nil.")
| `- error: cannot find 'completionBlock' in scope
26 | return try await withTaskCancellationHandler(handler: { cancel() }, operation: {
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<ResultType, Error>) -> Void in
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:26:59: error: cannot find 'cancel' in scope
24 | func startAndGetResult() async throws -> ResultType {
25 | assert(completionBlock == nil, "Async support for Operation, as implemented, requires the completion block to be left nil.")
26 | return try await withTaskCancellationHandler(handler: { cancel() }, operation: {
| `- error: cannot find 'cancel' in scope
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<ResultType, Error>) -> Void in
28 | completionBlock = { continuation.resume(with: self.result) }
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:28:5: error: cannot find 'completionBlock' in scope
26 | return try await withTaskCancellationHandler(handler: { cancel() }, operation: {
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<ResultType, Error>) -> Void in
28 | completionBlock = { continuation.resume(with: self.result) }
| `- error: cannot find 'completionBlock' in scope
29 | start()
30 | }
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:29:5: error: cannot find 'start' in scope
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<ResultType, Error>) -> Void in
28 | completionBlock = { continuation.resume(with: self.result) }
29 | start()
| `- error: cannot find 'start' in scope
30 | }
31 | })
[9/9] Compiling OperationAwaiting OperationQueue+Async.swift
/host/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:7:18: error: cannot find type 'OperationQueue' in scope
5 |
6 |
7 | public extension OperationQueue {
| `- error: cannot find type 'OperationQueue' in scope
8 |
9 | /**
/host/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:13:33: error: cannot find type 'Operation' in scope
11 |
12 | If the current task is cancelled, the operation will be cancelled too. */
13 | func addOperationAndWait(_ op: Operation) async {
| `- error: cannot find type 'Operation' in scope
14 | await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
15 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
/host/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:28:36: error: cannot find type 'Operation' in scope
26 |
27 | If the current task is cancelled, all of the operations will be cancelled too. */
28 | func addOperationsAndWait(_ ops: [Operation]) async {
| `- error: cannot find type 'Operation' in scope
29 | await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
30 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
/host/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:43:36: error: cannot find type 'Operation' in scope
41 |
42 | If the current task is cancelled, the operation will be cancelled too. */
43 | func addOperationAndGetResult<O : Operation>(_ op: O) async throws -> O.ResultType where O : HasResult {
| `- error: cannot find type 'Operation' in scope
44 | return try await withTaskCancellationHandler(handler: { op.cancel() }, operation: {
45 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<O.ResultType, Error>) -> Void in
/host/spi-builder-workspace/Sources/OperationAwaiting/OperationQueue+Async.swift:59:38: error: cannot find type 'Operation' in scope
57 |
58 | If the current task is cancelled, all of the operations will be cancelled too. */
59 | func addOperationsAndGetResults<O : Operation>(_ ops: [O]) async -> [Result<O.ResultType, Error>] where O : HasResult {
| `- error: cannot find type 'Operation' in scope
60 | return await withTaskCancellationHandler(handler: { ops.forEach{ $0.cancel() } }, operation: {
61 | await withCheckedContinuation{ (continuation: CheckedContinuation<[Result<O.ResultType, Error>], Never>) -> Void in
BUILD FAILURE 6.3 wasm