The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Futura.swift, reference master (1dd68c), with Swift 6.4 for Wasm on 15 Sep 2026 21:25:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thedavidharris/Futura.git
Reference: master
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/thedavidharris/Futura
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1dd68ce Add documentation
Cloned https://github.com/thedavidharris/Futura.git
Revision (git rev-parse @):
1dd68cee8588d15c77dff40e699ee411bc5e1e1e
SUCCESS checkout https://github.com/thedavidharris/Futura.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/thedavidharris/Futura.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/Callback.swift:21:16: error: cannot find type 'DispatchQueue' in scope
19 |
20 |     /// Queue to execute work on
21 |     let queue: DispatchQueue
   |                `- error: cannot find type 'DispatchQueue' in scope
22 |
23 |     /// Run callback work for a given resolved value
/host/spi-builder-workspace/Sources/Collection+Future.swift:17:42: error: cannot find type 'DispatchQueue' in scope
15 |     /// - Parameter queue: queue to execute callbacks on
16 |     /// - Returns: the first completed Future
17 |     public func firstCompleted(on queue: DispatchQueue = DispatchQueue.main) -> Future<Element.Expectation> {
   |                                          `- error: cannot find type 'DispatchQueue' in scope
18 |         return Promise<Element.Expectation> { (fulfill, reject) in
19 |             if self.isEmpty {
/host/spi-builder-workspace/Sources/Collection+Future.swift:32:35: error: cannot find type 'DispatchQueue' in scope
30 |     /// - Parameter queue: queue to execute callbacks on
31 |     /// - Returns: a single Future object with an array of resolved values
32 |     public func flatten(on queue: DispatchQueue = DispatchQueue.main) -> Future<[Element.Expectation]> {
   |                                   `- error: cannot find type 'DispatchQueue' in scope
33 |         return Promise<[Element.Expectation]>{ (fullfill, reject) in
34 |             if self.isEmpty {
/host/spi-builder-workspace/Sources/Future+Do.swift:20:32: error: cannot find type 'DispatchQueue' in scope
18 |     /// - Returns: existing Future object
19 |     @discardableResult
20 |     public func `do`(on queue: DispatchQueue = DispatchQueue.main, _ action: @escaping (Value) throws -> Void) -> Future<Value> {
   |                                `- error: cannot find type 'DispatchQueue' in scope
21 |         return self.flatMap({ (value) in
22 |             return Promise({ (fulfill, reject) in
/host/spi-builder-workspace/Sources/Future+Map.swift:18:45: error: cannot find type 'DispatchQueue' in scope
16 |     /// - Returns: existing promise object
17 |     @discardableResult
18 |     public func flatMap<NewValue>(on queue: DispatchQueue = DispatchQueue.main, _ onFulfilled: @escaping (Value) throws -> Future<NewValue>) -> Future<NewValue> {
   |                                             `- error: cannot find type 'DispatchQueue' in scope
19 |         return Promise<NewValue> { (fullfill, reject) in
20 |             self.addCallback(
/host/spi-builder-workspace/Sources/Future+Retry.swift:21:23: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
19 |     /// - Returns: existing Future object
20 |     @discardableResult
21 |     public func retry<Value>(attempts: Int, delay delayTime: TimeInterval = 0, retryBody: @escaping () -> Future<Value>) -> Future<Value> {
   |                       `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
22 |
23 |         var attemptsLeft = attempts
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
 43 |
 44 | /// Generic class for a Future
 45 | public class Future<Value>: FutureType {
    |                     `- note: 'Value' previously declared here
 46 |
 47 |     /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:16:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
14 |     /// - Parameter futures: an array of futures of the same type
15 |     /// - Returns: a single promise combining the resolved values of `futures`
16 |     public static func all<Value>(_ futures: [Future<Value>]) -> Future<[Value]> {
   |                            `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
17 |         return Promise<[Value]>{ (fullfill, reject) in
18 |             if futures.isEmpty {
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
 43 |
 44 | /// Generic class for a Future
 45 | public class Future<Value>: FutureType {
    |                     `- note: 'Value' previously declared here
 46 |
 47 |     /// Generic value type
/host/spi-builder-workspace/Sources/Future+Variadic.swift:37:28: warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
35 |     /// - Parameter futures: an array of futures of the same type
36 |     /// - Returns: a single future combining the resolved values of `futures`
37 |     public static func all<Value>(_ futures: Future<Value>...) -> Future<[Value]> {
   |                            `- warning: generic parameter 'Value' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 |         return all(futures)
39 |     }
/host/spi-builder-workspace/Sources/Future.swift:45:21: note: 'Value' previously declared here
 43 |
 44 | /// Generic class for a Future
 45 | public class Future<Value>: FutureType {
    |                     `- note: 'Value' previously declared here
 46 |
 47 |     /// Generic value type
/host/spi-builder-workspace/Sources/Future.swift:41:25: error: cannot find type 'DispatchQueue' in scope
 39 |     /// - Returns: the FutureType object
 40 |     @discardableResult
 41 |     func then(on queue: DispatchQueue, _ onFulfilled: @escaping (Expectation) -> Void) -> Future<Expectation>
    |                         `- error: cannot find type 'DispatchQueue' in scope
 42 | }
 43 |
/host/spi-builder-workspace/Sources/Future.swift:103:29: error: cannot find 'DispatchQueue' in scope
101 |
102 |     /// Locked queue to allow for thread-safety within the Future object
103 |     private let lockQueue = DispatchQueue(label: "future_lock_queue", qos: .userInitiated)
    |                             `- error: cannot find 'DispatchQueue' in scope
104 |
105 |
/host/spi-builder-workspace/Sources/Future.swift:132:32: error: cannot find type 'DispatchQueue' in scope
130 |     /// - Returns: the existing promise object
131 |     @discardableResult
132 |     public func then(on queue: DispatchQueue = DispatchQueue.main, _ onFulfilled: @escaping (Value) -> Void) -> Future<Value> {
    |                                `- error: cannot find type 'DispatchQueue' in scope
133 |         addCallback(on: queue, onFulfilled: onFulfilled)
134 |         return self
/host/spi-builder-workspace/Sources/Future.swift:142:35: error: cannot find type 'DispatchQueue' in scope
140 |     /// - Returns: the existing promise object
141 |     @discardableResult
142 |     public func `catch`(on queue: DispatchQueue = DispatchQueue.main, _ onRejected: @escaping (Error) -> Void) -> Future<Value> {
    |                                   `- error: cannot find type 'DispatchQueue' in scope
143 |         addCallback(on: queue, onRejected: onRejected)
144 |         return self
/host/spi-builder-workspace/Sources/Future.swift:153:32: error: cannot find type 'DispatchQueue' in scope
151 |     ///   - onFulfilled: success callback to add
152 |     ///   - onRejected: error callback to add
153 |     func addCallback(on queue: DispatchQueue, onFulfilled: ((Value) -> ())? = nil, onRejected: ((Error) -> ())? = nil) {
    |                                `- error: cannot find type 'DispatchQueue' in scope
154 |         lockQueue.async {
155 |             let callback = Callback(onFulfilled: onFulfilled,
/host/spi-builder-workspace/Sources/Promise.swift:28:27: error: cannot find type 'DispatchQueue' in scope
26 |     ///   - queue: DispatchQueue to execute work on. Defaults to DispatchQueue.global(qos: .userInitiated)
27 |     ///   - work: Closure containing async work. Contains two internal parameters, a `resolve` closure and a `reject` closure to be executed depending on successful or unsuccessful completion of the promise
28 |     public init(on queue: DispatchQueue = DispatchQueue.global(qos: .userInitiated), _ work: @escaping (_ resolve: @escaping (Value) -> (), _ reject: @escaping (Error) -> ()) throws -> ()) {
   |                           `- error: cannot find type 'DispatchQueue' in scope
29 |         self.futureResult = Future<Value>()
30 |         queue.async {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Callback.swift /host/spi-builder-workspace/Sources/Collection+Future.swift /host/spi-builder-workspace/Sources/Either.swift /host/spi-builder-workspace/Sources/Future+Always.swift /host/spi-builder-workspace/Sources/Future+Do.swift /host/spi-builder-workspace/Sources/Future+Map.swift /host/spi-builder-workspace/Sources/Future+Race.swift /host/spi-builder-workspace/Sources/Future+Recover.swift /host/spi-builder-workspace/Sources/Future+Retry.swift /host/spi-builder-workspace/Sources/Future+Time.swift /host/spi-builder-workspace/Sources/Future+Validate.swift /host/spi-builder-workspace/Sources/Future+Variadic.swift /host/spi-builder-workspace/Sources/Future+Wrap.swift /host/spi-builder-workspace/Sources/Future.swift /host/spi-builder-workspace/Sources/FutureError.swift /host/spi-builder-workspace/Sources/Promise+Void.swift /host/spi-builder-workspace/Sources/Promise.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4.2 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Futura -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/Objects-normal/wasm32/Futura_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/Objects-normal/wasm32/Modules/Futura.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/Objects-normal/wasm32/Modules/Futura.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/Objects-normal/wasm32/Futura-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/Objects-normal/wasm32/Futura-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/Objects-normal/wasm32/Futura-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Futura.swift.build/Debug-webassembly-wasm32/Futura-t.build/Objects-normal/wasm32/Modules/Futura.swiftmodule
[27 / 35] Futura
error: Build failed
BUILD FAILURE 6.4 wasm