Build Information
Failed to build SwiftTerm, reference v1.5.1 (0b8d99
), with Swift 6.2 (beta) for Wasm on 9 Aug 2025 07:33:13 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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/SwiftTerm.git
Reference: v1.5.1
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
* tag v1.5.1 -> FETCH_HEAD
HEAD is now at 0b8d99b Do not compile HeadlessTerminal on Windows as it uses LocalProcess, we should upgrade at some point to the new subprocess API in Swift
Cloned https://github.com/migueldeicaza/SwiftTerm.git
Revision (git rev-parse @):
0b8d99bd19b694df44e1ccaa3891309719d34330
SUCCESS checkout https://github.com/migueldeicaza/SwiftTerm.git at v1.5.1
========================================
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-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
Fetching https://github.com/apple/swift-argument-parser
[1/15630] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.94s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.43s)
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/40] 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 | /**
[10/40] 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 | /**
[11/40] 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 | /**
[12/42] Compiling SwiftTerm ExternsionsTerminal.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 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 | /**
[14/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 | /**
[15/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 | /**
[16/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 | /**
[17/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 | /**
[18/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 | /**
[19/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 | /**
[20/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 | /**
[21/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 | /**
[22/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 | /**
[23/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 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/42] 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 | /**
[25/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 | /**
[26/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 | /**
[27/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 | /**
[28/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 | /**
[29/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 | /**
[30/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 | /**
[31/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 | /**
[32/42] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm