The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Then, reference master (709112), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 05:32:14 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/freshOS/then.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/freshOS/then
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/freshOS/then.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
[0/3] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[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:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[5/33] Compiling Then PromiseBlocks.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[6/33] Compiling Then PromiseError.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[7/33] Compiling Then PromiseState.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[8/33] Compiling Then Promise+Progress.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[9/33] Compiling Then Promise+Race.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[10/33] Compiling Then Promise+Recover.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[11/33] Compiling Then Promise+Retry.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[12/33] Compiling Then VoidPromise.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[13/33] Compiling Then WhenAll.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[14/33] Compiling Then resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[15/33] Compiling Then Promise+Then.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[16/33] Compiling Then Promise+Timeout.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[17/33] Compiling Then Promise+Unwrap.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[18/33] Compiling Then Promise+Validate.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[19/33] Compiling Then Promise+Zip.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[20/33] Compiling Then Promise+nil.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[21/33] Compiling Then Promise.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[22/33] Compiling Then Promise+Finally.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[23/33] Compiling Then Promise+First.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[24/33] Compiling Then Promise+Helpers.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[25/33] Compiling Then Promise+NoMatterWhat.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[26/33] Compiling Then Async.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[27/33] Compiling Then Await+Operators.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[28/33] Compiling Then Await.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[29/33] Compiling Then Promise+Aliases.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[30/33] Compiling Then Promise+BridgeError.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[31/33] Compiling Then Promise+Chain.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[32/33] Compiling Then Promise+Delay.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
[33/33] Compiling Then Promise+Error.swift
/host/spi-builder-workspace/Sources/Then/Async.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 | import Dispatch
11 |
BUILD FAILURE 6.2 wasm