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 Rester, reference 0.8.1 (2c477e), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 07:15:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/finestructure/Rester.git
Reference: 0.8.1
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/finestructure/Rester
 * tag               0.8.1      -> FETCH_HEAD
HEAD is now at 2c477e6 Merge pull request #100 from finestructure/develop
Cloned https://github.com/finestructure/Rester.git
Revision (git rev-parse @):
2c477e6c6566a952e096a41d6db29f7dfb86ba7b
SUCCESS checkout https://github.com/finestructure/Rester.git at 0.8.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/finestructure/Rester.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/mxcl/Path.swift.git
Fetching https://github.com/mxcl/PromiseKit
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/pointfreeco/swift-gen.git
Fetching https://github.com/PromiseKit/Foundation.git
[1/609] Fetching foundation
[610/1805] Fetching foundation, rainbow
[1519/2517] Fetching foundation, rainbow, swift-gen
[2518/3576] Fetching foundation, rainbow, swift-gen, path.swift
[2826/20762] Fetching foundation, rainbow, swift-gen, path.swift, promisekit
[9077/33989] Fetching foundation, rainbow, swift-gen, path.swift, promisekit, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-gen.git from cache (0.53s)
Fetched https://github.com/PromiseKit/Foundation.git from cache (0.53s)
[10136/32668] Fetching rainbow, path.swift, promisekit, swift-snapshot-testing
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/mxcl/LegibleError.git
[20210/34256] Fetching rainbow, path.swift, promisekit, swift-snapshot-testing, commander
[23147/34434] Fetching rainbow, path.swift, promisekit, swift-snapshot-testing, commander, legibleerror
Fetched https://github.com/kylef/Commander.git from cache (0.28s)
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/mxcl/LegibleError.git from cache (0.30s)
[21690/32668] Fetching rainbow, path.swift, promisekit, swift-snapshot-testing
Fetching https://github.com/finestructure/ValueCodable
[23675/32843] Fetching rainbow, path.swift, promisekit, swift-snapshot-testing, valuecodable
[23850/43702] Fetching rainbow, path.swift, promisekit, swift-snapshot-testing, valuecodable, yams
Fetched https://github.com/finestructure/ValueCodable from cache (0.30s)
Fetching https://github.com/crossroadlabs/Regex.git
[23783/43527] Fetching rainbow, path.swift, promisekit, swift-snapshot-testing, yams
Fetched https://github.com/onevcat/Rainbow.git from cache (1.28s)
[25260/42331] Fetching path.swift, promisekit, swift-snapshot-testing, yams
[29790/43627] Fetching path.swift, promisekit, swift-snapshot-testing, yams, regex
Fetched https://github.com/crossroadlabs/Regex.git from cache (0.30s)
[34573/42331] Fetching path.swift, promisekit, swift-snapshot-testing, yams
Fetched https://github.com/mxcl/Path.swift.git from cache (4.40s)
Fetched https://github.com/mxcl/PromiseKit from cache (4.42s)
Fetched https://github.com/jpsim/Yams.git from cache (3.60s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.46s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (5.61s)
Computing version for https://github.com/crossroadlabs/Regex.git
Computed https://github.com/crossroadlabs/Regex.git at 1.2.0 (2.64s)
Computing version for https://github.com/PromiseKit/Foundation.git
Computed https://github.com/PromiseKit/Foundation.git at 3.4.0 (0.46s)
Computing version for https://github.com/finestructure/ValueCodable
Computed https://github.com/finestructure/ValueCodable at 0.2.0 (0.40s)
Computing version for https://github.com/pointfreeco/swift-gen.git
Computed https://github.com/pointfreeco/swift-gen.git at 0.4.0 (0.70s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.2 (1.02s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.35s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.14s)
Computing version for https://github.com/mxcl/LegibleError.git
Computed https://github.com/mxcl/LegibleError.git at 1.0.6 (1.05s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.47s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.22.1 (0.71s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.4 (0.55s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/swiftlang/swift-syntax
[1/4581] Fetching swift-custom-dump
[4582/75487] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (6.69s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.74s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (7.14s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.15s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (2.53s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.39s)
Computing version for https://github.com/mxcl/Path.swift.git
Computed https://github.com/mxcl/Path.swift.git at 0.16.3 (3.08s)
Creating working copy for https://github.com/crossroadlabs/Regex.git
Working copy of https://github.com/crossroadlabs/Regex.git resolved at 1.2.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/mxcl/Path.swift.git
Working copy of https://github.com/mxcl/Path.swift.git resolved at 0.16.3
Creating working copy for https://github.com/PromiseKit/Foundation.git
Working copy of https://github.com/PromiseKit/Foundation.git resolved at 3.4.0
Creating working copy for https://github.com/finestructure/ValueCodable
Working copy of https://github.com/finestructure/ValueCodable resolved at 0.2.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/pointfreeco/swift-gen.git
Working copy of https://github.com/pointfreeco/swift-gen.git resolved at 0.4.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/mxcl/LegibleError.git
Working copy of https://github.com/mxcl/LegibleError.git resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.22.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.18.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2
Building for debugging...
[0/33] Write sources
[12/33] Compiling writer.c
[12/33] Compiling reader.c
[14/33] Write swift-version-24593BA9C3E375BF.txt
[15/33] Compiling parser.c
[16/33] Compiling api.c
[17/80] Compiling emitter.c
[18/82] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/83] Emitting module PromiseKit
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[21/106] Compiling Regex String+Regex.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
[22/106] Compiling Rainbow Style.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[23/108] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[24/108] Compiling Regex RegexOptions.swift
/host/spi-builder-workspace/.build/checkouts/Regex/Sources/Regex/GroupRangeUtils.swift:17:8: error: no such module 'Foundation'
15 | //===----------------------------------------------------------------------===//
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | enum InvalidRangeError : Error {
[25/108] Compiling PromiseKit race.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[26/108] Compiling PromiseKit when.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | enum Sealant<R> {
[27/108] Compiling Path Path+CommonDirectories.swift
/host/spi-builder-workspace/.build/checkouts/Path.swift/Sources/Extensions.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | /// Extensions on Foundation’s `Bundle` so you get `Path` rather than `String` or `URL`.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/108] Emitting module LegibleError
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if os(Linux)
[29/108] Compiling LegibleError LegibleError.swift
/host/spi-builder-workspace/.build/checkouts/LegibleError/Sources/LegibleError.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | #if os(Linux)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/109] Emitting module ValueCodable
/host/spi-builder-workspace/.build/checkouts/ValueCodable/Sources/ValueCodable/Utils.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
[31/109] Compiling ValueCodable Utils.swift
/host/spi-builder-workspace/.build/checkouts/ValueCodable/Sources/ValueCodable/Utils.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/109] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
BUILD FAILURE 6.2 wasm