Build Information
Failed to build Future, reference 0.0.4 (ce95d1), with Swift 6.1 for Wasm on 27 May 2025 11:40:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/genius/future.git
Reference: 0.0.4
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/genius/future
* tag 0.0.4 -> FETCH_HEAD
HEAD is now at ce95d1b Merge pull request #7 from Genius/feat-thread-delivery
Cloned https://github.com/genius/future.git
Revision (git rev-parse @):
ce95d1b39d88258266b9e4843c101c92479bdba7
SUCCESS checkout https://github.com/genius/future.git at 0.0.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/genius/future.git
https://github.com/genius/future.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Future",
"name" : "Future",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Future",
"targets" : [
"Future"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FutureTests",
"module_type" : "SwiftTarget",
"name" : "FutureTests",
"path" : "Tests/FutureTests",
"sources" : [
"FutureAllTests.swift",
"FutureAnyTests.swift",
"FutureFirstTests.swift",
"FutureTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Future"
],
"type" : "test"
},
{
"c99name" : "Future",
"module_type" : "SwiftTarget",
"name" : "Future",
"path" : "Sources/Future",
"product_memberships" : [
"Future"
],
"sources" : [
"Future.swift",
"Futures.swift",
"NoError.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling Future NoError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module Future
/host/spi-builder-workspace/Sources/Future/Future.swift:128:26: error: cannot find type 'DispatchQueue' in scope
126 |
127 | @discardableResult
128 | public func then(on: DispatchQueue, block: @escaping ((Value) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
129 | return self.then { value in
130 | on.async { block(value) }
/host/spi-builder-workspace/Sources/Future/Future.swift:153:29: error: cannot find type 'DispatchQueue' in scope
151 |
152 | @discardableResult
153 | public func `catch`(on: DispatchQueue, block: @escaping ((Error) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
154 | return self.catch { error in
155 | on.async { block(error) }
/host/spi-builder-workspace/Sources/Future/Future.swift:193:37: error: cannot find type 'DispatchQueue' in scope
191 |
192 | public extension Future {
193 | static func on(_ dispatchQueue: DispatchQueue, block: @escaping (Future<T, E>.Resolver) -> Void) -> Future<T, E> {
| `- error: cannot find type 'DispatchQueue' in scope
194 | return Future { resolver in
195 | dispatchQueue.async { block(resolver) }
[5/6] Compiling Future Future.swift
/host/spi-builder-workspace/Sources/Future/Future.swift:128:26: error: cannot find type 'DispatchQueue' in scope
126 |
127 | @discardableResult
128 | public func then(on: DispatchQueue, block: @escaping ((Value) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
129 | return self.then { value in
130 | on.async { block(value) }
/host/spi-builder-workspace/Sources/Future/Future.swift:153:29: error: cannot find type 'DispatchQueue' in scope
151 |
152 | @discardableResult
153 | public func `catch`(on: DispatchQueue, block: @escaping ((Error) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
154 | return self.catch { error in
155 | on.async { block(error) }
/host/spi-builder-workspace/Sources/Future/Future.swift:193:37: error: cannot find type 'DispatchQueue' in scope
191 |
192 | public extension Future {
193 | static func on(_ dispatchQueue: DispatchQueue, block: @escaping (Future<T, E>.Resolver) -> Void) -> Future<T, E> {
| `- error: cannot find type 'DispatchQueue' in scope
194 | return Future { resolver in
195 | dispatchQueue.async { block(resolver) }
[6/6] Compiling Future Futures.swift
/host/spi-builder-workspace/Sources/Future/Future.swift:128:26: error: cannot find type 'DispatchQueue' in scope
126 |
127 | @discardableResult
128 | public func then(on: DispatchQueue, block: @escaping ((Value) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
129 | return self.then { value in
130 | on.async { block(value) }
/host/spi-builder-workspace/Sources/Future/Future.swift:153:29: error: cannot find type 'DispatchQueue' in scope
151 |
152 | @discardableResult
153 | public func `catch`(on: DispatchQueue, block: @escaping ((Error) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
154 | return self.catch { error in
155 | on.async { block(error) }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Compiling Future NoError.swift
[3/5] Emitting module Future
/host/spi-builder-workspace/Sources/Future/Future.swift:128:26: error: cannot find type 'DispatchQueue' in scope
126 |
127 | @discardableResult
128 | public func then(on: DispatchQueue, block: @escaping ((Value) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
129 | return self.then { value in
130 | on.async { block(value) }
/host/spi-builder-workspace/Sources/Future/Future.swift:153:29: error: cannot find type 'DispatchQueue' in scope
151 |
152 | @discardableResult
153 | public func `catch`(on: DispatchQueue, block: @escaping ((Error) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
154 | return self.catch { error in
155 | on.async { block(error) }
/host/spi-builder-workspace/Sources/Future/Future.swift:193:37: error: cannot find type 'DispatchQueue' in scope
191 |
192 | public extension Future {
193 | static func on(_ dispatchQueue: DispatchQueue, block: @escaping (Future<T, E>.Resolver) -> Void) -> Future<T, E> {
| `- error: cannot find type 'DispatchQueue' in scope
194 | return Future { resolver in
195 | dispatchQueue.async { block(resolver) }
[4/5] Compiling Future Future.swift
/host/spi-builder-workspace/Sources/Future/Future.swift:128:26: error: cannot find type 'DispatchQueue' in scope
126 |
127 | @discardableResult
128 | public func then(on: DispatchQueue, block: @escaping ((Value) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
129 | return self.then { value in
130 | on.async { block(value) }
/host/spi-builder-workspace/Sources/Future/Future.swift:153:29: error: cannot find type 'DispatchQueue' in scope
151 |
152 | @discardableResult
153 | public func `catch`(on: DispatchQueue, block: @escaping ((Error) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
154 | return self.catch { error in
155 | on.async { block(error) }
/host/spi-builder-workspace/Sources/Future/Future.swift:193:37: error: cannot find type 'DispatchQueue' in scope
191 |
192 | public extension Future {
193 | static func on(_ dispatchQueue: DispatchQueue, block: @escaping (Future<T, E>.Resolver) -> Void) -> Future<T, E> {
| `- error: cannot find type 'DispatchQueue' in scope
194 | return Future { resolver in
195 | dispatchQueue.async { block(resolver) }
[5/5] Compiling Future Futures.swift
/host/spi-builder-workspace/Sources/Future/Future.swift:128:26: error: cannot find type 'DispatchQueue' in scope
126 |
127 | @discardableResult
128 | public func then(on: DispatchQueue, block: @escaping ((Value) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
129 | return self.then { value in
130 | on.async { block(value) }
/host/spi-builder-workspace/Sources/Future/Future.swift:153:29: error: cannot find type 'DispatchQueue' in scope
151 |
152 | @discardableResult
153 | public func `catch`(on: DispatchQueue, block: @escaping ((Error) -> Void)) -> Future<Value, Error> {
| `- error: cannot find type 'DispatchQueue' in scope
154 | return self.catch { error in
155 | on.async { block(error) }
BUILD FAILURE 6.1 wasm