Build Information
Failed to build SwiftCLI, reference 6.0.3 (2e9490
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 03:08:40 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/jakeheis/SwiftCLI.git
Reference: 6.0.3
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/jakeheis/SwiftCLI
* tag 6.0.3 -> FETCH_HEAD
HEAD is now at 2e94905 Merge pull request #104 from EricRabil/master
Cloned https://github.com/jakeheis/SwiftCLI.git
Revision (git rev-parse @):
2e949055d9797c1a6bddcda0e58dada16cc8e970
SUCCESS checkout https://github.com/jakeheis/SwiftCLI.git at 6.0.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jakeheis/SwiftCLI.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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Emitting module SwiftCLI
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[4/25] Compiling SwiftCLI OptionRegistry.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[5/25] Compiling SwiftCLI Parameter.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[6/25] Compiling SwiftCLI Parser.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[7/25] Compiling SwiftCLI ValueBox.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[8/25] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[9/25] Compiling SwiftCLI Command.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[10/25] Compiling SwiftCLI Compatibility.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[11/25] Compiling SwiftCLI CompletionGenerator.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[12/25] Compiling SwiftCLI Term.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[13/25] Compiling SwiftCLI Validation.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[14/25] Compiling SwiftCLI Path.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[15/25] Compiling SwiftCLI Stream.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[16/25] Compiling SwiftCLI Task.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[17/25] Compiling SwiftCLI Error.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[18/25] Compiling SwiftCLI HelpCommand.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[19/25] Compiling SwiftCLI HelpMessageGenerator.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[20/25] Compiling SwiftCLI Input.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[21/25] Compiling SwiftCLI Option.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[22/25] Compiling SwiftCLI OptionGroup.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[23/25] Compiling SwiftCLI ArgumentList.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[24/25] Compiling SwiftCLI ArgumentListManipulator.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
[25/25] Compiling SwiftCLI CLI.swift
/host/spi-builder-workspace/Sources/SwiftCLI/ArgumentList.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public class ArgumentList {
BUILD FAILURE 6.2 wasm