Build Information
Failed to build swift-ansi-picker, reference v0.0.1 (4e9ce9), with Swift 6.3 for Wasm on 14 Apr 2026 06:59:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rechsteiner/swift-ansi-picker.git
Reference: v0.0.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/rechsteiner/swift-ansi-picker
* tag v0.0.1 -> FETCH_HEAD
HEAD is now at 4e9ce93 Add library product to Package.swift
Cloned https://github.com/rechsteiner/swift-ansi-picker.git
Revision (git rev-parse @):
4e9ce930a92afe34b7c41052475dbd56a2c2745d
SUCCESS checkout https://github.com/rechsteiner/swift-ansi-picker.git at v0.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/rechsteiner/swift-ansi-picker.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Emitting module Picker
/host/spi-builder-workspace/Sources/Picker.swift:257:31: error: cannot find type 'termios' in scope
255 | }
256 |
257 | private var originalTerminal: termios?
| `- error: cannot find type 'termios' in scope
258 |
259 | private func handleSignal(signal: Int32) {
[5/9] Compiling Picker Picker.swift
/host/spi-builder-workspace/Sources/Picker.swift:257:31: error: cannot find type 'termios' in scope
255 | }
256 |
257 | private var originalTerminal: termios?
| `- error: cannot find type 'termios' in scope
258 |
259 | private func handleSignal(signal: Int32) {
/host/spi-builder-workspace/Sources/Picker.swift:192:24: error: cannot find 'termios' in scope
190 | private func enableNonCanonicalMode() {
191 | // Switch standard input to non-canonical mode to read the response immediately.
192 | var terminal = termios()
| `- error: cannot find 'termios' in scope
193 | tcgetattr(STDIN_FILENO, &terminal)
194 | // Save the current termios to restore later
/host/spi-builder-workspace/Sources/Picker.swift:193:9: error: cannot find 'tcgetattr' in scope
191 | // Switch standard input to non-canonical mode to read the response immediately.
192 | var terminal = termios()
193 | tcgetattr(STDIN_FILENO, &terminal)
| `- error: cannot find 'tcgetattr' in scope
194 | // Save the current termios to restore later
195 | originalTerminal = terminal
/host/spi-builder-workspace/Sources/Picker.swift:196:35: error: cannot find 'ECHO' in scope
194 | // Save the current termios to restore later
195 | originalTerminal = terminal
196 | terminal.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ECHO' in scope
197 | tcsetattr(STDIN_FILENO, TCSANOW, &terminal)
198 |
/host/spi-builder-workspace/Sources/Picker.swift:196:42: error: cannot find 'ICANON' in scope
194 | // Save the current termios to restore later
195 | originalTerminal = terminal
196 | terminal.c_lflag &= ~UInt(ECHO | ICANON)
| `- error: cannot find 'ICANON' in scope
197 | tcsetattr(STDIN_FILENO, TCSANOW, &terminal)
198 |
/host/spi-builder-workspace/Sources/Picker.swift:197:9: error: cannot find 'tcsetattr' in scope
195 | originalTerminal = terminal
196 | terminal.c_lflag &= ~UInt(ECHO | ICANON)
197 | tcsetattr(STDIN_FILENO, TCSANOW, &terminal)
| `- error: cannot find 'tcsetattr' in scope
198 |
199 | // Setup a signal handler that resets the terminal mode when
/host/spi-builder-workspace/Sources/Picker.swift:197:33: error: cannot find 'TCSANOW' in scope
195 | originalTerminal = terminal
196 | terminal.c_lflag &= ~UInt(ECHO | ICANON)
197 | tcsetattr(STDIN_FILENO, TCSANOW, &terminal)
| `- error: cannot find 'TCSANOW' in scope
198 |
199 | // Setup a signal handler that resets the terminal mode when
/host/spi-builder-workspace/Sources/Picker.swift:201:9: error: cannot find 'signal' in scope
199 | // Setup a signal handler that resets the terminal mode when
200 | // receiving SIGINT (ctrl-c).
201 | signal(SIGINT, handleSignal)
| `- error: cannot find 'signal' in scope
202 | }
203 |
/host/spi-builder-workspace/Sources/Picker.swift:201:16: error: cannot find 'SIGINT' in scope
199 | // Setup a signal handler that resets the terminal mode when
200 | // receiving SIGINT (ctrl-c).
201 | signal(SIGINT, handleSignal)
| `- error: cannot find 'SIGINT' in scope
202 | }
203 |
/host/spi-builder-workspace/Sources/Picker.swift:207:9: error: cannot find 'tcsetattr' in scope
205 | // Restore the original terminal settings.
206 | guard var originalTerminal else { return }
207 | tcsetattr(STDIN_FILENO, TCSANOW, &originalTerminal)
| `- error: cannot find 'tcsetattr' in scope
208 | }
209 |
/host/spi-builder-workspace/Sources/Picker.swift:207:33: error: cannot find 'TCSANOW' in scope
205 | // Restore the original terminal settings.
206 | guard var originalTerminal else { return }
207 | tcsetattr(STDIN_FILENO, TCSANOW, &originalTerminal)
| `- error: cannot find 'TCSANOW' in scope
208 | }
209 |
/host/spi-builder-workspace/Sources/Picker.swift:261:5: error: cannot find 'tcsetattr' in scope
259 | private func handleSignal(signal: Int32) {
260 | guard var originalTerminal else { return }
261 | tcsetattr(STDIN_FILENO, TCSANOW, &originalTerminal)
| `- error: cannot find 'tcsetattr' in scope
262 | print("\u{1B}[?25h", terminator: "")
263 | exit(signal)
/host/spi-builder-workspace/Sources/Picker.swift:261:29: error: cannot find 'TCSANOW' in scope
259 | private func handleSignal(signal: Int32) {
260 | guard var originalTerminal else { return }
261 | tcsetattr(STDIN_FILENO, TCSANOW, &originalTerminal)
| `- error: cannot find 'TCSANOW' in scope
262 | print("\u{1B}[?25h", terminator: "")
263 | exit(signal)
BUILD FAILURE 6.3 wasm