Build Information
Failed to build swifty, reference main (ee6328), with Swift 6.2 for Wasm on 22 Jun 2025 02:05:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/peterkos/swifty.git
Reference: main
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/peterkos/swifty
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ee63289 Add README
Cloned https://github.com/peterkos/swifty.git
Revision (git rev-parse @):
ee632896a1c83ea23a6ab74be8141ca52bbfea7f
SUCCESS checkout https://github.com/peterkos/swifty.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/peterkos/swifty.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Fetching https://github.com/JohnSundell/Files
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/980] Fetching shellout
[188/2228] Fetching shellout, files
[2229/17608] Fetching shellout, files, swift-argument-parser
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.17s)
Fetched https://github.com/JohnSundell/Files from cache (1.18s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.18s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 4.3.0 (3.59s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.37s)
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 4.3.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/14] Write sources
[6/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/20] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | import Dispatch
9 |
[9/20] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | import Dispatch
9 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/20] Emitting module Files
/host/spi-builder-workspace/.build/checkouts/Files/Sources/Files.swift:25:8: error: no such module 'Foundation'
23 | */
24 |
25 | import Foundation
| `- error: no such module 'Foundation'
26 |
27 | // MARK: - Locations
[11/20] Compiling Files Files.swift
/host/spi-builder-workspace/.build/checkouts/Files/Sources/Files.swift:25:8: error: no such module 'Foundation'
23 | */
24 |
25 | import Foundation
| `- error: no such module 'Foundation'
26 |
27 | // MARK: - Locations
[12/20] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm