The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Terminus, reference 0.1.2 (7c5c57), with Swift 6.3 for Wasm on 21 Apr 2026 10:09:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/jbadger3/Terminus.git
Reference: 0.1.2
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/jbadger3/Terminus
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at 7c5c573 Merge pull request #4 from jbadger3/issue_3
Cloned https://github.com/jbadger3/Terminus.git
Revision (git rev-parse @):
7c5c57397ef0234b4e39bb6a77122672b385ef8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jbadger3/Terminus.git at 0.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/jbadger3/Terminus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Fetching https://github.com/apple/swift-argument-parser.git
[1/17424] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.83s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (1.61s)
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.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/32] Emitting module Terminus
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:12:27: error: cannot find 'termios' in scope
10 | struct Termios {
11 |     let fd = FileHandle.standardInput.fileDescriptor
12 |     var originalTermios = termios()
   |                           `- error: cannot find 'termios' in scope
13 |     var currentTermios: termios
14 |
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:13:25: error: cannot find type 'termios' in scope
11 |     let fd = FileHandle.standardInput.fileDescriptor
12 |     var originalTermios = termios()
13 |     var currentTermios: termios
   |                         `- error: cannot find type 'termios' in scope
14 |
15 |     init() {
[9/34] Emitting module ArgumentParserToolInfo
[10/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/35] Wrapping AST for ArgumentParserToolInfo for debugging
[13/81] Compiling ArgumentParser BashCompletionsGenerator.swift
[14/81] Compiling ArgumentParser CompletionsGenerator.swift
[15/81] Compiling ArgumentParser FishCompletionsGenerator.swift
[16/81] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:12:27: error: cannot find 'termios' in scope
10 | struct Termios {
11 |     let fd = FileHandle.standardInput.fileDescriptor
12 |     var originalTermios = termios()
   |                           `- error: cannot find 'termios' in scope
13 |     var currentTermios: termios
14 |
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:13:25: error: cannot find type 'termios' in scope
11 |     let fd = FileHandle.standardInput.fileDescriptor
12 |     var originalTermios = termios()
13 |     var currentTermios: termios
   |                         `- error: cannot find type 'termios' in scope
14 |
15 |     init() {
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:16:9: error: cannot find 'tcgetattr' in scope
14 |
15 |     init() {
16 |         tcgetattr(fd, &originalTermios)
   |         `- error: cannot find 'tcgetattr' in scope
17 |         currentTermios = originalTermios
18 |     }
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:31:9: error: cannot find 'tcsetattr' in scope
29 |
30 |         #endif
31 |         tcsetattr(fd, TCSADRAIN, &currentTermios)
   |         `- error: cannot find 'tcsetattr' in scope
32 |     }
33 |
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:31:23: error: cannot find 'TCSADRAIN' in scope
29 |
30 |         #endif
31 |         tcsetattr(fd, TCSADRAIN, &currentTermios)
   |                       `- error: cannot find 'TCSADRAIN' in scope
32 |     }
33 |
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:36:9: error: cannot find 'tcsetattr' in scope
34 |     ///Restores termios to its original settings
35 |     mutating func restoreOriginalSettings() {
36 |         tcsetattr(fd, TCSAFLUSH, &originalTermios)
   |         `- error: cannot find 'tcsetattr' in scope
37 |     }
38 | }
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:36:23: error: cannot find 'TCSAFLUSH' in scope
34 |     ///Restores termios to its original settings
35 |     mutating func restoreOriginalSettings() {
36 |         tcsetattr(fd, TCSAFLUSH, &originalTermios)
   |                       `- error: cannot find 'TCSAFLUSH' in scope
37 |     }
38 | }
[17/81] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:12:27: error: cannot find 'termios' in scope
10 | struct Termios {
11 |     let fd = FileHandle.standardInput.fileDescriptor
12 |     var originalTermios = termios()
   |                           `- error: cannot find 'termios' in scope
13 |     var currentTermios: termios
14 |
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:13:25: error: cannot find type 'termios' in scope
11 |     let fd = FileHandle.standardInput.fileDescriptor
12 |     var originalTermios = termios()
13 |     var currentTermios: termios
   |                         `- error: cannot find type 'termios' in scope
14 |
15 |     init() {
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:16:9: error: cannot find 'tcgetattr' in scope
14 |
15 |     init() {
16 |         tcgetattr(fd, &originalTermios)
   |         `- error: cannot find 'tcgetattr' in scope
17 |         currentTermios = originalTermios
18 |     }
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:31:9: error: cannot find 'tcsetattr' in scope
29 |
30 |         #endif
31 |         tcsetattr(fd, TCSADRAIN, &currentTermios)
   |         `- error: cannot find 'tcsetattr' in scope
32 |     }
33 |
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:31:23: error: cannot find 'TCSADRAIN' in scope
29 |
30 |         #endif
31 |         tcsetattr(fd, TCSADRAIN, &currentTermios)
   |                       `- error: cannot find 'TCSADRAIN' in scope
32 |     }
33 |
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:36:9: error: cannot find 'tcsetattr' in scope
34 |     ///Restores termios to its original settings
35 |     mutating func restoreOriginalSettings() {
36 |         tcsetattr(fd, TCSAFLUSH, &originalTermios)
   |         `- error: cannot find 'tcsetattr' in scope
37 |     }
38 | }
/host/spi-builder-workspace/Sources/Terminus/Core/Termios.swift:36:23: error: cannot find 'TCSAFLUSH' in scope
34 |     ///Restores termios to its original settings
35 |     mutating func restoreOriginalSettings() {
36 |         tcsetattr(fd, TCSAFLUSH, &originalTermios)
   |                       `- error: cannot find 'TCSAFLUSH' in scope
37 |     }
38 | }
[18/81] Compiling ArgumentParser ZshCompletionsGenerator.swift
[19/81] Compiling ArgumentParser Argument.swift
[20/81] Compiling ArgumentParser ParsableCommand.swift
[21/81] Compiling ArgumentParser ArgumentDecoder.swift
[22/81] Compiling ArgumentParser ArgumentVisibility.swift
[23/81] Compiling ArgumentParser CompletionKind.swift
[24/81] Compiling ArgumentParser ArgumentDiscussion.swift
[25/81] Compiling ArgumentParser ArgumentHelp.swift
[26/81] Compiling ArgumentParser Errors.swift
[27/81] Compiling ArgumentParser Flag.swift
[28/81] Compiling ArgumentParser NameSpecification.swift
[29/81] Compiling ArgumentParser ArgumentDefinition.swift
[30/81] Compiling ArgumentParser ArgumentSet.swift
BUILD FAILURE 6.3 wasm