Build Information
Failed to build OperationAwaiting, reference 1.3.0-beta.1 (ab3495
), with Swift 6.1 for Wasm on 28 May 2025 11:37:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/OperationAwaiting.git
Reference: 1.3.0-beta.1
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.3.0-beta.1 -> FETCH_HEAD
HEAD is now at ab34956 Use HasResult v2
Cloned https://github.com/Frizlab/OperationAwaiting.git
Revision (git rev-parse @):
ab349561964c500a1794e8053c4edd76833d9c01
SUCCESS checkout https://github.com/Frizlab/OperationAwaiting.git at 1.3.0-beta.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Frizlab/OperationAwaiting.git
https://github.com/Frizlab/OperationAwaiting.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "hasresult",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Frizlab/HasResult.git"
},
{
"identity" : "retryingoperation",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/happn-app/RetryingOperation.git"
}
],
"manifest_display_name" : "OperationAwaiting",
"name" : "OperationAwaiting",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "OperationAwaiting",
"targets" : [
"OperationAwaiting"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OperationAwaitingTests",
"module_type" : "SwiftTarget",
"name" : "OperationAwaitingTests",
"path" : "Tests/OperationAwaitingTests",
"product_dependencies" : [
"HasResult",
"RetryingOperation"
],
"sources" : [
"Helpers/AsyncOperation.swift",
"Helpers/AsyncOperationWithResult.swift",
"OperationAwaitingTests.swift"
],
"target_dependencies" : [
"OperationAwaiting"
],
"type" : "test"
},
{
"c99name" : "OperationAwaiting",
"module_type" : "SwiftTarget",
"name" : "OperationAwaiting",
"path" : "Sources/OperationAwaiting",
"product_dependencies" : [
"HasResult"
],
"product_memberships" : [
"OperationAwaiting"
],
"sources" : [
"Operation+Async.swift",
"OperationQueue+Async.swift",
"SendableOperation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Frizlab/HasResult.git
Fetching https://github.com/happn-app/RetryingOperation.git
[1/22] Fetching hasresult
Fetched https://github.com/Frizlab/HasResult.git from cache (0.24s)
[1/395] Fetching retryingoperation
Fetched https://github.com/happn-app/RetryingOperation.git from cache (0.28s)
Computing version for https://github.com/Frizlab/HasResult.git
Computed https://github.com/Frizlab/HasResult.git at 2.0.0 (0.89s)
Computing version for https://github.com/happn-app/RetryingOperation.git
Computed https://github.com/happn-app/RetryingOperation.git at 1.1.8 (0.67s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.29s)
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
Creating working copy for https://github.com/Frizlab/HasResult.git
Working copy of https://github.com/Frizlab/HasResult.git resolved at 2.0.0
Creating working copy for https://github.com/happn-app/RetryingOperation.git
Working copy of https://github.com/happn-app/RetryingOperation.git resolved at 1.1.8
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
[7/10] Compiling OperationAwaiting SendableOperation.swift
/host/spi-builder-workspace/Sources/OperationAwaiting/SendableOperation.swift:5:37: error: cannot find type 'Operation' in scope
3 |
4 |
5 | public protocol SendableOperation : Operation, Sendable {
| `- error: cannot find type 'Operation' in scope
6 | }
7 |
[8/10] 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/SendableOperation.swift:5:37: error: cannot find type 'Operation' in scope
3 |
4 |
5 | public protocol SendableOperation : Operation, Sendable {
| `- error: cannot find type 'Operation' in scope
6 | }
7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/10] Emitting module OperationAwaiting
/host/spi-builder-workspace/Sources/OperationAwaiting/SendableOperation.swift:5:37: error: cannot find type 'Operation' in scope
3 |
4 |
5 | public protocol SendableOperation : Operation, Sendable {
| `- error: cannot find type 'Operation' in scope
6 | }
7 |
/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 | /**
[10/10] Compiling OperationAwaiting Operation+Async.swift
/host/spi-builder-workspace/Sources/OperationAwaiting/SendableOperation.swift:5:37: error: cannot find type 'Operation' in scope
3 |
4 |
5 | public protocol SendableOperation : Operation, Sendable {
| `- error: cannot find type 'Operation' in scope
6 | }
7 |
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:10:10: error: cannot find 'completionBlock' in scope
8 |
9 | func startAndWait() async {
10 | assert(completionBlock == nil, "Async support for Operation, as implemented, requires the completion block to be left nil.")
| `- error: cannot find 'completionBlock' in scope
11 | await withTaskCancellationHandler(operation: {
12 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:13:5: error: cannot find 'completionBlock' in scope
11 | await withTaskCancellationHandler(operation: {
12 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
13 | completionBlock = { continuation.resume() }
| `- error: cannot find 'completionBlock' in scope
14 | start()
15 | }
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:14:5: error: cannot find 'start' in scope
12 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
13 | completionBlock = { continuation.resume() }
14 | start()
| `- error: cannot find 'start' in scope
15 | }
16 | }, onCancel: { cancel() })
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:16:18: error: cannot find 'cancel' in scope
14 | start()
15 | }
16 | }, onCancel: { cancel() })
| `- error: cannot find 'cancel' in scope
17 | }
18 |
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:25:10: error: cannot find 'completionBlock' in scope
23 |
24 | func startAndGetResult() async throws -> Success {
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(operation: {
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<Success, Error>) -> Void in
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:28:5: error: cannot find 'completionBlock' in scope
26 | return try await withTaskCancellationHandler(operation: {
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<Success, 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<Success, Error>) -> Void in
28 | completionBlock = { continuation.resume(with: self.result) }
29 | start()
| `- error: cannot find 'start' in scope
30 | }
31 | }, onCancel: { cancel() })
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:31:18: error: cannot find 'cancel' in scope
29 | start()
30 | }
31 | }, onCancel: { cancel() })
| `- error: cannot find 'cancel' in scope
32 | }
33 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/3] Emitting module HasResult
[3/3] Compiling HasResult HasResult.swift
[5/8] Compiling OperationAwaiting SendableOperation.swift
/host/spi-builder-workspace/Sources/OperationAwaiting/SendableOperation.swift:5:37: error: cannot find type 'Operation' in scope
3 |
4 |
5 | public protocol SendableOperation : Operation, Sendable {
| `- error: cannot find type 'Operation' in scope
6 | }
7 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module OperationAwaiting
/host/spi-builder-workspace/Sources/OperationAwaiting/SendableOperation.swift:5:37: error: cannot find type 'Operation' in scope
3 |
4 |
5 | public protocol SendableOperation : Operation, Sendable {
| `- error: cannot find type 'Operation' in scope
6 | }
7 |
/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 | /**
[7/8] 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/SendableOperation.swift:5:37: error: cannot find type 'Operation' in scope
3 |
4 |
5 | public protocol SendableOperation : Operation, Sendable {
| `- error: cannot find type 'Operation' in scope
6 | }
7 |
[8/8] Compiling OperationAwaiting Operation+Async.swift
/host/spi-builder-workspace/Sources/OperationAwaiting/SendableOperation.swift:5:37: error: cannot find type 'Operation' in scope
3 |
4 |
5 | public protocol SendableOperation : Operation, Sendable {
| `- error: cannot find type 'Operation' in scope
6 | }
7 |
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:10:10: error: cannot find 'completionBlock' in scope
8 |
9 | func startAndWait() async {
10 | assert(completionBlock == nil, "Async support for Operation, as implemented, requires the completion block to be left nil.")
| `- error: cannot find 'completionBlock' in scope
11 | await withTaskCancellationHandler(operation: {
12 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:13:5: error: cannot find 'completionBlock' in scope
11 | await withTaskCancellationHandler(operation: {
12 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
13 | completionBlock = { continuation.resume() }
| `- error: cannot find 'completionBlock' in scope
14 | start()
15 | }
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:14:5: error: cannot find 'start' in scope
12 | await withCheckedContinuation{ (continuation: CheckedContinuation<Void, Never>) -> Void in
13 | completionBlock = { continuation.resume() }
14 | start()
| `- error: cannot find 'start' in scope
15 | }
16 | }, onCancel: { cancel() })
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:16:18: error: cannot find 'cancel' in scope
14 | start()
15 | }
16 | }, onCancel: { cancel() })
| `- error: cannot find 'cancel' in scope
17 | }
18 |
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:25:10: error: cannot find 'completionBlock' in scope
23 |
24 | func startAndGetResult() async throws -> Success {
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(operation: {
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<Success, Error>) -> Void in
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:28:5: error: cannot find 'completionBlock' in scope
26 | return try await withTaskCancellationHandler(operation: {
27 | try await withCheckedThrowingContinuation{ (continuation: CheckedContinuation<Success, 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<Success, Error>) -> Void in
28 | completionBlock = { continuation.resume(with: self.result) }
29 | start()
| `- error: cannot find 'start' in scope
30 | }
31 | }, onCancel: { cancel() })
/host/spi-builder-workspace/Sources/OperationAwaiting/Operation+Async.swift:31:18: error: cannot find 'cancel' in scope
29 | start()
30 | }
31 | }, onCancel: { cancel() })
| `- error: cannot find 'cancel' in scope
32 | }
33 |
BUILD FAILURE 6.1 wasm