Build Information
Failed to build FutureResult, reference 1.0.0 (04e845), with Swift 6.3 for Wasm on 14 Apr 2026 09:28:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/tapsandswipes/FutureResult.git
Reference: 1.0.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/tapsandswipes/FutureResult
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 04e8452 Update dependency
Cloned https://github.com/tapsandswipes/FutureResult.git
Revision (git rev-parse @):
04e8452df265ee7b0c89707d1b2e12a91d212b1a
SUCCESS checkout https://github.com/tapsandswipes/FutureResult.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/tapsandswipes/FutureResult.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/tapsandswipes/Chainable.git
[1/51] Fetching chainable
Fetched https://github.com/tapsandswipes/Chainable.git from cache (0.29s)
Computing version for https://github.com/tapsandswipes/Chainable.git
Computed https://github.com/tapsandswipes/Chainable.git at 1.0.0 (1.70s)
Creating working copy for https://github.com/tapsandswipes/Chainable.git
Working copy of https://github.com/tapsandswipes/Chainable.git resolved at 1.0.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/9] Emitting module FunctionComposition
[7/9] Compiling FunctionComposition FunctionComposition.swift
[9/10] Emitting module Chainable
[10/10] Compiling Chainable Chainable.swift
[12/18] Compiling ResultExtras Result+Utils.swift
[13/18] Compiling ResultExtras Result+Initializers.swift
[14/18] Compiling ResultExtras Result+Transforms.swift
[15/18] Compiling ResultExtras Result+Composition.swift
[16/18] Compiling ResultExtras Result+Chainable.swift
/host/spi-builder-workspace/Sources/ResultExtras/Result+Chainable.swift:4:1: warning: extension declares a conformance of imported type 'Result' to imported protocol 'Chainable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Chainable
3 |
4 | extension Result: Chainable {}
| |- warning: extension declares a conformance of imported type 'Result' to imported protocol 'Chainable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
6 | public
[17/18] Emitting module ResultExtras
/host/spi-builder-workspace/Sources/ResultExtras/Result+Chainable.swift:4:1: warning: extension declares a conformance of imported type 'Result' to imported protocol 'Chainable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
2 | import Chainable
3 |
4 | extension Result: Chainable {}
| |- warning: extension declares a conformance of imported type 'Result' to imported protocol 'Chainable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
6 | public
[18/18] Compiling ResultExtras Result+Accessors.swift
[20/31] Compiling FutureResult FutureResult+Utils.swift
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Utils.swift:52:19: error: cannot find type 'Progress' in scope
50 | public
51 | protocol ProgressReporter {
52 | var progress: Progress { get }
| `- error: cannot find type 'Progress' in scope
53 | }
54 |
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Utils.swift:58:26: error: cannot find type 'Progress' in scope
56 | struct FutureResultProgress<R, E: Error>: ProgressReporter {
57 | public let future: FutureResult<R, E>
58 | public let progress: Progress
| `- error: cannot find type 'Progress' in scope
59 |
60 | public init(future: FutureResult<R, E>, progress: Progress) {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Utils.swift:60:55: error: cannot find type 'Progress' in scope
58 | public let progress: Progress
59 |
60 | public init(future: FutureResult<R, E>, progress: Progress) {
| `- error: cannot find type 'Progress' in scope
61 | self.future = future
62 | self.progress = progress
[21/32] Compiling FutureResult FutureResult+Initializers.swift
[22/32] Compiling FutureResult FutureResult+Monoid.swift
[23/32] Compiling FutureResult FutureResult+Scheduling.swift
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:10:28: error: cannot find type 'DispatchQueue' in scope
8 | /// - Parameter queue: the queue whwere the calback should be called
9 | /// - Returns: a new future properly configured
10 | func deliver(on queue: DispatchQueue) -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
11 | Self { cb in
12 | self.run { r in
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:23:28: error: cannot find type 'DispatchQueue' in scope
21 | /// - Parameter queue: the queue where the future will run
22 | /// - Returns: a new future properly configured
23 | func perform(in queue: DispatchQueue) -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
24 | Self { cb in
25 | queue.async {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:34:25: error: cannot find type 'DispatchQueue' in scope
32 | /// - Parameter queue: the queue where the future will run
33 | /// - Returns: a new future properly configured
34 | func sync(on queue: DispatchQueue? = nil) -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
35 | FutureResult { cb in
36 | if let queue = queue {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:49:32: error: cannot find type 'DispatchSemaphore' in scope
47 | /// - Parameter semaphore: the semaphore to use for synchronization
48 | /// - Returns: a new future properly configured
49 | func sync(using semaphore: DispatchSemaphore) -> Self {
| `- error: cannot find type 'DispatchSemaphore' in scope
50 | FutureResult { cb in
51 | waitQueue.async {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:91:25: error: cannot find 'DispatchQueue' in scope
89 | }
90 |
91 | private let waitQueue = DispatchQueue(label: "com.tas.future.wait-queue", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
92 |
93 |
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:91:88: error: cannot infer contextual base in reference to member 'concurrent'
89 | }
90 |
91 | private let waitQueue = DispatchQueue(label: "com.tas.future.wait-queue", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
92 |
93 |
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:65:25: error: cannot find 'DispatchSemaphore' in scope
63 | func runSync() -> Result<R, E> {
64 | var r: Result<R, E>!
65 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
66 | waitQueue.async {
67 | run {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:82:49: error: cannot call value of non-function type 'Date'
80 | return Self { callback in
81 | self.run { r in
82 | waitQueue.asyncAfter(deadline: .now() + interval) {
| `- error: cannot call value of non-function type 'Date'
83 | callback(r)
84 | }
[24/32] Compiling FutureResult FutureResult.swift
[25/32] Compiling FutureResult FutureResult+Transforms.swift
[26/32] Compiling FutureResult FutureResult+Chainable.swift
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Composition.swift:14:29: error: cannot find 'DispatchGroup' in scope
12 | FutureResult<[Result<U, UE>], E> { cb in
13 | let results: Atomic<[Result<U, UE>]> = Atomic([])
14 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
15 | r.forEach {
16 | group.enter()
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Composition.swift:48:21: error: cannot find 'DispatchGroup' in scope
46 | var f2r: Result<B, E>!
47 |
48 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
49 |
50 | group.enter(); f1.run { f1r = $0; group.leave() }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Composition.swift:70:21: error: cannot find 'DispatchGroup' in scope
68 | var f3r: Result<C, E>!
69 |
70 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
71 |
72 | group.enter(); f1.run { f1r = $0; group.leave() }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Composition.swift:95:21: error: cannot find 'DispatchGroup' in scope
93 | var f4r: Result<D, E>!
94 |
95 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
96 |
97 | group.enter(); f1.run { f1r = $0; group.leave() }
[27/32] Compiling FutureResult FutureResult+Composition.swift
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Composition.swift:14:29: error: cannot find 'DispatchGroup' in scope
12 | FutureResult<[Result<U, UE>], E> { cb in
13 | let results: Atomic<[Result<U, UE>]> = Atomic([])
14 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
15 | r.forEach {
16 | group.enter()
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Composition.swift:48:21: error: cannot find 'DispatchGroup' in scope
46 | var f2r: Result<B, E>!
47 |
48 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
49 |
50 | group.enter(); f1.run { f1r = $0; group.leave() }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Composition.swift:70:21: error: cannot find 'DispatchGroup' in scope
68 | var f3r: Result<C, E>!
69 |
70 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
71 |
72 | group.enter(); f1.run { f1r = $0; group.leave() }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Composition.swift:95:21: error: cannot find 'DispatchGroup' in scope
93 | var f4r: Result<D, E>!
94 |
95 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
96 |
97 | group.enter(); f1.run { f1r = $0; group.leave() }
[28/32] Compiling FutureResult Atomic.swift
/host/spi-builder-workspace/Sources/FutureResult/Atomic.swift:4:25: error: cannot find 'DispatchQueue' in scope
2 |
3 | final class Atomic<A> {
4 | private let queue = DispatchQueue(label: "Atomic serial queue")
| `- error: cannot find 'DispatchQueue' in scope
5 | private var _value: A
6 | init(_ value: A) {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:9:65: warning: converting a value of type '(__shared sending Result<R, E>) -> ()' to type '(Result<R, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
7 | extension FutureResult {
8 | func run() async throws -> R {
9 | try await withCheckedThrowingContinuation { self.run($0.resume) }
| |- warning: converting a value of type '(__shared sending Result<R, E>) -> ()' to type '(Result<R, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
10 | }
11 | }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:17:69: warning: converting a value of type '(__shared sending Result<(), E>) -> ()' to type '(Result<(), E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
15 | extension FutureResult where R == Void {
16 | func run() async throws {
17 | _ = try await withCheckedThrowingContinuation { self.run($0.resume(with:)) }
| |- warning: converting a value of type '(__shared sending Result<(), E>) -> ()' to type '(Result<(), E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
18 | }
19 | }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:25:53: warning: converting a value of type '(__shared sending Result<R, Never>) -> ()' to type '(Result<R, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
23 | extension FutureResult where E == Never {
24 | func run() async -> R {
25 | await withCheckedContinuation { self.run($0.resume) }
| |- warning: converting a value of type '(__shared sending Result<R, Never>) -> ()' to type '(Result<R, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
26 | }
27 | }
[29/32] Compiling FutureResult FutureResult+Async.swift
/host/spi-builder-workspace/Sources/FutureResult/Atomic.swift:4:25: error: cannot find 'DispatchQueue' in scope
2 |
3 | final class Atomic<A> {
4 | private let queue = DispatchQueue(label: "Atomic serial queue")
| `- error: cannot find 'DispatchQueue' in scope
5 | private var _value: A
6 | init(_ value: A) {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:9:65: warning: converting a value of type '(__shared sending Result<R, E>) -> ()' to type '(Result<R, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
7 | extension FutureResult {
8 | func run() async throws -> R {
9 | try await withCheckedThrowingContinuation { self.run($0.resume) }
| |- warning: converting a value of type '(__shared sending Result<R, E>) -> ()' to type '(Result<R, E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
10 | }
11 | }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:17:69: warning: converting a value of type '(__shared sending Result<(), E>) -> ()' to type '(Result<(), E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
15 | extension FutureResult where R == Void {
16 | func run() async throws {
17 | _ = try await withCheckedThrowingContinuation { self.run($0.resume(with:)) }
| |- warning: converting a value of type '(__shared sending Result<(), E>) -> ()' to type '(Result<(), E>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
18 | }
19 | }
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Async.swift:25:53: warning: converting a value of type '(__shared sending Result<R, Never>) -> ()' to type '(Result<R, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
23 | extension FutureResult where E == Never {
24 | func run() async -> R {
25 | await withCheckedContinuation { self.run($0.resume) }
| |- warning: converting a value of type '(__shared sending Result<R, Never>) -> ()' to type '(Result<R, Never>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
26 | }
27 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/32] Emitting module FutureResult
/host/spi-builder-workspace/Sources/FutureResult/Atomic.swift:4:25: error: cannot find 'DispatchQueue' in scope
2 |
3 | final class Atomic<A> {
4 | private let queue = DispatchQueue(label: "Atomic serial queue")
| `- error: cannot find 'DispatchQueue' in scope
5 | private var _value: A
6 | init(_ value: A) {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:10:28: error: cannot find type 'DispatchQueue' in scope
8 | /// - Parameter queue: the queue whwere the calback should be called
9 | /// - Returns: a new future properly configured
10 | func deliver(on queue: DispatchQueue) -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
11 | Self { cb in
12 | self.run { r in
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:23:28: error: cannot find type 'DispatchQueue' in scope
21 | /// - Parameter queue: the queue where the future will run
22 | /// - Returns: a new future properly configured
23 | func perform(in queue: DispatchQueue) -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
24 | Self { cb in
25 | queue.async {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:34:25: error: cannot find type 'DispatchQueue' in scope
32 | /// - Parameter queue: the queue where the future will run
33 | /// - Returns: a new future properly configured
34 | func sync(on queue: DispatchQueue? = nil) -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
35 | FutureResult { cb in
36 | if let queue = queue {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:49:32: error: cannot find type 'DispatchSemaphore' in scope
47 | /// - Parameter semaphore: the semaphore to use for synchronization
48 | /// - Returns: a new future properly configured
49 | func sync(using semaphore: DispatchSemaphore) -> Self {
| `- error: cannot find type 'DispatchSemaphore' in scope
50 | FutureResult { cb in
51 | waitQueue.async {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:91:25: error: cannot find 'DispatchQueue' in scope
89 | }
90 |
91 | private let waitQueue = DispatchQueue(label: "com.tas.future.wait-queue", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
92 |
93 |
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Scheduling.swift:91:88: error: cannot infer contextual base in reference to member 'concurrent'
89 | }
90 |
91 | private let waitQueue = DispatchQueue(label: "com.tas.future.wait-queue", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
92 |
93 |
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Utils.swift:52:19: error: cannot find type 'Progress' in scope
50 | public
51 | protocol ProgressReporter {
52 | var progress: Progress { get }
| `- error: cannot find type 'Progress' in scope
53 | }
54 |
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Utils.swift:58:26: error: cannot find type 'Progress' in scope
56 | struct FutureResultProgress<R, E: Error>: ProgressReporter {
57 | public let future: FutureResult<R, E>
58 | public let progress: Progress
| `- error: cannot find type 'Progress' in scope
59 |
60 | public init(future: FutureResult<R, E>, progress: Progress) {
/host/spi-builder-workspace/Sources/FutureResult/FutureResult+Utils.swift:60:55: error: cannot find type 'Progress' in scope
58 | public let progress: Progress
59 |
60 | public init(future: FutureResult<R, E>, progress: Progress) {
| `- error: cannot find type 'Progress' in scope
61 | self.future = future
62 | self.progress = progress
[31/32] Compiling FutureResult FutureResult+Debug.swift
[32/32] Compiling FutureResult FutureResult+Functor.swift
BUILD FAILURE 6.3 wasm