Build Information
Failed to build TermKit, reference main (2cdfc9), with Swift 6.1 for Android on 1 Feb 2026 06:32:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
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 2cdfc96 Fix scrolling on the list by using the actual height
Cloned https://github.com/migueldeicaza/TermKit.git
Revision (git rev-parse @):
2cdfc96f9c524251ae1f517a440f28150182b7c2
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-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"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",
"Logging"
],
"product_memberships" : [
"TermKit",
"Example"
],
"sources" : [
"Core/Application.swift",
"Core/AttributedString.swift",
"Core/BorderStyle.swift",
"Core/Clipboard.swift",
"Core/Dim.swift",
"Core/EdgeInsets.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/StandardDesktop.swift",
"Core/SwiftLogging.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/CommandPalette.swift",
"Views/DataTable.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/SolidBackground.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",
"DemoBoxModel.swift",
"DemoCommandPalette.swift",
"DemoDataTable.swift",
"DemoDialogs.swift",
"DemoDrawing.swift",
"DemoHost.swift",
"DemoLayer.swift",
"DemoMarkdown.swift",
"DemoSplitView.swift",
"DemoStandardDesktop.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-4606859-2":/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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-markdown
Fetching https://github.com/migueldeicaza/SwiftTerm.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
Fetching https://github.com/migueldeicaza/TextBufferKit.git
[1/291] Fetching swiftlintplugins
[292/531] Fetching swiftlintplugins, textbufferkit
[532/2698] Fetching swiftlintplugins, textbufferkit, swift-docc-plugin
[771/8586] Fetching swiftlintplugins, textbufferkit, swift-docc-plugin, swift-log
[889/15655] Fetching swiftlintplugins, textbufferkit, swift-docc-plugin, swift-log, swift-markdown
[12666/23884] Fetching swiftlintplugins, textbufferkit, swift-docc-plugin, swift-log, swift-markdown, swiftterm
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.63s)
Fetched https://github.com/migueldeicaza/TextBufferKit.git from cache (0.64s)
Fetched https://github.com/apple/swift-markdown from cache (0.64s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.64s)
Fetched https://github.com/apple/swift-log.git from cache (0.83s)
Fetched https://github.com/migueldeicaza/SwiftTerm.git from cache (0.84s)
Computing version for https://github.com/migueldeicaza/TextBufferKit.git
Computed https://github.com/migueldeicaza/TextBufferKit.git at 0.3.0 (3.73s)
Computing version for https://github.com/migueldeicaza/SwiftTerm.git
Computed https://github.com/migueldeicaza/SwiftTerm.git at 1.5.1 (0.51s)
Fetching https://github.com/apple/swift-argument-parser
[1/17132] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.64s)
Computing version for https://github.com/apple/swift-markdown
Computed https://github.com/apple/swift-markdown at 0.7.3 (1.23s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18285] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.01s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (1.58s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3651] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.32s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.91s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.63.2 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.68s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.63.2
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.1
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/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/apple/swift-markdown
Working copy of https://github.com/apple/swift-markdown resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.9.1
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip
[2747/72588246] Downloading https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip (6.99s)
[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/56] Compiling cmark-gfm-extensions tagfilter.c
[7/56] Compiling cmark-gfm-extensions strikethrough.c
[8/56] Compiling cmark-gfm-extensions ext_scanners.c
[9/56] Compiling cmark-gfm-extensions core-extensions.c
[10/56] Compiling cmark-gfm-extensions autolink.c
[11/56] Compiling cmark-gfm syntax_extension.c
[12/56] Compiling cmark-gfm xml.c
[13/56] Compiling cmark-gfm-extensions table.c
[14/56] Compiling cmark-gfm registry.c
[15/56] Compiling cmark-gfm render.c
[16/56] Compiling cmark-gfm references.c
[17/56] Compiling cmark-gfm plugin.c
[18/56] Compiling cmark-gfm plaintext.c
[19/56] Compiling cmark-gfm map.c
[19/56] Compiling cmark-gfm linked_list.c
[21/56] Compiling cmark-gfm man.c
[22/56] Write swift-version-24593BA9C3E375BF.txt
[23/56] Compiling cmark-gfm-extensions tasklist.c
[24/56] Compiling cmark-gfm utf8.c
[25/56] Compiling cmark-gfm node.c
[26/56] Compiling cmark-gfm iterator.c
[27/56] Compiling cmark-gfm latex.c
[28/56] Compiling cmark-gfm houdini_html_e.c
[29/56] Compiling cmark-gfm footnotes.c
[30/56] Compiling cmark-gfm houdini_href_e.c
[31/56] Compiling cmark-gfm cmark_ctype.c
[32/56] Compiling cmark-gfm commonmark.c
[33/56] Compiling cmark-gfm html.c
[33/56] Write sources
[40/56] Compiling cmark-gfm cmark.c
[41/56] Compiling cmark-gfm inlines.c
[42/56] Compiling CAtomic CAtomic.c
[43/56] Compiling cmark-gfm buffer.c
[43/56] Compiling cmark-gfm arena.c
[45/56] Compiling cmark-gfm houdini_html_u.c
[46/56] Compiling cmark-gfm blocks.c
[47/68] Compiling cmark-gfm scanners.c
[49/153] Emitting module Logging
[50/153] Emitting module TextBufferKit
[51/154] Emitting module Markdown
[52/162] Compiling Markdown OrderedList.swift
[53/162] Compiling Markdown UnorderedList.swift
[54/162] Compiling Markdown Paragraph.swift
[55/162] Compiling Markdown CodeBlock.swift
[56/162] Compiling Markdown HTMLBlock.swift
[57/162] Compiling Markdown Heading.swift
[58/162] Compiling Markdown ThematicBreak.swift
[59/162] Compiling Markdown Table.swift
[60/162] Compiling Markdown TableBody.swift
[61/162] Compiling Markdown Link.swift
[62/162] Compiling Markdown Strikethrough.swift
[63/162] Compiling Markdown Strong.swift
[64/162] Compiling Markdown CustomInline.swift
[65/162] Compiling Markdown InlineCode.swift
[66/162] Compiling Markdown InlineHTML.swift
[67/162] Compiling Markdown LineBreak.swift
[68/162] Compiling Markdown SoftBreak.swift
[69/162] Compiling Markdown SymbolLink.swift
[70/162] Compiling Markdown BasicBlockContainer.swift
[71/162] Compiling Markdown BasicInlineContainer.swift
[72/162] Compiling Markdown BlockContainer.swift
[73/162] Compiling Markdown BlockMarkup.swift
[74/162] Compiling Markdown InlineContainer.swift
[75/162] Compiling Markdown InlineMarkup.swift
[76/162] Compiling Markdown ListItemContainer.swift
[77/162] Compiling Markdown AtomicCounter.swift
[78/162] Compiling Logging MetadataProvider.swift
[79/162] Compiling Logging LogHandler.swift
[80/162] Compiling Logging Locks.swift
[81/162] Compiling Logging Logging.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 | }
/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 | }
/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 | }
[85/165] Wrapping AST for Logging for debugging
[87/165] Compiling TextBufferKit SearchData.swift
[88/165] Compiling TextBufferKit FindMatch.swift
[89/165] Compiling TextBufferKit TreeBase.swift
[90/165] Compiling Markdown BlockDirective.swift
[91/165] Compiling Markdown BlockQuote.swift
[92/165] Compiling Markdown CustomBlock.swift
[93/165] Compiling Markdown DoxygenAbstract.swift
[94/165] Compiling Markdown DoxygenDiscussion.swift
[95/165] Compiling Markdown DoxygenNote.swift
[96/165] Compiling Markdown DoxygenParameter.swift
[97/165] Compiling Markdown DoxygenReturns.swift
[98/165] Compiling Markdown ListItem.swift
[99/165] Compiling Markdown MarkupData.swift
[100/165] Compiling Markdown PlainTextConvertibleMarkup.swift
[101/165] Compiling Markdown RawMarkup.swift
[102/165] Compiling Markdown LiteralMarkup.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 |
[103/165] Compiling Markdown Markup.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 |
[104/165] Compiling Markdown MarkupChildren.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 |
[105/165] Compiling TextBufferKit PieceTreeBuilder.swift
[106/165] Compiling TextBufferKit PieceTreeTextBuffer.swift
[107/165] Compiling TextBufferKit Position.swift
[108/165] Compiling TextBufferKit Range.swift
[109/165] Compiling Markdown ChildIndexPath.swift
[110/165] Compiling Markdown DirectiveArgument.swift
[111/165] Compiling Markdown Document.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[112/165] 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)
[113/165] 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 |
[123/165] Compiling Markdown CharacterExtensions.swift
[124/165] Compiling Markdown CollectionExtensions.swift
[125/165] Compiling Markdown StringExtensions.swift
[126/165] Compiling Markdown MarkupVisitor.swift
[127/165] Compiling Markdown MarkupWalker.swift
[128/165] Compiling Markdown HTMLFormatter.swift
[129/165] Compiling Markdown MarkupFormatter.swift
[130/165] Compiling Markdown MarkupTreeDumper.swift
[134/165] Compiling Markdown TableCell.swift
[135/165] Compiling Markdown TableCellContainer.swift
[136/165] Compiling Markdown TableHead.swift
[137/165] Compiling Markdown TableRow.swift
[138/165] Compiling Markdown Replacement.swift
[139/165] Compiling Markdown SourceLocation.swift
[140/165] Compiling Markdown Emphasis.swift
[141/165] Compiling Markdown Image.swift
[142/165] Compiling Markdown InlineAttributes.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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/15] Write swift-version-24593BA9C3E375BF.txt
[8/112] Compiling TextBufferKit Position.swift
[9/113] Compiling TextBufferKit SearchData.swift
[10/113] Compiling TextBufferKit Range.swift
[11/113] Emitting module TextBufferKit
[12/113] 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 |
[13/113] 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 |
[14/113] 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 |
[15/113] Compiling Markdown DoxygenAbstract.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
[16/113] 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
[17/113] 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
[18/113] Compiling Markdown DoxygenParameter.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 | }
[19/113] Compiling Markdown DoxygenReturns.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 | }
[20/113] Compiling Markdown ListItem.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 | }
[21/115] Compiling Markdown BasicBlockContainer.swift
[22/115] Compiling Markdown BasicInlineContainer.swift
[23/115] Compiling Markdown BlockContainer.swift
[24/115] Compiling Markdown BlockMarkup.swift
[25/115] Compiling Markdown InlineContainer.swift
[26/115] Compiling Markdown InlineMarkup.swift
[27/115] Compiling Markdown ListItemContainer.swift
[28/115] Compiling Markdown AtomicCounter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/123] 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)
[30/123] Compiling TextBufferKit PieceTreeBuilder.swift
[31/123] Compiling TextBufferKit PieceTreeTextBuffer.swift
[32/123] Compiling TextBufferKit TreeBase.swift
[33/123] Emitting module Markdown
[34/123] Compiling Markdown Link.swift
[35/123] Compiling Markdown Strikethrough.swift
[36/123] Compiling Markdown Strong.swift
[37/123] Compiling Markdown CustomInline.swift
[38/123] Compiling Markdown InlineCode.swift
[39/123] Compiling Markdown InlineHTML.swift
[40/123] Compiling Markdown LineBreak.swift
[41/123] Compiling Markdown SoftBreak.swift
[42/123] Compiling Markdown SymbolLink.swift
[43/123] Compiling Markdown TableCell.swift
[44/123] Compiling Markdown TableCellContainer.swift
[45/123] Compiling Markdown TableHead.swift
[46/123] Compiling Markdown TableRow.swift
[47/123] Compiling Markdown Replacement.swift
[48/123] Compiling Markdown SourceLocation.swift
[49/123] Compiling Markdown Emphasis.swift
[50/123] Compiling Markdown Image.swift
[51/123] Compiling Markdown InlineAttributes.swift
[52/123] Compiling Markdown OrderedList.swift
[53/123] Compiling Markdown UnorderedList.swift
[54/123] Compiling SwiftTerm TerminalOptions.swift
[55/123] Compiling SwiftTerm Utilities.swift
[56/123] Compiling Markdown HTMLBlock.swift
[57/123] Compiling Markdown Heading.swift
[58/123] Compiling Markdown ThematicBreak.swift
[59/123] Compiling Markdown Table.swift
[60/123] Compiling Markdown TableBody.swift
[72/123] Compiling Logging MetadataProvider.swift
[73/123] Compiling Logging Locks.swift
[74/123] Compiling Logging LogHandler.swift
[75/123] Emitting module Logging
[76/123] Compiling Logging Logging.swift
[77/124] Compiling TextBufferKit FindMatch.swift
[78/124] 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 |
BUILD FAILURE 6.1 android