Build Information
Failed to build SwiftTerm, reference main (4a3459
), with Swift 6.2 (beta) for Wasm on 3 Sep 2025 16:42:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/SwiftTerm.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/migueldeicaza/SwiftTerm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4a34596 Add API to change the history size
Cloned https://github.com/migueldeicaza/SwiftTerm.git
Revision (git rev-parse @):
4a345964d546cd42d036bdec699cf88c1c930207
SUCCESS checkout https://github.com/migueldeicaza/SwiftTerm.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/migueldeicaza/SwiftTerm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-subprocess
[1/1890] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess from cache (0.78s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
[1/4941] Fetching swift-system
[4942/20633] Fetching swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.09s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.33s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at main (bf17fa2)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/40] Emitting module SwiftTerm
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[10/42] Compiling SwiftTerm TerminalOptions.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[11/42] Compiling SwiftTerm Utilities.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[12/42] Compiling SwiftTerm SixelDcsHandler.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[13/42] Compiling SwiftTerm Terminal.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[14/42] Compiling SwiftTerm Line.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[15/42] Compiling SwiftTerm LocalProcess.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[16/42] Compiling SwiftTerm Position.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[17/42] Compiling SwiftTerm ExtensionsTerminal.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[18/42] Compiling SwiftTerm File.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[19/42] Compiling SwiftTerm HeadlessTerminal.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[20/42] Compiling SwiftTerm Colors.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[21/42] Compiling SwiftTerm EscapeSequenceParser.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[22/42] Compiling SwiftTerm EscapeSequences.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[23/42] Compiling SwiftTerm Pty.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[24/42] Compiling SwiftTerm SearchService.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[25/42] Compiling SwiftTerm SelectionService.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[26/42] Compiling SwiftTerm CharData.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[27/42] Compiling SwiftTerm CharSets.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[28/42] Compiling SwiftTerm CircularList.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[29/42] Compiling SwiftTerm Buffer.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[30/42] Compiling SwiftTerm BufferLine.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[31/42] Compiling SwiftTerm BufferSet.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Buffer.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | /**
[32/42] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm