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 ChattyCLI, reference main (10ee51), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 03:58:10 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: 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/polpielladev/chatty-cli
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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.35s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/nate-parrott/openai-streaming-completions-swift.git
Fetching https://github.com/pakLebah/ANSITerminal.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess
[1/156] Fetching openai-streaming-completions-swift
[51/250] Fetching openai-streaming-completions-swift, ansiterminal
[145/4636] Fetching openai-streaming-completions-swift, ansiterminal, keychainaccess
[3917/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.20s)
[19860/19860] Fetching ansiterminal, keychainaccess, swift-argument-parser
Fetched https://github.com/pakLebah/ANSITerminal.git from cache (1.21s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess from cache (1.23s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.64s)
Computing version for https://github.com/pakLebah/ANSITerminal.git
Computed https://github.com/pakLebah/ANSITerminal.git at 0.0.3 (2.46s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess
Computed https://github.com/kishikawakatsumi/KeychainAccess at 4.2.2 (1.77s)
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.97s)
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 (1.01s)
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/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/kishikawakatsumi/KeychainAccess
Working copy of https://github.com/kishikawakatsumi/KeychainAccess resolved at 4.2.2
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 {
[11/34] Emitting module ArgumentParserToolInfo
[12/34] Compiling ANSITerminal ansiScreen.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 |
[13/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 {
[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 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 {
[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 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 {
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 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 {
[20/34] Compiling KeychainAccess Keychain.swift
/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)
[21/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/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 |
[23/34] Compiling ANSITerminal ansiAttribute.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 |
BUILD FAILURE 6.2 wasm