Build Information
Successful build of SpectreKit, reference main (05b531
), with Swift 6.0 for Linux on 2 Dec 2024 04:32:44 UTC.
Swift 6 data race errors: 12
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
Build Log
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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/host/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: annotate 'table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[33/76] Compiling SpectreKit Styles.swift
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/host/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: annotate 'table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[34/76] Compiling SpectreKit TableBorder.swift
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/host/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: annotate 'table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[35/76] Compiling SpectreKit TableBordereable.swift
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/host/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: annotate 'table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[36/76] Compiling SpectreKit Terminal.swift
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/host/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: annotate 'table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[37/76] Compiling SpectreKit BoxBorderPart.swift
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/host/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: annotate 'table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[38/76] Compiling SpectreKit AsciiBoxBorder.swift
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | }
169 |
/host/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: annotate 'table' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | "none": [],
176 | "bold": Decoration.bold,
[39/76] Compiling SpectreKit Grid.swift
/host/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[40/76] Compiling SpectreKit Markup.swift
/host/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[41/76] Compiling SpectreKit Padder.swift
/host/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[42/76] Compiling SpectreKit Panel.swift
/host/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[43/76] Compiling SpectreKit Paragraph.swift
/host/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[44/76] Compiling SpectreKit Rule.swift
/host/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[45/76] Compiling SpectreKit Table.swift
/host/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[46/76] Compiling SpectreKit Text.swift
/host/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[47/76] Compiling SpectreKit Array.swift
[48/76] Compiling SpectreKit Character.swift
[49/76] Compiling SpectreKit Sequence.swift
[50/76] Compiling SpectreKit String.swift
[51/76] Compiling SpectreKit Iterators.swift
[52/76] Compiling SpectreKit Platform.swift
[53/76] Compiling SpectreKit Ratio.swift
[54/76] Compiling SpectreKit Wcwidth.swift
[55/76] Compiling SpectreKit Justify.swift
[56/76] Compiling SpectreKit Alignable.swift
[57/76] Compiling SpectreKit Borderable.swift
[58/76] Compiling SpectreKit BoxBorder.swift
[59/76] Compiling SpectreKit BoxBordereable.swift
[60/76] Compiling SpectreKit Colors.swift
[61/76] Compiling SpectreKit Column.swift
[62/76] Compiling SpectreKit Environment.swift
[63/76] Compiling SpectreKit Expandable.swift
[64/76] Compiling SpectreKit DataStructures.swift
[65/76] Compiling SpectreKit Overflow.swift
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[66/76] Compiling SpectreKit Paddable.swift
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[67/76] Compiling SpectreKit Padding.swift
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[68/76] Compiling SpectreKit Aligner.swift
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[69/76] Compiling SpectreKit Ansi.swift
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[70/76] Compiling SpectreKit Renderable.swift
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[71/76] Compiling SpectreKit Segments.swift
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[72/76] Compiling SpectreKit TablePart.swift
/host/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: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Dim or faint text.
/host/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: annotate 'dim' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Italic text.
/host/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: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Underlined text.
/host/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: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Swaps the foreground and background colors.
/host/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: annotate 'slowBlink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Makes text blink.
/host/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: annotate 'rapidBlink' with '@MainActor' if property should only be accessed from the main actor
| `- 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.
/host/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: annotate 'invert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Hides the text.
/host/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: annotate 'conceal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Makes text blink.
/host/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: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- 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) {
[73/77] Wrapping AST for SpectreKit for debugging
[75/79] Compiling Example main.swift
[76/79] Emitting module Example
[77/80] Wrapping AST for Example for debugging
[78/80] Write Objects.LinkFileList
[79/80] Linking Example
Build complete! (34.45s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.