Build Information
Failed to build TermKit, reference main (2cdfc9), with Swift 6.1 for Linux on 1 Feb 2026 06:32:17 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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: linux
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-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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/migueldeicaza/SwiftTerm.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/migueldeicaza/TextBufferKit.git
Fetching https://github.com/apple/swift-markdown
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
Fetching https://github.com/apple/swift-docc-plugin
[1/240] Fetching textbufferkit
[13/2407] Fetching textbufferkit, swift-docc-plugin
[444/2698] Fetching textbufferkit, swift-docc-plugin, swiftlintplugins
[771/9767] Fetching textbufferkit, swift-docc-plugin, swiftlintplugins, swift-markdown
[1885/15655] Fetching textbufferkit, swift-docc-plugin, swiftlintplugins, swift-markdown, swift-log
[7190/23884] Fetching textbufferkit, swift-docc-plugin, swiftlintplugins, swift-markdown, swift-log, swiftterm
Fetched https://github.com/migueldeicaza/TextBufferKit.git from cache (0.36s)
[8807/23644] Fetching swift-docc-plugin, swiftlintplugins, swift-markdown, swift-log, swiftterm
Fetched https://github.com/apple/swift-docc-plugin from cache (0.48s)
[16141/21477] Fetching swiftlintplugins, swift-markdown, swift-log, swiftterm
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.75s)
Fetched https://github.com/apple/swift-log.git from cache (0.75s)
Fetched https://github.com/apple/swift-markdown from cache (0.75s)
Fetched https://github.com/migueldeicaza/SwiftTerm.git from cache (1.00s)
Computing version for https://github.com/migueldeicaza/TextBufferKit.git
Computed https://github.com/migueldeicaza/TextBufferKit.git at 0.3.0 (3.21s)
Computing version for https://github.com/migueldeicaza/SwiftTerm.git
Computed https://github.com/migueldeicaza/SwiftTerm.git at 1.5.1 (0.52s)
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.74s)
Computing version for https://github.com/apple/swift-markdown
Computed https://github.com/apple/swift-markdown at 0.7.3 (1.32s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18285] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.05s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (1.68s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.58s)
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.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.97s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.63.2 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.9.1 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.56s)
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/apple/swift-markdown
Working copy of https://github.com/apple/swift-markdown resolved at 0.7.3
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-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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/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-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
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.63.2/SwiftLintBinary.artifactbundle.zip
[1369/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.63s)
[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 houdini_html_e.c
[7/56] Compiling cmark-gfm linked_list.c
[8/56] Compiling cmark-gfm buffer.c
[9/56] Compiling cmark-gfm iterator.c
[10/56] Compiling cmark-gfm html.c
[11/56] Compiling cmark-gfm latex.c
[12/56] Compiling cmark-gfm houdini_html_u.c
[13/56] Compiling cmark-gfm-extensions tagfilter.c
[14/56] Compiling cmark-gfm-extensions tasklist.c
[15/56] Compiling cmark-gfm-extensions strikethrough.c
[16/56] Compiling cmark-gfm inlines.c
[17/56] Compiling cmark-gfm-extensions ext_scanners.c
[18/56] Compiling cmark-gfm-extensions table.c
[19/56] Compiling cmark-gfm-extensions core-extensions.c
[20/56] Compiling cmark-gfm-extensions autolink.c
[21/56] Compiling cmark-gfm xml.c
[22/56] Compiling cmark-gfm syntax_extension.c
[23/56] Compiling cmark-gfm render.c
[24/56] Compiling cmark-gfm registry.c
[25/56] Compiling cmark-gfm plugin.c
[26/56] Compiling cmark-gfm references.c
[27/56] Compiling cmark-gfm plaintext.c
[28/56] Write swift-version-24593BA9C3E375BF.txt
[29/56] Compiling cmark-gfm utf8.c
[30/56] Compiling cmark-gfm houdini_href_e.c
[31/56] Compiling cmark-gfm cmark_ctype.c
[32/56] Compiling cmark-gfm map.c
[33/56] Compiling cmark-gfm footnotes.c
[33/56] Write sources
[40/56] Compiling cmark-gfm man.c
[41/56] Compiling CAtomic CAtomic.c
[42/56] Compiling cmark-gfm node.c
[43/56] Compiling cmark-gfm cmark.c
[44/56] Compiling cmark-gfm commonmark.c
[45/56] Compiling cmark-gfm arena.c
[46/56] Compiling cmark-gfm blocks.c
[47/65] Compiling cmark-gfm scanners.c
[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 Link.swift
[58/153] Compiling Markdown Strikethrough.swift
[59/153] Compiling Markdown Strong.swift
[60/153] Compiling Markdown CustomInline.swift
[61/153] Compiling Markdown InlineCode.swift
[62/153] Compiling Markdown InlineHTML.swift
[63/153] Compiling Markdown LineBreak.swift
[64/153] Compiling Markdown SoftBreak.swift
[65/153] Compiling Markdown SymbolLink.swift
[66/161] Emitting module Markdown
[67/161] Compiling Logging MetadataProvider.swift
[68/161] Compiling Logging LogHandler.swift
[69/161] Compiling Logging Locks.swift
[70/161] Emitting module Logging
[71/161] Compiling Logging Logging.swift
[73/162] Compiling TextBufferKit Range.swift
[74/163] Compiling Markdown OrderedList.swift
[75/163] Compiling Markdown UnorderedList.swift
[76/163] Compiling Markdown Paragraph.swift
[77/163] Emitting module TextBufferKit
[78/163] Compiling TextBufferKit Position.swift
[79/163] Compiling TextBufferKit SearchData.swift
[80/165] Compiling TextBufferKit PieceTreeTextBuffer.swift
[81/165] Compiling TextBufferKit PieceTreeBuilder.swift
[82/165] Emitting module SwiftTerm
[83/165] Compiling TextBufferKit PieceTreeBase.swift
[84/165] Compiling Markdown TableCell.swift
[85/165] Compiling Markdown TableCellContainer.swift
[86/165] Compiling SwiftTerm TerminalOptions.swift
[87/165] Compiling SwiftTerm Utilities.swift
[88/165] Compiling Markdown Replacement.swift
[89/165] Compiling Markdown SourceLocation.swift
[90/165] Compiling Markdown Emphasis.swift
[91/165] Compiling Markdown Image.swift
[92/165] Compiling Markdown InlineAttributes.swift
[93/165] Compiling TextBufferKit FindMatch.swift
[97/165] Compiling Markdown CodeBlock.swift
[98/165] Compiling Markdown HTMLBlock.swift
[99/165] Compiling Markdown Heading.swift
[100/165] Compiling Markdown ThematicBreak.swift
[101/165] Compiling Markdown Table.swift
[102/165] Compiling Markdown TableBody.swift
[103/165] Compiling Markdown BlockDirective.swift
[104/165] Compiling Markdown BlockQuote.swift
[105/165] Compiling Markdown CustomBlock.swift
[106/165] Compiling Markdown DoxygenAbstract.swift
[107/165] Compiling Markdown DoxygenDiscussion.swift
[108/165] Compiling Markdown DoxygenNote.swift
[109/165] Compiling Markdown DoxygenParameter.swift
[110/165] Compiling Markdown DoxygenReturns.swift
[111/165] Compiling Markdown ListItem.swift
[121/165] Compiling Markdown ChildIndexPath.swift
[122/165] Compiling Markdown DirectiveArgument.swift
[123/165] Compiling Markdown Document.swift
[124/165] Compiling Markdown LiteralMarkup.swift
[125/165] Compiling Markdown Markup.swift
[126/165] Compiling Markdown MarkupChildren.swift
[127/165] Compiling Markdown MarkupData.swift
[128/165] Compiling Markdown PlainTextConvertibleMarkup.swift
[129/165] Compiling Markdown RawMarkup.swift
[129/165] Wrapping AST for Logging for debugging
[131/165] Compiling Markdown CharacterExtensions.swift
[132/165] Compiling Markdown CollectionExtensions.swift
[133/165] Compiling Markdown StringExtensions.swift
[134/165] Compiling Markdown MarkupVisitor.swift
[135/165] Compiling Markdown MarkupWalker.swift
[136/165] Compiling Markdown HTMLFormatter.swift
[137/165] Compiling Markdown MarkupFormatter.swift
[138/165] Compiling Markdown MarkupTreeDumper.swift
[139/165] Compiling TextBufferKit TreeBase.swift
[140/166] Compiling Markdown Text.swift
[141/166] Compiling Markdown Aside.swift
[142/166] Compiling Markdown BlockDirectiveParser.swift
[143/166] Compiling Markdown CommonMarkConverter.swift
[144/166] Compiling Markdown LazySplitLines.swift
[145/166] Compiling Markdown ParseOptions.swift
[146/166] Compiling Markdown RangeAdjuster.swift
[147/166] Compiling Markdown RangerTracker.swift
[148/166] Compiling Markdown MarkupRewriter.swift
[150/167] Wrapping AST for TextBufferKit for debugging
[151/167] Wrapping AST for Markdown for debugging
[163/168] Wrapping AST for SwiftTerm for debugging
[165/217] Compiling TermKit TerminfoParser.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[166/217] Compiling TermKit UnixDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[167/217] Compiling TermKit WindowsDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[168/217] Compiling TermKit XtermCapability.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[169/217] Compiling TermKit StringChar.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[170/217] Compiling TermKit Button.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[171/217] Compiling TermKit Checkbox.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[172/223] Compiling TermKit Layer.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[173/223] Compiling TermKit Painter.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[174/223] Compiling TermKit Point.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[175/223] Compiling TermKit Pos.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[176/223] Compiling TermKit Rect.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[177/223] Compiling TermKit Responder.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[178/223] Compiling TermKit Size.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[179/223] Compiling TermKit Application.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[180/223] Compiling TermKit AttributedString.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[181/223] Compiling TermKit BorderStyle.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[182/223] Compiling TermKit Clipboard.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[183/223] Compiling TermKit Dim.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[184/223] Compiling TermKit EdgeInsets.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[185/223] Compiling TermKit Events.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[186/223] Compiling TermKit Menu.swift
[187/223] Compiling TermKit ProgressBar.swift
[188/223] Compiling TermKit RadioGroup.swift
[189/223] Compiling TermKit ScrollView.swift
[190/223] Compiling TermKit SolidBackground.swift
[191/223] Compiling TermKit Spinner.swift
[192/223] Compiling TermKit FileDialog.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[193/223] Compiling TermKit InputBox.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[194/223] Compiling TermKit MessageBox.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[195/223] Compiling TermKit ConsoleDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[196/223] Compiling TermKit CursesDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[197/223] Compiling TermKit TTYDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[198/223] Compiling TermKit TerminalCapability.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[199/223] Emitting module TermKit
[200/223] Compiling TermKit CommandPalette.swift
[201/223] Compiling TermKit DataTable.swift
[202/223] Compiling TermKit Frame.swift
[203/223] Compiling TermKit HexView.swift
[204/223] Compiling TermKit Label.swift
[205/223] Compiling TermKit ListView.swift
[206/223] Compiling TermKit MarkdownView.swift
[207/223] Compiling TermKit StandardDesktop.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[208/223] Compiling TermKit SwiftLogging.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[209/223] Compiling TermKit Toplevel.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[210/223] Compiling TermKit View.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[211/223] Compiling TermKit WcWidth.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[212/223] Compiling TermKit Window.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[213/223] Compiling TermKit Dialog.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[214/223] Compiling TermKit SplitView.swift
[215/223] Compiling TermKit StatusBar.swift
[216/223] Compiling TermKit TabView.swift
[217/223] Compiling TermKit Terminal.swift
[218/223] Compiling TermKit TextField.swift
[219/223] Compiling TermKit TextView.swift
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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 SearchData.swift
[9/113] Emitting module TextBufferKit
[10/113] Compiling Logging MetadataProvider.swift
[11/113] Compiling TextBufferKit Range.swift
[12/113] Compiling TextBufferKit Position.swift
[13/113] Compiling TextBufferKit PieceTreeTextBuffer.swift
[14/113] Compiling TextBufferKit TreeBase.swift
[15/113] Compiling Markdown BasicBlockContainer.swift
[16/113] Compiling Markdown BasicInlineContainer.swift
[17/113] Compiling Markdown BlockContainer.swift
[18/113] Compiling Markdown BlockMarkup.swift
[19/113] Compiling Markdown InlineContainer.swift
[20/113] Compiling Markdown InlineMarkup.swift
[21/113] Compiling Markdown ListItemContainer.swift
[22/113] Compiling Markdown AtomicCounter.swift
[23/121] Compiling TextBufferKit PieceTreeBuilder.swift
[24/121] Compiling Markdown BlockDirective.swift
[25/121] Compiling Markdown BlockQuote.swift
[26/121] Compiling Markdown CustomBlock.swift
[27/123] Compiling Markdown DoxygenParameter.swift
[28/123] Compiling Markdown DoxygenReturns.swift
[29/123] Compiling Markdown ListItem.swift
[30/123] Compiling Markdown DoxygenAbstract.swift
[31/123] Compiling Markdown DoxygenDiscussion.swift
[32/123] Compiling Markdown DoxygenNote.swift
[33/123] Emitting module Markdown
[43/123] Compiling Markdown OrderedList.swift
[44/123] Compiling Markdown UnorderedList.swift
[45/123] Compiling Markdown Paragraph.swift
[46/123] Compiling Markdown CodeBlock.swift
[47/123] Compiling Markdown HTMLBlock.swift
[48/123] Compiling Markdown Heading.swift
[49/123] Compiling Markdown ThematicBreak.swift
[50/123] Compiling Markdown Table.swift
[51/123] Compiling Markdown TableBody.swift
[52/123] Compiling Markdown Link.swift
[53/123] Compiling Markdown Strikethrough.swift
[54/123] Compiling Markdown Strong.swift
[55/123] Compiling Markdown CustomInline.swift
[56/123] Compiling Markdown InlineCode.swift
[57/123] Compiling Markdown InlineHTML.swift
[58/123] Compiling Markdown LineBreak.swift
[59/123] Compiling Markdown SoftBreak.swift
[60/123] Compiling Markdown SymbolLink.swift
[61/123] Compiling Markdown TableCell.swift
[62/123] Compiling Markdown TableCellContainer.swift
[63/123] Compiling SwiftTerm TerminalOptions.swift
[64/123] Compiling SwiftTerm Utilities.swift
[65/123] Compiling Markdown Replacement.swift
[66/123] Compiling Markdown SourceLocation.swift
[67/123] Compiling Markdown Emphasis.swift
[68/123] Compiling Markdown Image.swift
[69/123] Compiling Markdown InlineAttributes.swift
[70/123] Emitting module Logging
[71/123] Compiling Logging LogHandler.swift
[72/123] Compiling Logging Logging.swift
[73/123] Compiling Logging Locks.swift
[77/124] Compiling Markdown LiteralMarkup.swift
[78/124] Compiling Markdown Markup.swift
[79/124] Compiling Markdown MarkupChildren.swift
[80/123] Compiling Markdown ChildIndexPath.swift
[81/123] Compiling Markdown DirectiveArgument.swift
[82/123] Compiling Markdown Document.swift
[83/123] Emitting module SwiftTerm
[84/123] Compiling TextBufferKit FindMatch.swift
[85/123] Compiling TextBufferKit PieceTreeBase.swift
[92/124] Compiling Markdown MarkupData.swift
[93/124] Compiling Markdown PlainTextConvertibleMarkup.swift
[94/124] Compiling Markdown RawMarkup.swift
[99/123] Compiling Markdown CharacterExtensions.swift
[100/123] Compiling Markdown CollectionExtensions.swift
[101/123] Compiling Markdown StringExtensions.swift
[102/123] Compiling Markdown MarkupVisitor.swift
[103/123] Compiling Markdown MarkupWalker.swift
[104/123] Compiling Markdown HTMLFormatter.swift
[105/123] Compiling Markdown MarkupFormatter.swift
[106/123] Compiling Markdown MarkupTreeDumper.swift
[107/123] Compiling Markdown Text.swift
[108/123] Compiling Markdown Aside.swift
[109/123] Compiling Markdown BlockDirectiveParser.swift
[110/123] Compiling Markdown CommonMarkConverter.swift
[111/123] Compiling Markdown LazySplitLines.swift
[112/123] Compiling Markdown ParseOptions.swift
[113/123] Compiling Markdown RangeAdjuster.swift
[114/123] Compiling Markdown RangerTracker.swift
[115/123] Compiling Markdown MarkupRewriter.swift
[120/172] Compiling TermKit Layer.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[121/172] Compiling TermKit Painter.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[122/172] Compiling TermKit Point.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[123/172] Compiling TermKit Pos.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[124/172] Compiling TermKit Rect.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[125/172] Compiling TermKit Responder.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[126/172] Compiling TermKit Size.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Painter.swift:144:39: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
142 | // TODO: optimize, we can handle the visibility for rows before and later just do
143 | // columns rather than testing both.
144 | let wcw = termKitWcWidth(rune.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
145 | let len = wcw >= 0 ? Int32(wcw) : 1
146 | let npos = pos.x + Int(len)
[127/178] Compiling TermKit Menu.swift
[128/178] Compiling TermKit ProgressBar.swift
[129/178] Compiling TermKit RadioGroup.swift
[130/178] Compiling TermKit ScrollView.swift
[131/178] Compiling TermKit SolidBackground.swift
[132/178] Compiling TermKit Spinner.swift
[133/178] Compiling TermKit Application.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[134/178] Compiling TermKit AttributedString.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[135/178] Compiling TermKit BorderStyle.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[136/178] Compiling TermKit Clipboard.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[137/178] Compiling TermKit Dim.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[138/178] Compiling TermKit EdgeInsets.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[139/178] Compiling TermKit Events.swift
/host/spi-builder-workspace/Sources/TermKit/Core/Application.swift:513:25: warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
511 | if Application.traceRows.contains(y) {
512 | let slice = view.layer.store[sourceOffset..<(sourceOffset+intersection.width)]
513 | let preview = String(slice.prefix(80).map { $0.ch == "\u{0}" ? "·" : $0.ch })
| `- warning: initialization of immutable value 'preview' was never used; consider replacing with assignment to '_' or removing it
514 | //TermKitLog.logger.debug("compose->screen row=\(y) x=\(intersection.minX)..\(intersection.maxX) preview='\(preview)'")
515 | }
[140/178] Emitting module TermKit
[141/178] Compiling TermKit TerminfoParser.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[142/178] Compiling TermKit UnixDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[143/178] Compiling TermKit WindowsDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[144/178] Compiling TermKit XtermCapability.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[145/178] Compiling TermKit StringChar.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[146/178] Compiling TermKit Button.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[147/178] Compiling TermKit Checkbox.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/UnixDriver.swift:148:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | if !data.isEmpty {
147 | self?.inputQueue.async {
148 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
149 | }
150 | }
/host/spi-builder-workspace/Sources/TermKit/Extensions/StringChar.swift:79:38: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
77 | var max = 0
78 | for s in scalars {
79 | let w = termKitWcWidth(s.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
80 | if w > max {
81 | max = Int (w)
[148/178] Compiling TermKit FileDialog.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[149/178] Compiling TermKit InputBox.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[150/178] Compiling TermKit MessageBox.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[151/178] Compiling TermKit ConsoleDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[152/178] Compiling TermKit CursesDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[153/178] Compiling TermKit TTYDriver.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[154/178] Compiling TermKit TerminalCapability.swift
/host/spi-builder-workspace/Sources/TermKit/Drivers/TTYDriver.swift:73:21: warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
71 | if !data.isEmpty {
72 | self?.inputQueue.async {
73 | self?.processInputData(data)
| `- warning: reference to captured var 'self' in concurrently-executing code; this is an error in the Swift 6 language mode
74 | }
75 | }
[155/178] Compiling TermKit CommandPalette.swift
[156/178] Compiling TermKit DataTable.swift
[157/178] Compiling TermKit Frame.swift
[158/178] Compiling TermKit HexView.swift
[159/178] Compiling TermKit Label.swift
[160/178] Compiling TermKit ListView.swift
[161/178] Compiling TermKit MarkdownView.swift
[162/178] Compiling TermKit StandardDesktop.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[163/178] Compiling TermKit SwiftLogging.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[164/178] Compiling TermKit Toplevel.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[165/178] Compiling TermKit View.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[166/178] Compiling TermKit WcWidth.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[167/178] Compiling TermKit Window.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[168/178] Compiling TermKit Dialog.swift
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:23:33: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
21 | // Ensure file exists
22 | if !FileManager.default.fileExists(atPath: fileURL.path) {
23 | FileManager.default.createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
24 | }
25 | // Open for appending
/host/spi-builder-workspace/Sources/TermKit/Core/SwiftLogging.swift:28:9: warning: result of 'try?' is unused
26 | self.fileHandle = try! FileHandle(forWritingTo: fileURL)
27 | // Seek to end for append behavior
28 | try? self.fileHandle.seekToEnd()
| `- warning: result of 'try?' is unused
29 | }
30 |
/host/spi-builder-workspace/Sources/TermKit/Core/WcWidth.swift:45:47: error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
43 | var totalWidth = 0
44 | for scalar in self.unicodeScalars {
45 | let width = termKitWcWidth(scalar.value)
| `- error: cannot convert value of type 'UInt32' to expected argument type 'wchar_t' (aka 'Int32')
46 | if width > 0 {
47 | totalWidth += Int(width)
/host/spi-builder-workspace/Sources/TermKit/Core/Window.swift:129:13: warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
127 | open override func redraw(region: Rect, painter p: Painter) {
128 | //log ("Window.redraw: \(frame) and region to redraw is: \(region)")
129 | let contentFrame = contentView.frame
| `- warning: initialization of immutable value 'contentFrame' was never used; consider replacing with assignment to '_' or removing it
130 | if !needDisplay.isEmpty {
131 | // Background
[169/178] Compiling TermKit SplitView.swift
[170/178] Compiling TermKit StatusBar.swift
[171/178] Compiling TermKit TabView.swift
[172/178] Compiling TermKit Terminal.swift
[173/178] Compiling TermKit TextField.swift
[174/178] Compiling TermKit TextView.swift
BUILD FAILURE 6.1 linux