Build Information
Failed to build SwiftTerm, reference v1.6.0 (7f7541), with Swift 6.2 for Android on 12 Dec 2025 18:35:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/SwiftTerm.git
Reference: v1.6.0
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.6.0 -> FETCH_HEAD
HEAD is now at 7f7541a GroupNumericInput: it used to be that typing "0.0" would render "0." and then if you typed "1", it would change to "0.01" which was pretty ugly.
Cloned https://github.com/migueldeicaza/SwiftTerm.git
Revision (git rev-parse @):
7f7541ae0c0ab9835b964f0d4c913bc3ce68833b
SUCCESS checkout https://github.com/migueldeicaza/SwiftTerm.git at v1.6.0
========================================
Build
========================================
Selected platform: android
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/swiftlang/swift-subprocess
[1/2467] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess from cache (0.43s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser
[1/16921] Fetching swift-argument-parser
[1863/22142] Fetching swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-system from cache (0.46s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.72s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (1.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.88s)
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at main (ab2072d)
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.2
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[7/17] Write swift-version-2B04F66FBCF4E350.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/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
[10/42] Emitting module ArgumentParserToolInfo
[11/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/43] Wrapping AST for ArgumentParserToolInfo for debugging
[14/87] Emitting module ArgumentParser
[15/93] Compiling ArgumentParser InputKey.swift
[16/93] Compiling ArgumentParser InputOrigin.swift
[17/93] Compiling ArgumentParser Name.swift
[18/93] Compiling ArgumentParser Parsed.swift
[19/93] Compiling ArgumentParser ParsedValues.swift
[20/93] Compiling ArgumentParser ParserError.swift
[21/93] Compiling ArgumentParser ArgumentVisibility.swift
[22/93] Compiling ArgumentParser CompletionKind.swift
[23/93] Compiling ArgumentParser Errors.swift
[24/93] Compiling ArgumentParser Flag.swift
[25/93] Compiling ArgumentParser NameSpecification.swift
[26/93] Compiling ArgumentParser Option.swift
[27/93] Compiling ArgumentParser Tree.swift
[28/93] Compiling ArgumentParser CodingKeyValidator.swift
[29/93] Compiling ArgumentParser NonsenseFlagsValidator.swift
[30/93] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/93] Compiling ArgumentParser PositionalArgumentsValidator.swift
[32/93] Compiling ArgumentParser UniqueNamesValidator.swift
[33/93] Compiling ArgumentParser CollectionExtensions.swift
[34/93] Compiling ArgumentParser Mutex.swift
[35/93] Compiling ArgumentParser Platform.swift
[36/93] Compiling ArgumentParser SequenceExtensions.swift
[37/93] Compiling ArgumentParser StringExtensions.swift
[38/93] Compiling ArgumentParser SwiftExtensions.swift
[39/93] Compiling ArgumentParser ArgumentHelp.swift
[40/93] Compiling ArgumentParser OptionGroup.swift
[41/93] Compiling ArgumentParser AsyncParsableCommand.swift
[42/93] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:342:50: error: cannot find 'winsize' in scope
340 |
341 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
342 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
343 |
344 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:378:17: error: cannot find 'close' in scope
376 | // Close file descriptor after DispatchIO has finished with it
377 | // This prevents EV_VANISHED crash by ensuring proper cleanup order
378 | close(fdToClose)
| `- error: cannot find 'close' in scope
379 | })
380 | guard let io else {
[43/93] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:342:50: error: cannot find 'winsize' in scope
340 |
341 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
342 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
343 |
344 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:378:17: error: cannot find 'close' in scope
376 | // Close file descriptor after DispatchIO has finished with it
377 | // This prevents EV_VANISHED crash by ensuring proper cleanup order
378 | close(fdToClose)
| `- error: cannot find 'close' in scope
379 | })
380 | guard let io else {
[44/93] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:215:9: error: cannot find 'waitpid' in scope
213 | {
214 | var n: Int32 = 0
215 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
216 | delegate?.processTerminated(self, exitCode: n)
217 | running = false
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:342:50: error: cannot find 'winsize' in scope
340 |
341 | private func startProcessWithForkpty(executable: String, args: [String], environment: [String]?, execName: String?, currentDirectory: String?) {
342 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
343 |
344 | var shellArgs = args
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:378:17: error: cannot find 'close' in scope
376 | // Close file descriptor after DispatchIO has finished with it
377 | // This prevents EV_VANISHED crash by ensuring proper cleanup order
378 | close(fdToClose)
| `- error: cannot find 'close' in scope
379 | })
380 | guard let io else {
[45/93] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used [#no-usage]
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used [#no-usage]
333 | }
334 |
[46/93] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used [#no-usage]
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used [#no-usage]
333 | }
334 |
[47/93] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/Sources/SwiftTerm/EscapeSequenceParser.swift:332:40: warning: capture 'self' was never used [#no-usage]
330 | _collect = []
331 | // "\"
332 | setEscHandler("\\", { [unowned self] collect, flag in })
| `- warning: capture 'self' was never used [#no-usage]
333 | }
334 |
[48/93] Compiling ArgumentParser ArgumentDecoder.swift
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
[49/93] Compiling ArgumentParser ArgumentDefinition.swift
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
[50/93] Compiling ArgumentParser ArgumentSet.swift
/host/spi-builder-workspace/Sources/SwiftTerm/HeadlessTerminal.swift:51:36: error: cannot find type 'winsize' in scope
49 |
50 |
51 | public func getWindowSize() -> winsize {
| `- error: cannot find type 'winsize' in scope
52 | return winsize(ws_row: UInt16(terminal.rows), ws_col: UInt16(terminal.cols), ws_xpixel: UInt16 (16), ws_ypixel: UInt16 (16))
53 | }
/host/spi-builder-workspace/Sources/SwiftTerm/LocalProcess.swift:29:30: error: cannot find type 'winsize' in scope
27 |
28 | /// This method should return the window size to report to the local process.
29 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
30 | }
31 |
[51/93] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/93] Compiling ArgumentParser CompletionsGenerator.swift
[53/93] Compiling ArgumentParser FishCompletionsGenerator.swift
[54/93] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
[55/93] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
[56/93] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:68:136: error: cannot find type 'winsize' in scope
66 | * - Returns: nil on error, or a tuple containing the process ID, and the file descriptor to the primary side of the newly created pseudo-terminal.
67 | */
68 | public static func fork (andExec: String, args: [String], env: [String], currentDirectory: String? = nil, desiredWindowSize: inout winsize) -> (pid: pid_t, masterFd: Int32)?
| `- error: cannot find type 'winsize' in scope
69 | {
70 | var master: Int32 = 0
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:97:82: error: cannot find type 'winsize' in scope
95 | * - Returns: the value from calling the ioctl
96 | */
97 | public static func setWinSize (masterPtyDescriptor: Int32, windowSize: inout winsize) -> Int32
| `- error: cannot find type 'winsize' in scope
98 | {
99 | #if os(macOS)
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:19: error: cannot find 'forkpty' in scope
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: cannot find 'forkpty' in scope
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:36: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:72:41: error: 'nil' requires a contextual type
70 | var master: Int32 = 0
71 |
72 | let pid = forkpty(&master, nil, nil, &desiredWindowSize)
| `- error: 'nil' requires a contextual type
73 | if pid < 0 {
74 | return nil
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:79:21: error: cannot find 'chdir' in scope
77 | if let currentDirectory {
78 | _ = currentDirectory.withCString { p in
79 | chdir(p)
| `- error: cannot find 'chdir' in scope
80 | }
81 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:85:29: error: cannot find 'execve' in scope
83 | withArrayOfCStrings(args, { pargs in
84 | withArrayOfCStrings(env, { penv in
85 | let _ = execve(andExec, pargs, penv)
| `- error: cannot find 'execve' in scope
86 | })
87 | })
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:9: error: cannot find 'ioctl' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'ioctl' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:102:41: error: cannot find 'TIOCSWINSZ' in scope
100 | return ioctl(masterPtyDescriptor, TIOCSWINSZ, &windowSize)
101 | #else
102 | return ioctl(masterPtyDescriptor, UInt(TIOCSWINSZ), &windowSize)
| `- error: cannot find 'TIOCSWINSZ' in scope
103 | #endif
104 | }
/host/spi-builder-workspace/Sources/SwiftTerm/Pty.swift:112:22: error: cannot find 'ioctl' in scope
110 | {
111 | var size: Int32 = 0
112 | let status = ioctl (fd, 0x4004667f /* FIONREAD */, &size)
| `- error: cannot find 'ioctl' in scope
113 | return (status, size)
114 | }
[59/93] Compiling ArgumentParser SplitArguments.swift
[60/93] Compiling ArgumentParser DumpHelpGenerator.swift
[61/93] Compiling ArgumentParser HelpCommand.swift
[62/93] Compiling ArgumentParser HelpGenerator.swift
[63/93] Compiling ArgumentParser MessageInfo.swift
[64/93] Compiling ArgumentParser UsageGenerator.swift
[70/93] Compiling ArgumentParser CommandParser.swift
[84/94] Wrapping AST for ArgumentParser for debugging
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it [#no-usage]
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it [#no-usage]
1249 |
1250 | if let newCh = newStr.first {
/host/spi-builder-workspace/Sources/SwiftTerm/Terminal.swift:1248:33: warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it [#no-usage]
1246 | if newStr.count == 1 {
1247 | let oldSize = cd.width
1248 | let newSize: Int8
| `- warning: immutable value 'newSize' was never used; consider replacing with '_' or removing it [#no-usage]
1249 |
1250 | if let newCh = newStr.first {
BUILD FAILURE 6.2 android