Build Information
Successful build of SpectreKit, reference main (05b531
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 16:41:24 UTC.
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/patriksvensson/spectre-kit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/patriksvensson/spectre-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 05b5314 Merge pull request #11 from patriksvensson/feature/windows
Cloned https://github.com/patriksvensson/spectre-kit.git
Revision (git rev-parse @):
05b531447809b92969bd8688d7b842bbd796f469
SUCCESS checkout https://github.com/patriksvensson/spectre-kit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/patriksvensson/spectre-kit.git
https://github.com/patriksvensson/spectre-kit.git
{
"dependencies" : [
{
"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" : "SpectreKit",
"name" : "SpectreKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SpectreKit",
"targets" : [
"SpectreKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SpectreKitTests",
"module_type" : "SwiftTarget",
"name" : "SpectreKitTests",
"path" : "Tests/SpectreKitTests",
"sources" : [
"ColorTests.swift",
"StringTests.swift",
"TestConsole.swift",
"Widgets/GridTests.swift",
"Widgets/MarkupTests.swift",
"Widgets/PanelTests.swift",
"Widgets/ParagraphTests.swift",
"Widgets/RuleTests.swift",
"Widgets/TableTests.swift",
"Widgets/TextTests.swift"
],
"target_dependencies" : [
"SpectreKit"
],
"type" : "test"
},
{
"c99name" : "SpectreKit",
"module_type" : "SwiftTarget",
"name" : "SpectreKit",
"path" : "Sources/SpectreKit",
"product_memberships" : [
"SpectreKit",
"Example"
],
"sources" : [
"Alignable.swift",
"Borderable.swift",
"BoxBorder.swift",
"BoxBordereable.swift",
"Colors.swift",
"Column.swift",
"Environment.swift",
"Expandable.swift",
"Internal/DataStructures.swift",
"Internal/Extensions/Array.swift",
"Internal/Extensions/Character.swift",
"Internal/Extensions/Sequence.swift",
"Internal/Extensions/String.swift",
"Internal/Iterators.swift",
"Internal/Platform.swift",
"Internal/Ratio.swift",
"Internal/Wcwidth.swift",
"Justify.swift",
"Overflow.swift",
"Paddable.swift",
"Padding.swift",
"Rendering/Aligner.swift",
"Rendering/Ansi.swift",
"Rendering/Renderable.swift",
"Rendering/Segments.swift",
"Rendering/TablePart.swift",
"Size.swift",
"SpectreKit.swift",
"Styles.swift",
"TableBorder.swift",
"TableBordereable.swift",
"Terminal.swift",
"Widgets/Borders/BoxBorderPart.swift",
"Widgets/Borders/Boxes/AsciiBoxBorder.swift",
"Widgets/Borders/Boxes/DoubleBoxBorder.swift",
"Widgets/Borders/Boxes/HeavyBoxBorder.swift",
"Widgets/Borders/Boxes/NoBoxBorder.swift",
"Widgets/Borders/Boxes/RoundedBoxCorner.swift",
"Widgets/Borders/Boxes/SquareBoxBorder.swift",
"Widgets/Borders/TableBorderPart.swift",
"Widgets/Borders/Tables/Ascii2TableBorder.swift",
"Widgets/Borders/Tables/AsciiDoubleHeadTableBorder.swift",
"Widgets/Borders/Tables/AsciiTableBorder.swift",
"Widgets/Borders/Tables/DoubleEdgeTableBorder.swift",
"Widgets/Borders/Tables/DoubleTableBorder.swift",
"Widgets/Borders/Tables/HeavyEdgeTableBorder.swift",
"Widgets/Borders/Tables/HeavyHeadTableBorder.swift",
"Widgets/Borders/Tables/HeavyTableBorder.swift",
"Widgets/Borders/Tables/HorizontalTableBorder.swift",
"Widgets/Borders/Tables/MarkdownTableBorder.swift",
"Widgets/Borders/Tables/MinimalDoubleHeadTableBorder.swift",
"Widgets/Borders/Tables/MinimalHeavyHeadTableBorder.swift",
"Widgets/Borders/Tables/MinimalTableBorder.swift",
"Widgets/Borders/Tables/NoTableBorder.swift",
"Widgets/Borders/Tables/RoundedTableBorder.swift",
"Widgets/Borders/Tables/SimpleHeavyTableBorder.swift",
"Widgets/Borders/Tables/SimpleTableBorder.swift",
"Widgets/Borders/Tables/SquareTableBorder.swift",
"Widgets/Grid.swift",
"Widgets/Markup.swift",
"Widgets/Padder.swift",
"Widgets/Panel.swift",
"Widgets/Paragraph.swift",
"Widgets/Rule.swift",
"Widgets/Table.swift",
"Widgets/Text.swift"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SpectreKit"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/9] Write sources
[3/9] Write Example-entitlement.plist
[4/9] Write sources
[5/9] Write swift-version-2F0A5646E1D333AE.txt
[7/70] Compiling SpectreKit HeavyBoxBorder.swift
[8/70] Compiling SpectreKit NoBoxBorder.swift
[9/70] Compiling SpectreKit RoundedBoxCorner.swift
[10/70] Compiling SpectreKit SquareBoxBorder.swift
[11/70] Compiling SpectreKit TableBorderPart.swift
[12/70] Compiling SpectreKit Ascii2TableBorder.swift
[13/70] Compiling SpectreKit AsciiDoubleHeadTableBorder.swift
[14/76] Emitting module SpectreKit
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:17:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Represents color and text decorations.
7 | public struct Style: Equatable {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
8 | /// The foreground color.
9 | public let foreground: Color?
:
15 | /// A ``Style`` with the default colors
16 | /// and without text decoration
17 | public static let plain = Style()
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public init(foreground: Color? = nil, background: Color? = nil, decoration: Decoration? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:141:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
139 |
140 | /// Bold text.
141 | public static let bold = Decoration(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:144:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
142 |
143 | /// Dim or faint text.
144 | public static let dim = Decoration(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:147:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
145 |
146 | /// Italic text.
147 | public static let italic = Decoration(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:150:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
148 |
149 | /// Underlined text.
150 | public static let underline = Decoration(rawValue: 1 << 3)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:153:23: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
151 |
152 | /// Swaps the foreground and background colors.
153 | public static let invert = Decoration(rawValue: 1 << 4)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:156:23: warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
154 |
155 | /// Hides the text.
156 | public static let conceal = Decoration(rawValue: 1 << 5)
| |- warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conceal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:160:23: warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
158 | /// Makes text blink.
159 | /// Normally less than 150 blinks per minute.
160 | public static let slowBlink = Decoration(rawValue: 1 << 6)
| |- warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slowBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:164:23: warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
162 | /// Makes text blink.
163 | /// Normally more than 150 blinks per minute.
164 | public static let rapidBlink = Decoration(rawValue: 1 << 7)
| |- warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rapidBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// Shows text with a horizontal line through the center.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:167:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
165 |
166 | /// Shows text with a horizontal line through the center.
167 | public static let strikethrough = Decoration(rawValue: 1 << 8)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:174:16: warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
172 |
173 | struct DecorationTable {
174 | static let table: [String: Decoration] = [
| |- warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Widgets/Text.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A renderable piece of text.
2 | public class Text: Renderable, Justifiable, Overflowable {
| `- note: class 'Text' does not conform to the 'Sendable' protocol
3 | var _paragraph: Paragraph
4 |
5 | /// Gets an empty ``Text`` instance.
6 | public static let empty: Text = Text("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Gets an instance of ``Text`` containing a new line.
[15/76] Compiling SpectreKit AsciiTableBorder.swift
[16/76] Compiling SpectreKit DoubleEdgeTableBorder.swift
[17/76] Compiling SpectreKit DoubleTableBorder.swift
[18/76] Compiling SpectreKit HeavyEdgeTableBorder.swift
[19/76] Compiling SpectreKit HeavyHeadTableBorder.swift
[20/76] Compiling SpectreKit HeavyTableBorder.swift
[21/76] Compiling SpectreKit Alignable.swift
[22/76] Compiling SpectreKit Borderable.swift
[23/76] Compiling SpectreKit BoxBorder.swift
[24/76] Compiling SpectreKit BoxBordereable.swift
[25/76] Compiling SpectreKit Colors.swift
[26/76] Compiling SpectreKit Column.swift
[27/76] Compiling SpectreKit Environment.swift
[28/76] Compiling SpectreKit Platform.swift
[29/76] Compiling SpectreKit Ratio.swift
[30/76] Compiling SpectreKit Wcwidth.swift
[31/76] Compiling SpectreKit Justify.swift
[32/76] Compiling SpectreKit Overflow.swift
[33/76] Compiling SpectreKit Paddable.swift
[34/76] Compiling SpectreKit Padding.swift
[35/76] Compiling SpectreKit Expandable.swift
[36/76] Compiling SpectreKit DataStructures.swift
[37/76] Compiling SpectreKit Array.swift
[38/76] Compiling SpectreKit Character.swift
[39/76] Compiling SpectreKit Sequence.swift
[40/76] Compiling SpectreKit String.swift
[41/76] Compiling SpectreKit Iterators.swift
[42/76] Compiling SpectreKit Padder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Widgets/Text.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A renderable piece of text.
2 | public class Text: Renderable, Justifiable, Overflowable {
| `- note: class 'Text' does not conform to the 'Sendable' protocol
3 | var _paragraph: Paragraph
4 |
5 | /// Gets an empty ``Text`` instance.
6 | public static let empty: Text = Text("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Gets an instance of ``Text`` containing a new line.
[43/76] Compiling SpectreKit Panel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Widgets/Text.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A renderable piece of text.
2 | public class Text: Renderable, Justifiable, Overflowable {
| `- note: class 'Text' does not conform to the 'Sendable' protocol
3 | var _paragraph: Paragraph
4 |
5 | /// Gets an empty ``Text`` instance.
6 | public static let empty: Text = Text("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Gets an instance of ``Text`` containing a new line.
[44/76] Compiling SpectreKit Paragraph.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Widgets/Text.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A renderable piece of text.
2 | public class Text: Renderable, Justifiable, Overflowable {
| `- note: class 'Text' does not conform to the 'Sendable' protocol
3 | var _paragraph: Paragraph
4 |
5 | /// Gets an empty ``Text`` instance.
6 | public static let empty: Text = Text("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Gets an instance of ``Text`` containing a new line.
[45/76] Compiling SpectreKit Rule.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Widgets/Text.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A renderable piece of text.
2 | public class Text: Renderable, Justifiable, Overflowable {
| `- note: class 'Text' does not conform to the 'Sendable' protocol
3 | var _paragraph: Paragraph
4 |
5 | /// Gets an empty ``Text`` instance.
6 | public static let empty: Text = Text("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Gets an instance of ``Text`` containing a new line.
[46/76] Compiling SpectreKit Table.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Widgets/Text.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A renderable piece of text.
2 | public class Text: Renderable, Justifiable, Overflowable {
| `- note: class 'Text' does not conform to the 'Sendable' protocol
3 | var _paragraph: Paragraph
4 |
5 | /// Gets an empty ``Text`` instance.
6 | public static let empty: Text = Text("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Gets an instance of ``Text`` containing a new line.
[47/76] Compiling SpectreKit Text.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Widgets/Text.swift:6:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// A renderable piece of text.
2 | public class Text: Renderable, Justifiable, Overflowable {
| `- note: class 'Text' does not conform to the 'Sendable' protocol
3 | var _paragraph: Paragraph
4 |
5 | /// Gets an empty ``Text`` instance.
6 | public static let empty: Text = Text("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Text' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | /// Gets an instance of ``Text`` containing a new line.
[48/76] Compiling SpectreKit HorizontalTableBorder.swift
[49/76] Compiling SpectreKit MarkdownTableBorder.swift
[50/76] Compiling SpectreKit MinimalDoubleHeadTableBorder.swift
[51/76] Compiling SpectreKit MinimalHeavyHeadTableBorder.swift
[52/76] Compiling SpectreKit MinimalTableBorder.swift
[53/76] Compiling SpectreKit NoTableBorder.swift
[54/76] Compiling SpectreKit Aligner.swift
[55/76] Compiling SpectreKit Ansi.swift
[56/76] Compiling SpectreKit Renderable.swift
[57/76] Compiling SpectreKit Segments.swift
[58/76] Compiling SpectreKit TablePart.swift
[59/76] Compiling SpectreKit Size.swift
[60/76] Compiling SpectreKit SpectreKit.swift
[61/76] Compiling SpectreKit RoundedTableBorder.swift
[62/76] Compiling SpectreKit SimpleHeavyTableBorder.swift
[63/76] Compiling SpectreKit SimpleTableBorder.swift
[64/76] Compiling SpectreKit SquareTableBorder.swift
[65/76] Compiling SpectreKit Grid.swift
[66/76] Compiling SpectreKit Markup.swift
[67/76] Compiling SpectreKit Styles.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:17:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Represents color and text decorations.
7 | public struct Style: Equatable {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
8 | /// The foreground color.
9 | public let foreground: Color?
:
15 | /// A ``Style`` with the default colors
16 | /// and without text decoration
17 | public static let plain = Style()
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public init(foreground: Color? = nil, background: Color? = nil, decoration: Decoration? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:141:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
139 |
140 | /// Bold text.
141 | public static let bold = Decoration(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:144:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
142 |
143 | /// Dim or faint text.
144 | public static let dim = Decoration(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:147:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
145 |
146 | /// Italic text.
147 | public static let italic = Decoration(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:150:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
148 |
149 | /// Underlined text.
150 | public static let underline = Decoration(rawValue: 1 << 3)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:153:23: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
151 |
152 | /// Swaps the foreground and background colors.
153 | public static let invert = Decoration(rawValue: 1 << 4)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:156:23: warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
154 |
155 | /// Hides the text.
156 | public static let conceal = Decoration(rawValue: 1 << 5)
| |- warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conceal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:160:23: warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
158 | /// Makes text blink.
159 | /// Normally less than 150 blinks per minute.
160 | public static let slowBlink = Decoration(rawValue: 1 << 6)
| |- warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slowBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:164:23: warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
162 | /// Makes text blink.
163 | /// Normally more than 150 blinks per minute.
164 | public static let rapidBlink = Decoration(rawValue: 1 << 7)
| |- warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rapidBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// Shows text with a horizontal line through the center.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:167:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
165 |
166 | /// Shows text with a horizontal line through the center.
167 | public static let strikethrough = Decoration(rawValue: 1 << 8)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:174:16: warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
172 |
173 | struct DecorationTable {
174 | static let table: [String: Decoration] = [
| |- warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[68/76] Compiling SpectreKit TableBorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:17:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Represents color and text decorations.
7 | public struct Style: Equatable {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
8 | /// The foreground color.
9 | public let foreground: Color?
:
15 | /// A ``Style`` with the default colors
16 | /// and without text decoration
17 | public static let plain = Style()
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public init(foreground: Color? = nil, background: Color? = nil, decoration: Decoration? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:141:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
139 |
140 | /// Bold text.
141 | public static let bold = Decoration(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:144:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
142 |
143 | /// Dim or faint text.
144 | public static let dim = Decoration(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:147:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
145 |
146 | /// Italic text.
147 | public static let italic = Decoration(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:150:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
148 |
149 | /// Underlined text.
150 | public static let underline = Decoration(rawValue: 1 << 3)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:153:23: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
151 |
152 | /// Swaps the foreground and background colors.
153 | public static let invert = Decoration(rawValue: 1 << 4)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:156:23: warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
154 |
155 | /// Hides the text.
156 | public static let conceal = Decoration(rawValue: 1 << 5)
| |- warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conceal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:160:23: warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
158 | /// Makes text blink.
159 | /// Normally less than 150 blinks per minute.
160 | public static let slowBlink = Decoration(rawValue: 1 << 6)
| |- warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slowBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:164:23: warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
162 | /// Makes text blink.
163 | /// Normally more than 150 blinks per minute.
164 | public static let rapidBlink = Decoration(rawValue: 1 << 7)
| |- warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rapidBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// Shows text with a horizontal line through the center.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:167:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
165 |
166 | /// Shows text with a horizontal line through the center.
167 | public static let strikethrough = Decoration(rawValue: 1 << 8)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:174:16: warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
172 |
173 | struct DecorationTable {
174 | static let table: [String: Decoration] = [
| |- warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[69/76] Compiling SpectreKit TableBordereable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:17:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Represents color and text decorations.
7 | public struct Style: Equatable {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
8 | /// The foreground color.
9 | public let foreground: Color?
:
15 | /// A ``Style`` with the default colors
16 | /// and without text decoration
17 | public static let plain = Style()
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public init(foreground: Color? = nil, background: Color? = nil, decoration: Decoration? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:141:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
139 |
140 | /// Bold text.
141 | public static let bold = Decoration(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:144:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
142 |
143 | /// Dim or faint text.
144 | public static let dim = Decoration(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:147:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
145 |
146 | /// Italic text.
147 | public static let italic = Decoration(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:150:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
148 |
149 | /// Underlined text.
150 | public static let underline = Decoration(rawValue: 1 << 3)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:153:23: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
151 |
152 | /// Swaps the foreground and background colors.
153 | public static let invert = Decoration(rawValue: 1 << 4)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:156:23: warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
154 |
155 | /// Hides the text.
156 | public static let conceal = Decoration(rawValue: 1 << 5)
| |- warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conceal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:160:23: warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
158 | /// Makes text blink.
159 | /// Normally less than 150 blinks per minute.
160 | public static let slowBlink = Decoration(rawValue: 1 << 6)
| |- warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slowBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:164:23: warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
162 | /// Makes text blink.
163 | /// Normally more than 150 blinks per minute.
164 | public static let rapidBlink = Decoration(rawValue: 1 << 7)
| |- warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rapidBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// Shows text with a horizontal line through the center.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:167:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
165 |
166 | /// Shows text with a horizontal line through the center.
167 | public static let strikethrough = Decoration(rawValue: 1 << 8)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:174:16: warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
172 |
173 | struct DecorationTable {
174 | static let table: [String: Decoration] = [
| |- warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[70/76] Compiling SpectreKit Terminal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:17:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Represents color and text decorations.
7 | public struct Style: Equatable {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
8 | /// The foreground color.
9 | public let foreground: Color?
:
15 | /// A ``Style`` with the default colors
16 | /// and without text decoration
17 | public static let plain = Style()
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public init(foreground: Color? = nil, background: Color? = nil, decoration: Decoration? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:141:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
139 |
140 | /// Bold text.
141 | public static let bold = Decoration(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:144:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
142 |
143 | /// Dim or faint text.
144 | public static let dim = Decoration(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:147:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
145 |
146 | /// Italic text.
147 | public static let italic = Decoration(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:150:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
148 |
149 | /// Underlined text.
150 | public static let underline = Decoration(rawValue: 1 << 3)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:153:23: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
151 |
152 | /// Swaps the foreground and background colors.
153 | public static let invert = Decoration(rawValue: 1 << 4)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:156:23: warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
154 |
155 | /// Hides the text.
156 | public static let conceal = Decoration(rawValue: 1 << 5)
| |- warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conceal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:160:23: warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
158 | /// Makes text blink.
159 | /// Normally less than 150 blinks per minute.
160 | public static let slowBlink = Decoration(rawValue: 1 << 6)
| |- warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slowBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:164:23: warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
162 | /// Makes text blink.
163 | /// Normally more than 150 blinks per minute.
164 | public static let rapidBlink = Decoration(rawValue: 1 << 7)
| |- warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rapidBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// Shows text with a horizontal line through the center.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:167:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
165 |
166 | /// Shows text with a horizontal line through the center.
167 | public static let strikethrough = Decoration(rawValue: 1 << 8)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:174:16: warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
172 |
173 | struct DecorationTable {
174 | static let table: [String: Decoration] = [
| |- warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[71/76] Compiling SpectreKit BoxBorderPart.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:17:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Represents color and text decorations.
7 | public struct Style: Equatable {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
8 | /// The foreground color.
9 | public let foreground: Color?
:
15 | /// A ``Style`` with the default colors
16 | /// and without text decoration
17 | public static let plain = Style()
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public init(foreground: Color? = nil, background: Color? = nil, decoration: Decoration? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:141:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
139 |
140 | /// Bold text.
141 | public static let bold = Decoration(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:144:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
142 |
143 | /// Dim or faint text.
144 | public static let dim = Decoration(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:147:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
145 |
146 | /// Italic text.
147 | public static let italic = Decoration(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:150:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
148 |
149 | /// Underlined text.
150 | public static let underline = Decoration(rawValue: 1 << 3)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:153:23: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
151 |
152 | /// Swaps the foreground and background colors.
153 | public static let invert = Decoration(rawValue: 1 << 4)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:156:23: warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
154 |
155 | /// Hides the text.
156 | public static let conceal = Decoration(rawValue: 1 << 5)
| |- warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conceal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:160:23: warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
158 | /// Makes text blink.
159 | /// Normally less than 150 blinks per minute.
160 | public static let slowBlink = Decoration(rawValue: 1 << 6)
| |- warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slowBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:164:23: warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
162 | /// Makes text blink.
163 | /// Normally more than 150 blinks per minute.
164 | public static let rapidBlink = Decoration(rawValue: 1 << 7)
| |- warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rapidBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// Shows text with a horizontal line through the center.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:167:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
165 |
166 | /// Shows text with a horizontal line through the center.
167 | public static let strikethrough = Decoration(rawValue: 1 << 8)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:174:16: warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
172 |
173 | struct DecorationTable {
174 | static let table: [String: Decoration] = [
| |- warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[72/76] Compiling SpectreKit AsciiBoxBorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:17:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Represents color and text decorations.
7 | public struct Style: Equatable {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
8 | /// The foreground color.
9 | public let foreground: Color?
:
15 | /// A ``Style`` with the default colors
16 | /// and without text decoration
17 | public static let plain = Style()
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public init(foreground: Color? = nil, background: Color? = nil, decoration: Decoration? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:141:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
139 |
140 | /// Bold text.
141 | public static let bold = Decoration(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:144:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
142 |
143 | /// Dim or faint text.
144 | public static let dim = Decoration(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:147:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
145 |
146 | /// Italic text.
147 | public static let italic = Decoration(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:150:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
148 |
149 | /// Underlined text.
150 | public static let underline = Decoration(rawValue: 1 << 3)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:153:23: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
151 |
152 | /// Swaps the foreground and background colors.
153 | public static let invert = Decoration(rawValue: 1 << 4)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:156:23: warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
154 |
155 | /// Hides the text.
156 | public static let conceal = Decoration(rawValue: 1 << 5)
| |- warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conceal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:160:23: warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
158 | /// Makes text blink.
159 | /// Normally less than 150 blinks per minute.
160 | public static let slowBlink = Decoration(rawValue: 1 << 6)
| |- warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slowBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:164:23: warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
162 | /// Makes text blink.
163 | /// Normally more than 150 blinks per minute.
164 | public static let rapidBlink = Decoration(rawValue: 1 << 7)
| |- warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rapidBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// Shows text with a horizontal line through the center.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:167:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
165 |
166 | /// Shows text with a horizontal line through the center.
167 | public static let strikethrough = Decoration(rawValue: 1 << 8)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:174:16: warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
172 |
173 | struct DecorationTable {
174 | static let table: [String: Decoration] = [
| |- warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[73/76] Compiling SpectreKit DoubleBoxBorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:17:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | /// Represents color and text decorations.
7 | public struct Style: Equatable {
| `- note: consider making struct 'Style' conform to the 'Sendable' protocol
8 | /// The foreground color.
9 | public let foreground: Color?
:
15 | /// A ``Style`` with the default colors
16 | /// and without text decoration
17 | public static let plain = Style()
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'plain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | public init(foreground: Color? = nil, background: Color? = nil, decoration: Decoration? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:141:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
139 |
140 | /// Bold text.
141 | public static let bold = Decoration(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:144:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
142 |
143 | /// Dim or faint text.
144 | public static let dim = Decoration(rawValue: 1 << 1)
| |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:147:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
145 |
146 | /// Italic text.
147 | public static let italic = Decoration(rawValue: 1 << 2)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:150:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
148 |
149 | /// Underlined text.
150 | public static let underline = Decoration(rawValue: 1 << 3)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'underline' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:153:23: warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
151 |
152 | /// Swaps the foreground and background colors.
153 | public static let invert = Decoration(rawValue: 1 << 4)
| |- warning: static property 'invert' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'invert' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:156:23: warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
154 |
155 | /// Hides the text.
156 | public static let conceal = Decoration(rawValue: 1 << 5)
| |- warning: static property 'conceal' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'conceal' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:160:23: warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
158 | /// Makes text blink.
159 | /// Normally less than 150 blinks per minute.
160 | public static let slowBlink = Decoration(rawValue: 1 << 6)
| |- warning: static property 'slowBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slowBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:164:23: warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
162 | /// Makes text blink.
163 | /// Normally more than 150 blinks per minute.
164 | public static let rapidBlink = Decoration(rawValue: 1 << 7)
| |- warning: static property 'rapidBlink' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rapidBlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | /// Shows text with a horizontal line through the center.
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:167:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
165 |
166 | /// Shows text with a horizontal line through the center.
167 | public static let strikethrough = Decoration(rawValue: 1 << 8)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Decoration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/SpectreKit/Styles.swift:174:16: warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
131 | /// Represents text decoration.
132 | /// Support for text decorations are up to the terminal.
133 | public struct Decoration: OptionSet {
| `- note: consider making struct 'Decoration' conform to the 'Sendable' protocol
134 | public let rawValue: Int
135 |
:
172 |
173 | struct DecorationTable {
174 | static let table: [String: Decoration] = [
| |- warning: static property 'table' is not concurrency-safe because non-'Sendable' type '[String : Decoration]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[74/78] Compiling Example main.swift
[75/78] Emitting module Example
[75/78] Write Objects.LinkFileList
[76/78] Linking Example
[77/78] Applying Example
Build complete! (21.57s)
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.28s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.90s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.64s)
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.3
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
Build complete.
{
"dependencies" : [
{
"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" : "SpectreKit",
"name" : "SpectreKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SpectreKit",
"targets" : [
"SpectreKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SpectreKitTests",
"module_type" : "SwiftTarget",
"name" : "SpectreKitTests",
"path" : "Tests/SpectreKitTests",
"sources" : [
"ColorTests.swift",
"StringTests.swift",
"TestConsole.swift",
"Widgets/GridTests.swift",
"Widgets/MarkupTests.swift",
"Widgets/PanelTests.swift",
"Widgets/ParagraphTests.swift",
"Widgets/RuleTests.swift",
"Widgets/TableTests.swift",
"Widgets/TextTests.swift"
],
"target_dependencies" : [
"SpectreKit"
],
"type" : "test"
},
{
"c99name" : "SpectreKit",
"module_type" : "SwiftTarget",
"name" : "SpectreKit",
"path" : "Sources/SpectreKit",
"product_memberships" : [
"SpectreKit",
"Example"
],
"sources" : [
"Alignable.swift",
"Borderable.swift",
"BoxBorder.swift",
"BoxBordereable.swift",
"Colors.swift",
"Column.swift",
"Environment.swift",
"Expandable.swift",
"Internal/DataStructures.swift",
"Internal/Extensions/Array.swift",
"Internal/Extensions/Character.swift",
"Internal/Extensions/Sequence.swift",
"Internal/Extensions/String.swift",
"Internal/Iterators.swift",
"Internal/Platform.swift",
"Internal/Ratio.swift",
"Internal/Wcwidth.swift",
"Justify.swift",
"Overflow.swift",
"Paddable.swift",
"Padding.swift",
"Rendering/Aligner.swift",
"Rendering/Ansi.swift",
"Rendering/Renderable.swift",
"Rendering/Segments.swift",
"Rendering/TablePart.swift",
"Size.swift",
"SpectreKit.swift",
"Styles.swift",
"TableBorder.swift",
"TableBordereable.swift",
"Terminal.swift",
"Widgets/Borders/BoxBorderPart.swift",
"Widgets/Borders/Boxes/AsciiBoxBorder.swift",
"Widgets/Borders/Boxes/DoubleBoxBorder.swift",
"Widgets/Borders/Boxes/HeavyBoxBorder.swift",
"Widgets/Borders/Boxes/NoBoxBorder.swift",
"Widgets/Borders/Boxes/RoundedBoxCorner.swift",
"Widgets/Borders/Boxes/SquareBoxBorder.swift",
"Widgets/Borders/TableBorderPart.swift",
"Widgets/Borders/Tables/Ascii2TableBorder.swift",
"Widgets/Borders/Tables/AsciiDoubleHeadTableBorder.swift",
"Widgets/Borders/Tables/AsciiTableBorder.swift",
"Widgets/Borders/Tables/DoubleEdgeTableBorder.swift",
"Widgets/Borders/Tables/DoubleTableBorder.swift",
"Widgets/Borders/Tables/HeavyEdgeTableBorder.swift",
"Widgets/Borders/Tables/HeavyHeadTableBorder.swift",
"Widgets/Borders/Tables/HeavyTableBorder.swift",
"Widgets/Borders/Tables/HorizontalTableBorder.swift",
"Widgets/Borders/Tables/MarkdownTableBorder.swift",
"Widgets/Borders/Tables/MinimalDoubleHeadTableBorder.swift",
"Widgets/Borders/Tables/MinimalHeavyHeadTableBorder.swift",
"Widgets/Borders/Tables/MinimalTableBorder.swift",
"Widgets/Borders/Tables/NoTableBorder.swift",
"Widgets/Borders/Tables/RoundedTableBorder.swift",
"Widgets/Borders/Tables/SimpleHeavyTableBorder.swift",
"Widgets/Borders/Tables/SimpleTableBorder.swift",
"Widgets/Borders/Tables/SquareTableBorder.swift",
"Widgets/Grid.swift",
"Widgets/Markup.swift",
"Widgets/Padder.swift",
"Widgets/Panel.swift",
"Widgets/Paragraph.swift",
"Widgets/Rule.swift",
"Widgets/Table.swift",
"Widgets/Text.swift"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SpectreKit"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Done.