Build Information
Failed to build ChattyCLI, reference 1.0.7 (10ee51
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 03:50:47 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/polpielladev/chatty-cli.git
Reference: 1.0.7
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/polpielladev/chatty-cli
* tag 1.0.7 -> FETCH_HEAD
HEAD is now at 10ee517 Changes workflow to manual
Cloned https://github.com/polpielladev/chatty-cli.git
Revision (git rev-parse @):
10ee517d263c86b81360504efacc6e4bae01289d
SUCCESS checkout https://github.com/polpielladev/chatty-cli.git at 1.0.7
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/polpielladev/chatty-cli.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/polpielladev/clack-swift
[1/94] Fetching clack-swift
Fetched https://github.com/polpielladev/clack-swift from cache (0.25s)
Fetching https://github.com/kishikawakatsumi/KeychainAccess
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/pakLebah/ANSITerminal.git
Fetching https://github.com/nate-parrott/openai-streaming-completions-swift.git
[1/156] Fetching openai-streaming-completions-swift
[157/250] Fetching openai-streaming-completions-swift, ansiterminal
[251/4636] Fetching openai-streaming-completions-swift, ansiterminal, keychainaccess
[4637/20016] Fetching openai-streaming-completions-swift, ansiterminal, keychainaccess, swift-argument-parser
Fetched https://github.com/nate-parrott/openai-streaming-completions-swift.git from cache (1.01s)
[16784/19860] Fetching ansiterminal, keychainaccess, swift-argument-parser
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (1.50s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.51s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.52s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (2.12s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (0.61s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.86s)
Computing version for https://github.com/nate-parrott/openai-streaming-completions-swift.git
Computed https://github.com/nate-parrott/openai-streaming-completions-swift.git at 1.0.1 (0.57s)
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.2.2
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
Creating working copy for https://github.com/nate-parrott/openai-streaming-completions-swift.git
Working copy of https://github.com/nate-parrott/openai-streaming-completions-swift.git resolved at 1.0.1
Creating working copy for https://github.com/polpielladev/clack-swift
Working copy of https://github.com/polpielladev/clack-swift resolved at 0d95ad488a21047dc36a9c0ac7f54338ce0c88ca
Creating working copy for https://github.com/pakLebah/ANSITerminal.git
Working copy of https://github.com/pakLebah/ANSITerminal.git resolved at 0.0.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[8/18] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/34] Emitting module OpenAIStreamingCompletions
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | enum Event {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/34] Emitting module ANSITerminal
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[12/34] Compiling OpenAIStreamingCompletions OpenAI.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | enum Event {
[13/34] Compiling OpenAIStreamingCompletions EventStreamParser.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | enum Event {
[14/34] Compiling OpenAIStreamingCompletions EventSource.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | enum Event {
[15/34] Compiling OpenAIStreamingCompletions OpenAI+ChatCompletion.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | enum Event {
[16/34] Compiling OpenAIStreamingCompletions OpenAI+TextCompletion.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | enum Event {
[17/34] Compiling OpenAIStreamingCompletions Event.swift
/host/spi-builder-workspace/.build/checkouts/openai-streaming-completions-swift/Sources/OpenAIStreamingCompletions/EventSource/Event.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | enum Event {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/34] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:26:8: error: no such module 'Foundation'
24 | // THE SOFTWARE.
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 | import Security
28 | #if os(iOS) || os(OSX)
[19/34] Compiling ANSITerminal ansiKeyboard.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[20/34] Compiling ANSITerminal ANSITerminal.swift
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
/host/spi-builder-workspace/.build/checkouts/ANSITerminal/Sources/ANSITerminal.swift:4:10: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 |
[21/34] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm