Build Information
Failed to build Then, reference 7.0.2 (709112), with Swift 6.3 for Wasm on 21 Apr 2026 15:24:47 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/freshOS/then.git
Reference: 7.0.2
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/freshOS/then
* tag 7.0.2 -> FETCH_HEAD
HEAD is now at 709112d Bumps to swift 5.9
Cloned https://github.com/freshOS/then.git
Revision (git rev-parse @):
709112d17ac9f61060b28c86d61d3f0f9b66c08a
SUCCESS checkout https://github.com/freshOS/then.git at 7.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/freshOS/then.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
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/30] Emitting module Then
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[5/30] Compiling Then Promise+Finally.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[6/30] Compiling Then Promise+First.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[7/30] Compiling Then Promise+Helpers.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[8/30] Compiling Then Promise+NoMatterWhat.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[9/30] Compiling Then Promise+Zip.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[10/30] Compiling Then Promise+nil.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[11/30] Compiling Then Promise.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[12/33] Compiling Then Promise+Progress.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[13/33] Compiling Then Promise+Race.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[14/33] Compiling Then Promise+Recover.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[15/33] Compiling Then Promise+Retry.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[16/33] Compiling Then Promise+Then.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[17/33] Compiling Then Promise+Timeout.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[18/33] Compiling Then Promise+Unwrap.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[19/33] Compiling Then Promise+Validate.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[20/33] Compiling Then Promise+BridgeError.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[21/33] Compiling Then Promise+Chain.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[22/33] Compiling Then Promise+Delay.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[23/33] Compiling Then Promise+Error.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[24/33] Compiling Then Async.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[25/33] Compiling Then Await+Operators.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[26/33] Compiling Then Await.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[27/33] Compiling Then Promise+Aliases.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[28/33] Compiling Then PromiseBlocks.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[29/33] Compiling Then PromiseError.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[30/33] Compiling Then PromiseState.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[31/33] Compiling Then VoidPromise.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[32/33] Compiling Then WhenAll.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
[33/33] Compiling Then resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:10:8: error: no such module 'Dispatch'
8 |
9 | import Foundation
10 | import Dispatch
| `- error: no such module 'Dispatch'
11 |
12 | @discardableResult
BUILD FAILURE 6.3 wasm