Build Information
Failed to build TermKit, reference main (89ff1e
), with Swift 6.1 for Android on 11 Sep 2025 17:32:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/migueldeicaza/TermKit.git
Reference: main
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/TermKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 89ff1e7 Move TermKit to a layer-based model, this simplifies the debugging of rendering of individual views, the ordering of what to implement when drawing and corner cases that required careful consideration of interaction between subviews, exposed regions and so on.
Cloned https://github.com/migueldeicaza/TermKit.git
Revision (git rev-parse @):
89ff1e7546d27856ea610f02b4fd806adf9ac06a
SUCCESS checkout https://github.com/migueldeicaza/TermKit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/migueldeicaza/TermKit.git
https://github.com/migueldeicaza/TermKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "textbufferkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/migueldeicaza/TextBufferKit.git"
},
{
"identity" : "swiftterm",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/migueldeicaza/SwiftTerm.git"
},
{
"identity" : "swiftlintplugins",
"requirement" : {
"range" : [
{
"lower_bound" : "0.58.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SimplyDanny/SwiftLintPlugins"
},
{
"identity" : "swift-markdown",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-markdown"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "TermKit",
"name" : "TermKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "TermKit",
"targets" : [
"TermKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TermKitTests",
"module_type" : "SwiftTarget",
"name" : "TermKitTests",
"path" : "Tests/TermKitTests",
"sources" : [
"TermKitTests.swift",
"TerminfoTest.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"TermKit"
],
"type" : "test"
},
{
"c99name" : "TermKit",
"module_type" : "SwiftTarget",
"name" : "TermKit",
"path" : "Sources/TermKit",
"product_dependencies" : [
"TextBufferKit",
"SwiftTerm",
"Markdown"
],
"product_memberships" : [
"TermKit",
"Example"
],
"sources" : [
"Core/Application.swift",
"Core/AttributedString.swift",
"Core/Clipboard.swift",
"Core/Dim.swift",
"Core/Events.swift",
"Core/Layer.swift",
"Core/Painter.swift",
"Core/Point.swift",
"Core/Pos.swift",
"Core/Rect.swift",
"Core/Responder.swift",
"Core/Size.swift",
"Core/StandardToplevel.swift",
"Core/Toplevel.swift",
"Core/View.swift",
"Core/WcWidth.swift",
"Core/Window.swift",
"Dialogs/Dialog.swift",
"Dialogs/FileDialog.swift",
"Dialogs/InputBox.swift",
"Dialogs/MessageBox.swift",
"Drivers/ConsoleDriver.swift",
"Drivers/CursesDriver.swift",
"Drivers/TTYDriver.swift",
"Drivers/TerminalCapability.swift",
"Drivers/TerminfoParser.swift",
"Drivers/UnixDriver.swift",
"Drivers/WindowsDriver.swift",
"Drivers/XtermCapability.swift",
"Extensions/StringChar.swift",
"Views/Button.swift",
"Views/Checkbox.swift",
"Views/DataTable.swift",
"Views/Desktop.swift",
"Views/Frame.swift",
"Views/HexView.swift",
"Views/Label.swift",
"Views/ListView.swift",
"Views/MarkdownView.swift",
"Views/Menu.swift",
"Views/ProgressBar.swift",
"Views/RadioGroup.swift",
"Views/ScrollView.swift",
"Views/Spinner.swift",
"Views/SplitView.swift",
"Views/StatusBar.swift",
"Views/TabView.swift",
"Views/Terminal.swift",
"Views/TextField.swift",
"Views/TextView.swift"
],
"target_dependencies" : [
"Curses"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_dependencies" : [
"SwiftTerm"
],
"product_memberships" : [
"Example"
],
"sources" : [
"DemoAssorted.swift",
"DemoDataTable.swift",
"DemoDialogs.swift",
"DemoDrawing.swift",
"DemoHost.swift",
"DemoMarkdown.swift",
"DemoSplitView.swift",
"DemoStandardToplevel.swift",
"DemoStatusBar.swift",
"DemoTabBar.swift",
"DemoTerminal.swift",
"DemoWindows.swift",
"SpinnerDemo.swift",
"SpinnerTest.swift",
"main.swift"
],
"target_dependencies" : [
"TermKit"
],
"type" : "executable"
},
{
"c99name" : "Curses",
"module_type" : "SystemLibraryTarget",
"name" : "Curses",
"path" : "Sources/Curses",
"product_memberships" : [
"TermKit",
"Example"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/migueldeicaza/SwiftTerm.git
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
Fetching https://github.com/migueldeicaza/TextBufferKit.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-markdown
[1/240] Fetching textbufferkit
[241/2334] Fetching textbufferkit, swift-docc-plugin
[472/2567] Fetching textbufferkit, swift-docc-plugin, swiftlintplugins
[705/9437] Fetching textbufferkit, swift-docc-plugin, swiftlintplugins, swift-markdown
[3062/16609] Fetching textbufferkit, swift-docc-plugin, swiftlintplugins, swift-markdown, swiftterm
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.30s)
[4848/16376] Fetching textbufferkit, swift-docc-plugin, swift-markdown, swiftterm
Fetched https://github.com/apple/swift-docc-plugin from cache (1.31s)
Fetched https://github.com/migueldeicaza/SwiftTerm.git from cache (1.32s)
Fetched https://github.com/migueldeicaza/TextBufferKit.git from cache (1.32s)
Fetched https://github.com/apple/swift-markdown from cache (1.32s)
Computing version for https://github.com/migueldeicaza/SwiftTerm.git
Computed https://github.com/migueldeicaza/SwiftTerm.git at 1.5.1 (1.92s)
Fetching https://github.com/apple/swift-argument-parser
[1/15914] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.85s)
Computing version for https://github.com/migueldeicaza/TextBufferKit.git
Computed https://github.com/migueldeicaza/TextBufferKit.git at 0.3.0 (2.79s)
Computing version for https://github.com/apple/swift-markdown
Computed https://github.com/apple/swift-markdown at 0.6.0 (0.57s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18196] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (0.82s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.6.0 (1.37s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.61.0 (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.08s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.47s)
Creating working copy for https://github.com/apple/swift-markdown
Working copy of https://github.com/apple/swift-markdown resolved at 0.6.0
Creating working copy for https://github.com/migueldeicaza/SwiftTerm.git
Working copy of https://github.com/migueldeicaza/SwiftTerm.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.61.0
Creating working copy for https://github.com/migueldeicaza/TextBufferKit.git
Working copy of https://github.com/migueldeicaza/TextBufferKit.git resolved at 0.3.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.6.0
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
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip
[1369/70760294] Downloading https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.61.0/SwiftLintBinary.artifactbundle.zip (5.29s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftLintCommandPlugin
[4/4] Compiling plugin SwiftLintBuildToolPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/54] Compiling cmark-gfm-extensions tagfilter.c
[6/54] Compiling cmark-gfm-extensions tasklist.c
[8/54] Compiling cmark-gfm-extensions strikethrough.c
[9/54] Compiling cmark-gfm buffer.c
[10/54] Compiling cmark-gfm-extensions ext_scanners.c
[11/54] Compiling cmark-gfm xml.c
[12/54] Compiling cmark-gfm-extensions core-extensions.c
[13/54] Compiling cmark-gfm syntax_extension.c
[14/54] Compiling cmark-gfm-extensions autolink.c
[15/54] Compiling cmark-gfm-extensions table.c
[16/54] Compiling cmark-gfm render.c
[17/54] Compiling cmark-gfm registry.c
[18/54] Compiling cmark-gfm references.c
[19/54] Compiling cmark-gfm plugin.c
[20/54] Compiling cmark-gfm blocks.c
[20/54] Write swift-version-24593BA9C3E375BF.txt
[22/54] Compiling cmark-gfm plaintext.c
[23/54] Compiling cmark-gfm map.c
[24/54] Compiling cmark-gfm man.c
[25/54] Compiling cmark-gfm utf8.c
[26/54] Compiling cmark-gfm linked_list.c
[27/54] Compiling cmark-gfm node.c
[28/54] Compiling cmark-gfm iterator.c
[29/54] Compiling cmark-gfm latex.c
[30/54] Compiling cmark-gfm html.c
[31/54] Compiling cmark-gfm houdini_html_e.c
[32/54] Compiling cmark-gfm houdini_href_e.c
[33/54] Compiling cmark-gfm footnotes.c
[34/54] Write sources
[35/54] Compiling cmark-gfm cmark_ctype.c
[35/54] Write sources
[40/54] Compiling cmark-gfm houdini_html_u.c
[41/54] Compiling cmark-gfm cmark.c
[41/54] Compiling cmark-gfm commonmark.c
[43/54] Compiling cmark-gfm inlines.c
[44/54] Compiling CAtomic CAtomic.c
[45/54] Compiling cmark-gfm arena.c
[46/54] Compiling cmark-gfm scanners.c
[48/145] Emitting module Markdown
[49/153] Compiling Markdown BasicBlockContainer.swift
[50/153] Compiling Markdown BasicInlineContainer.swift
[51/153] Compiling Markdown BlockContainer.swift
[52/153] Compiling Markdown BlockMarkup.swift
[53/153] Compiling Markdown InlineContainer.swift
[54/153] Compiling Markdown InlineMarkup.swift
[55/153] Compiling Markdown ListItemContainer.swift
[56/153] Compiling Markdown AtomicCounter.swift
[57/153] Compiling Markdown BlockDirective.swift
[58/153] Compiling Markdown BlockQuote.swift
[59/153] Compiling Markdown CustomBlock.swift
[60/153] Compiling Markdown DoxygenDiscussion.swift
[61/153] Compiling Markdown DoxygenNote.swift
[62/153] Compiling Markdown DoxygenParameter.swift
[63/153] Compiling Markdown DoxygenReturns.swift
[64/153] Compiling Markdown ListItem.swift
[65/153] Compiling Markdown OrderedList.swift
[66/153] Compiling TextBufferKit SearchData.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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 | }
[68/154] Compiling Markdown UnorderedList.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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 | }
[69/154] Compiling Markdown Paragraph.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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 | }
[70/154] Emitting module TextBufferKit
[71/154] Compiling TextBufferKit FindMatch.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:179:9: error: cannot find 'waitpid' in scope
177 | {
178 | var n: Int32 = 0
179 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
180 | delegate?.processTerminated(self, exitCode: n)
181 | running = false
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:199:50: error: cannot find 'winsize' in scope
197 | return
198 | }
199 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
200 |
201 | var shellArgs = args
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:179:9: error: cannot find 'waitpid' in scope
177 | {
178 | var n: Int32 = 0
179 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
180 | delegate?.processTerminated(self, exitCode: n)
181 | running = false
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:199:50: error: cannot find 'winsize' in scope
197 | return
198 | }
199 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
200 |
201 | var shellArgs = args
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:179:9: error: cannot find 'waitpid' in scope
177 | {
178 | var n: Int32 = 0
179 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
180 | delegate?.processTerminated(self, exitCode: n)
181 | running = false
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:199:50: error: cannot find 'winsize' in scope
197 | return
198 | }
199 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
200 |
201 | var shellArgs = args
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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
[75/156] Compiling Markdown LiteralMarkup.swift
[76/156] Compiling Markdown Markup.swift
[77/156] Compiling Markdown MarkupChildren.swift
[78/156] Compiling Markdown MarkupData.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
[79/156] Compiling Markdown PlainTextConvertibleMarkup.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
[80/156] Compiling Markdown RawMarkup.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
[81/156] Compiling Markdown CharacterExtensions.swift
[82/156] Compiling Markdown CollectionExtensions.swift
[83/156] Compiling Markdown StringExtensions.swift
[84/156] Compiling Markdown MarkupVisitor.swift
[85/156] Compiling Markdown MarkupWalker.swift
[86/156] Compiling Markdown HTMLFormatter.swift
[87/156] Compiling Markdown MarkupFormatter.swift
[88/156] Compiling Markdown MarkupTreeDumper.swift
[91/156] Compiling SwiftTerm TerminalOptions.swift
[92/156] Compiling SwiftTerm Utilities.swift
[93/156] Compiling Markdown Heading.swift
[94/156] Compiling Markdown ThematicBreak.swift
[95/156] Compiling Markdown Table.swift
[96/156] Compiling Markdown TableBody.swift
[97/156] Compiling Markdown TableCell.swift
[98/156] Compiling Markdown TableCellContainer.swift
[99/156] Compiling Markdown TableHead.swift
[100/156] Compiling Markdown TableRow.swift
[101/156] Compiling Markdown Replacement.swift
[102/156] Compiling Markdown SourceLocation.swift
[103/156] Compiling Markdown Emphasis.swift
[104/156] Compiling Markdown Image.swift
[105/156] Compiling Markdown InlineAttributes.swift
[106/156] Compiling Markdown Link.swift
[107/156] Compiling TextBufferKit Position.swift
[108/156] Compiling TextBufferKit Range.swift
[109/156] Compiling TextBufferKit PieceTreeTextBuffer.swift
[110/156] Compiling TextBufferKit PieceTreeBuilder.swift
[111/156] Compiling TextBufferKit PieceTreeBase.swift
/host/spi-builder-workspace/.build/checkouts/TextBufferKit/Sources/TextBufferKit/PieceTreeBase.swift:392:50: error: binary operator '-' cannot be applied to operands of type 'Float' and 'Double'
390 | {
391 | let averageBufferSize = self.averageBufferSize
392 | let min = Int (Float (averageBufferSize) - floor(Float (averageBufferSize / 3)))
| |- error: binary operator '-' cannot be applied to operands of type 'Float' and 'Double'
| `- note: overloads for '-' exist with these partially matching parameter lists: (Double, Double), (Float, Float)
393 | let max = min * 2
394 |
/host/spi-builder-workspace/.build/checkouts/TextBufferKit/Sources/TextBufferKit/PieceTreeBase.swift:392:58: error: cannot convert value of type 'Float' to expected argument type 'Double'
390 | {
391 | let averageBufferSize = self.averageBufferSize
392 | let min = Int (Float (averageBufferSize) - floor(Float (averageBufferSize / 3)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
393 | let max = min * 2
394 |
[112/156] Compiling Markdown ChildIndexPath.swift
[113/156] Compiling Markdown DirectiveArgument.swift
[114/156] Compiling Markdown Document.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[121/156] Emitting module SwiftTerm
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/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)
[125/156] Compiling Markdown Strikethrough.swift
[126/156] Compiling Markdown Strong.swift
[127/156] Compiling Markdown CustomInline.swift
[128/156] Compiling Markdown InlineCode.swift
[129/156] Compiling Markdown InlineHTML.swift
[130/156] Compiling Markdown LineBreak.swift
[131/156] Compiling Markdown SoftBreak.swift
[132/156] Compiling Markdown SymbolLink.swift
[133/156] Compiling Markdown Text.swift
[134/156] Compiling Markdown Aside.swift
[135/156] Compiling Markdown BlockDirectiveParser.swift
[136/156] Compiling Markdown CommonMarkConverter.swift
[137/156] Compiling Markdown LazySplitLines.swift
[138/156] Compiling Markdown ParseOptions.swift
[139/156] Compiling Markdown RangeAdjuster.swift
[140/156] Compiling Markdown RangerTracker.swift
[141/156] Compiling Markdown MarkupRewriter.swift
[143/157] Compiling TextBufferKit TreeBase.swift
[143/157] Wrapping AST for Markdown for debugging
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftLintCommandPlugin
[4/4] Compiling plugin SwiftLintBuildToolPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/14] Write swift-version-24593BA9C3E375BF.txt
[8/105] Compiling TextBufferKit SearchData.swift
[9/106] Compiling TextBufferKit Position.swift
[10/106] Compiling Markdown BasicBlockContainer.swift
[11/106] Compiling Markdown BasicInlineContainer.swift
[12/106] Compiling Markdown BlockContainer.swift
[13/106] Compiling Markdown BlockMarkup.swift
[14/106] Compiling Markdown InlineContainer.swift
[15/106] Compiling Markdown InlineMarkup.swift
[16/106] Compiling Markdown ListItemContainer.swift
[17/106] Compiling Markdown AtomicCounter.swift
[18/114] Compiling Markdown BlockDirective.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
[19/114] Compiling Markdown BlockQuote.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
[20/114] Compiling Markdown CustomBlock.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
[21/114] Compiling Markdown DoxygenDiscussion.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:179:9: error: cannot find 'waitpid' in scope
177 | {
178 | var n: Int32 = 0
179 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
180 | delegate?.processTerminated(self, exitCode: n)
181 | running = false
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:199:50: error: cannot find 'winsize' in scope
197 | return
198 | }
199 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
200 |
201 | var shellArgs = args
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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
[22/114] Compiling Markdown DoxygenNote.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:179:9: error: cannot find 'waitpid' in scope
177 | {
178 | var n: Int32 = 0
179 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
180 | delegate?.processTerminated(self, exitCode: n)
181 | running = false
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:199:50: error: cannot find 'winsize' in scope
197 | return
198 | }
199 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
200 |
201 | var shellArgs = args
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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
[23/114] Compiling Markdown DoxygenParameter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:25:30: error: cannot find type 'winsize' in scope
23 |
24 | /// This method should return the window size to report to the local process.
25 | func getWindowSize () -> winsize
| `- error: cannot find type 'winsize' in scope
26 | }
27 |
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:179:9: error: cannot find 'waitpid' in scope
177 | {
178 | var n: Int32 = 0
179 | waitpid (shellPid, &n, WNOHANG)
| `- error: cannot find 'waitpid' in scope
180 | delegate?.processTerminated(self, exitCode: n)
181 | running = false
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/Sources/SwiftTerm/LocalProcess.swift:199:50: error: cannot find 'winsize' in scope
197 | return
198 | }
199 | var size = delegate?.getWindowSize () ?? winsize()
| `- error: cannot find 'winsize' in scope
200 |
201 | var shellArgs = args
/host/spi-builder-workspace/.build/checkouts/SwiftTerm/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
[24/116] Compiling TextBufferKit TreeBase.swift
[25/116] Compiling TextBufferKit PieceTreeBuilder.swift
[26/116] Compiling SwiftTerm TerminalOptions.swift
[27/116] Compiling SwiftTerm Utilities.swift
[28/116] Compiling TextBufferKit Range.swift
[29/116] Compiling TextBufferKit PieceTreeTextBuffer.swift
[36/116] Compiling Markdown DoxygenReturns.swift
[37/116] Compiling Markdown ListItem.swift
[38/116] Compiling Markdown OrderedList.swift
[39/116] Compiling TextBufferKit FindMatch.swift
[40/116] Emitting module TextBufferKit
[41/116] Compiling TextBufferKit PieceTreeBase.swift
/host/spi-builder-workspace/.build/checkouts/TextBufferKit/Sources/TextBufferKit/PieceTreeBase.swift:392:50: error: binary operator '-' cannot be applied to operands of type 'Float' and 'Double'
390 | {
391 | let averageBufferSize = self.averageBufferSize
392 | let min = Int (Float (averageBufferSize) - floor(Float (averageBufferSize / 3)))
| |- error: binary operator '-' cannot be applied to operands of type 'Float' and 'Double'
| `- note: overloads for '-' exist with these partially matching parameter lists: (Double, Double), (Float, Float)
393 | let max = min * 2
394 |
/host/spi-builder-workspace/.build/checkouts/TextBufferKit/Sources/TextBufferKit/PieceTreeBase.swift:392:58: error: cannot convert value of type 'Float' to expected argument type 'Double'
390 | {
391 | let averageBufferSize = self.averageBufferSize
392 | let min = Int (Float (averageBufferSize) - floor(Float (averageBufferSize / 3)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
393 | let max = min * 2
394 |
[42/116] Emitting module Markdown
[43/116] Compiling Markdown ChildIndexPath.swift
[44/116] Compiling Markdown DirectiveArgument.swift
[45/116] Compiling Markdown Document.swift
[46/116] Compiling Markdown LiteralMarkup.swift
[47/116] Compiling Markdown Markup.swift
[48/116] Compiling Markdown MarkupChildren.swift
[49/116] Compiling Markdown MarkupData.swift
[50/116] Compiling Markdown PlainTextConvertibleMarkup.swift
[51/116] Compiling Markdown RawMarkup.swift
[52/116] Compiling Markdown Strikethrough.swift
[53/116] Compiling Markdown Strong.swift
[56/116] Compiling Markdown InlineHTML.swift
[57/116] Compiling Markdown LineBreak.swift
[58/116] Compiling Markdown SoftBreak.swift
[59/116] Compiling Markdown SymbolLink.swift
[60/116] Compiling Markdown Text.swift
[61/116] Compiling Markdown TableCellContainer.swift
[62/116] Compiling Markdown TableHead.swift
[63/116] Compiling Markdown TableRow.swift
[64/116] Compiling Markdown Replacement.swift
[65/116] Compiling Markdown SourceLocation.swift
[66/116] Compiling Markdown Emphasis.swift
[67/116] Compiling Markdown Image.swift
[68/116] Compiling Markdown InlineAttributes.swift
[69/116] Compiling Markdown Link.swift
[70/116] Compiling Markdown UnorderedList.swift
[71/116] Compiling Markdown Paragraph.swift
[72/116] Compiling Markdown CodeBlock.swift
[73/116] Compiling Markdown HTMLBlock.swift
[74/116] Compiling Markdown Heading.swift
[75/116] Compiling Markdown ThematicBreak.swift
[76/116] Compiling Markdown Table.swift
[77/116] Compiling Markdown TableBody.swift
[78/116] Compiling Markdown TableCell.swift
BUILD FAILURE 6.1 android