Build Information
Failed to build Commander, reference master (7791c4
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 19:04:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/devedbox/commander.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/devedbox/commander
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7791c48 feat: Updates the type alias for subcommands.
Cloned https://github.com/devedbox/commander.git
Revision (git rev-parse @):
7791c480a2e508229a14275630612bfea3d3c0b2
SUCCESS checkout https://github.com/devedbox/commander.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/devedbox/commander.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/15] Emitting module Utility
[6/15] Compiling Utility Optional+.swift
[7/15] Compiling Utility String+.swift
[8/15] Compiling Utility CommandLine.swift
[9/15] Compiling Utility Collection+.swift
[10/15] Compiling Utility Bool+.swift
[11/16] Wrapping AST for Utility for debugging
[13/31] Compiling Commander OptionsRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[14/31] Compiling Commander Shell.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[15/32] Compiling Commander CommandDescriber.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[16/32] Compiling Commander CommandPath.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/32] Emitting module Commander
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[18/32] Compiling Commander Help.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[19/32] Compiling Commander Commander.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[20/32] Compiling Commander BuiltIn.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[21/32] Compiling Commander Complete.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[22/32] Compiling Commander misc.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[23/32] Compiling Commander CommandRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[24/32] Compiling Commander Error.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[25/32] Compiling Commander OptionDescription.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[26/32] Compiling Commander OptionsDecoder.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[27/32] Compiling Commander DefaultOptions.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
[28/32] Compiling Commander Option.swift
/host/spi-builder-workspace/Sources/Commander/Commander.swift:28:8: error: no such module 'Foundation'
26 | //
27 |
28 | import Foundation
| `- error: no such module 'Foundation'
29 | import Utility
30 |
BUILD FAILURE 6.2 wasm