The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CommandLineKit, reference 0.3.5 (c66994), with Swift 6.3 for Wasm on 13 Apr 2026 12:19:16 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-commandlinekit.git
Reference: 0.3.5
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/objecthub/swift-commandlinekit
 * tag               0.3.5      -> FETCH_HEAD
HEAD is now at c66994d Improve color detection. Migrate project to Xcode 14.2.
Cloned https://github.com/objecthub/swift-commandlinekit.git
Revision (git rev-parse @):
c66994d36c654fdd4a27863e5f8aaadc101099eb
SUCCESS checkout https://github.com/objecthub/swift-commandlinekit.git at 0.3.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/objecthub/swift-commandlinekit.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
[4/22] Compiling CommandLineKit EditState.swift
[5/22] Compiling CommandLineKit Flag.swift
[6/23] Compiling CommandLineKit TextColor.swift
[7/23] Compiling CommandLineKit TextProperties.swift
[8/23] Compiling CommandLineKit LineReaderHistory.swift
[9/23] Compiling CommandLineKit Terminal.swift
[10/23] Emitting module CommandLineKit
[11/23] Compiling CommandLineKit AnsiCodes.swift
[12/23] Compiling CommandLineKit BackgroundColor.swift
[13/23] Compiling CommandLineKit FlagError.swift
[14/23] Compiling CommandLineKit Flags.swift
[15/23] Compiling CommandLineKit ControlCharacters.swift
[16/23] Compiling CommandLineKit ConvertibleFromString.swift
[17/23] Compiling CommandLineKit LineReader.swift
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:493:19: error: cannot find 'winsize' in scope
491 |
492 |   private var numColumns: Int {
493 |     var winSize = winsize()
    |                   `- error: cannot find 'winsize' in scope
494 |     if ioctl(1, UInt(TIOCGWINSZ), &winSize) == -1 || winSize.ws_col == 0 {
495 |       return 80
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:494:22: error: cannot find 'TIOCGWINSZ' in scope
492 |   private var numColumns: Int {
493 |     var winSize = winsize()
494 |     if ioctl(1, UInt(TIOCGWINSZ), &winSize) == -1 || winSize.ws_col == 0 {
    |                      `- error: cannot find 'TIOCGWINSZ' in scope
495 |       return 80
496 |     } else {
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:696:26: error: cannot find type 'termios' in scope
694 |
695 |   private func withRawMode(body: () throws -> ()) throws {
696 |     var originalTermios: termios = termios()
    |                          `- error: cannot find type 'termios' in scope
697 |     defer {
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:696:36: error: cannot find 'termios' in scope
694 |
695 |   private func withRawMode(body: () throws -> ()) throws {
696 |     var originalTermios: termios = termios()
    |                                    `- error: cannot find 'termios' in scope
697 |     defer {
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:698:11: error: cannot find 'tcsetattr' in scope
696 |     var originalTermios: termios = termios()
697 |     defer {
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
    |           `- error: cannot find 'tcsetattr' in scope
699 |     }
700 |     if tcgetattr(self.inputFile, &originalTermios) == -1 {
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:698:37: error: cannot find 'TCSADRAIN' in scope
696 |     var originalTermios: termios = termios()
697 |     defer {
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
    |                                     `- error: cannot find 'TCSADRAIN' in scope
699 |     }
700 |     if tcgetattr(self.inputFile, &originalTermios) == -1 {
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:700:8: error: cannot find 'tcgetattr' in scope
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
699 |     }
700 |     if tcgetattr(self.inputFile, &originalTermios) == -1 {
    |        `- error: cannot find 'tcgetattr' in scope
701 |       throw LineReaderError.generalError("could not get term attributes")
702 |     }
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:21: error: cannot find 'tcflag_t' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                     `- error: cannot find 'tcflag_t' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:30: error: cannot find 'BRKINT' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                              `- error: cannot find 'BRKINT' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:39: error: cannot find 'ICRNL' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                       `- error: cannot find 'ICRNL' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:47: error: cannot find 'INPCK' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                               `- error: cannot find 'INPCK' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:55: error: cannot find 'ISTRIP' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                                       `- error: cannot find 'ISTRIP' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:64: error: cannot find 'IXON' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                                                `- error: cannot find 'IXON' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:705:21: error: cannot find 'tcflag_t' in scope
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
    |                     `- error: cannot find 'tcflag_t' in scope
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:705:30: error: cannot find 'OPOST' in scope
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
    |                              `- error: cannot find 'OPOST' in scope
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:706:20: error: cannot find 'tcflag_t' in scope
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
    |                    `- error: cannot find 'tcflag_t' in scope
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
708 |     // VMIN = 16
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:706:29: error: cannot find 'CS8' in scope
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
    |                             `- error: cannot find 'CS8' in scope
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
708 |     // VMIN = 16
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:21: error: cannot find 'tcflag_t' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                     `- error: cannot find 'tcflag_t' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:30: error: cannot find 'ECHO' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                              `- error: cannot find 'ECHO' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:37: error: cannot find 'ICANON' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                     `- error: cannot find 'ICANON' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:46: error: cannot find 'IEXTEN' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                              `- error: cannot find 'IEXTEN' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:55: error: cannot find 'ISIG' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                                       `- error: cannot find 'ISIG' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:710:11: error: cannot find 'tcsetattr' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
710 |     guard tcsetattr(self.inputFile, TCSADRAIN, &raw) >= 0 else {
    |           `- error: cannot find 'tcsetattr' in scope
711 |       throw LineReaderError.generalError("Could not set raw mode")
712 |     }
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:710:37: error: cannot find 'TCSADRAIN' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
710 |     guard tcsetattr(self.inputFile, TCSADRAIN, &raw) >= 0 else {
    |                                     `- error: cannot find 'TCSADRAIN' in scope
711 |       throw LineReaderError.generalError("Could not set raw mode")
712 |     }
[18/23] Compiling CommandLineKit LineReaderError.swift
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:493:19: error: cannot find 'winsize' in scope
491 |
492 |   private var numColumns: Int {
493 |     var winSize = winsize()
    |                   `- error: cannot find 'winsize' in scope
494 |     if ioctl(1, UInt(TIOCGWINSZ), &winSize) == -1 || winSize.ws_col == 0 {
495 |       return 80
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:494:22: error: cannot find 'TIOCGWINSZ' in scope
492 |   private var numColumns: Int {
493 |     var winSize = winsize()
494 |     if ioctl(1, UInt(TIOCGWINSZ), &winSize) == -1 || winSize.ws_col == 0 {
    |                      `- error: cannot find 'TIOCGWINSZ' in scope
495 |       return 80
496 |     } else {
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:696:26: error: cannot find type 'termios' in scope
694 |
695 |   private func withRawMode(body: () throws -> ()) throws {
696 |     var originalTermios: termios = termios()
    |                          `- error: cannot find type 'termios' in scope
697 |     defer {
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:696:36: error: cannot find 'termios' in scope
694 |
695 |   private func withRawMode(body: () throws -> ()) throws {
696 |     var originalTermios: termios = termios()
    |                                    `- error: cannot find 'termios' in scope
697 |     defer {
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:698:11: error: cannot find 'tcsetattr' in scope
696 |     var originalTermios: termios = termios()
697 |     defer {
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
    |           `- error: cannot find 'tcsetattr' in scope
699 |     }
700 |     if tcgetattr(self.inputFile, &originalTermios) == -1 {
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:698:37: error: cannot find 'TCSADRAIN' in scope
696 |     var originalTermios: termios = termios()
697 |     defer {
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
    |                                     `- error: cannot find 'TCSADRAIN' in scope
699 |     }
700 |     if tcgetattr(self.inputFile, &originalTermios) == -1 {
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:700:8: error: cannot find 'tcgetattr' in scope
698 |       _ = tcsetattr(self.inputFile, TCSADRAIN, &originalTermios)
699 |     }
700 |     if tcgetattr(self.inputFile, &originalTermios) == -1 {
    |        `- error: cannot find 'tcgetattr' in scope
701 |       throw LineReaderError.generalError("could not get term attributes")
702 |     }
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:21: error: cannot find 'tcflag_t' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                     `- error: cannot find 'tcflag_t' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:30: error: cannot find 'BRKINT' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                              `- error: cannot find 'BRKINT' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:39: error: cannot find 'ICRNL' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                       `- error: cannot find 'ICRNL' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:47: error: cannot find 'INPCK' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                               `- error: cannot find 'INPCK' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:55: error: cannot find 'ISTRIP' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                                       `- error: cannot find 'ISTRIP' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:704:64: error: cannot find 'IXON' in scope
702 |     }
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
    |                                                                `- error: cannot find 'IXON' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:705:21: error: cannot find 'tcflag_t' in scope
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
    |                     `- error: cannot find 'tcflag_t' in scope
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:705:30: error: cannot find 'OPOST' in scope
703 |     var raw = originalTermios
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
    |                              `- error: cannot find 'OPOST' in scope
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:706:20: error: cannot find 'tcflag_t' in scope
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
    |                    `- error: cannot find 'tcflag_t' in scope
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
708 |     // VMIN = 16
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:706:29: error: cannot find 'CS8' in scope
704 |     raw.c_iflag &= ~tcflag_t(BRKINT | ICRNL | INPCK | ISTRIP | IXON)
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
    |                             `- error: cannot find 'CS8' in scope
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
708 |     // VMIN = 16
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:21: error: cannot find 'tcflag_t' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                     `- error: cannot find 'tcflag_t' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:30: error: cannot find 'ECHO' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                              `- error: cannot find 'ECHO' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:37: error: cannot find 'ICANON' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                     `- error: cannot find 'ICANON' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:46: error: cannot find 'IEXTEN' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                              `- error: cannot find 'IEXTEN' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:707:55: error: cannot find 'ISIG' in scope
705 |     raw.c_oflag &= ~tcflag_t(OPOST)
706 |     raw.c_cflag |= tcflag_t(CS8)
707 |     raw.c_lflag &= ~tcflag_t(ECHO | ICANON | IEXTEN | ISIG)
    |                                                       `- error: cannot find 'ISIG' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:710:11: error: cannot find 'tcsetattr' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
710 |     guard tcsetattr(self.inputFile, TCSADRAIN, &raw) >= 0 else {
    |           `- error: cannot find 'tcsetattr' in scope
711 |       throw LineReaderError.generalError("Could not set raw mode")
712 |     }
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:710:37: error: cannot find 'TCSADRAIN' in scope
708 |     // VMIN = 16
709 |     raw.c_cc.16 = 1
710 |     guard tcsetattr(self.inputFile, TCSADRAIN, &raw) >= 0 else {
    |                                     `- error: cannot find 'TCSADRAIN' in scope
711 |       throw LineReaderError.generalError("Could not set raw mode")
712 |     }
[19/23] Compiling CommandLineKit TextStyle.swift
BUILD FAILURE 6.3 wasm