Build Information
Successful build of Senna with Swift 6.0 for Linux.
Swift 6 data race errors: 34
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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 2>&1
Build Log
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
| |- warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText8Color' 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
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:180:16: warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
| |- warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText8Color' 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
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:181:16: warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
| |- warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText8Color' 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
182 | static let criticalText8Color = LegacyTextColor.lightGray
183 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:182:16: warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
| |- warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText8Color' 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
183 | }
184 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:206:16: warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public extension Printer {
206 | static let criticalBackground8Color = LegacyBackgroundColor.red
| |- warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground8Color' 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
207 | }
208 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:118:16: warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
116 | )
117 |
118 | static let legacy16bit = Printer(
| |- warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy16bit' 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
119 | textColor: {
120 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:188:16: warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
| |- warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText16Color' 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
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:189:16: warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
| |- warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText16Color' 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
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:190:16: warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
| |- warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText16Color' 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
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:191:16: warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
| |- warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText16Color' 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
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:192:16: warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
| |- warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText16Color' 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
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:193:16: warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
| |- warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText16Color' 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
194 | static let criticalText16Color = LegacyTextColor.white
195 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:194:16: warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
| |- warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText16Color' 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
195 | }
196 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:212:16: warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public extension Printer {
212 | static let criticalBackground16Color = LegacyBackgroundColor.lightRed
| |- warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground16Color' 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
213 | }
214 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:13: warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| |- warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDOUT' 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
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:13: warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| |- warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDERR' 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
75 | #else
76 | private let STDOUT = Darwin.stdout
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:28: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:28: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | private let STDOUT = Darwin.stdout
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[15/41] Compiling Senna Privacy.swift
[16/41] Compiling Senna Style.swift
[17/41] Compiling Senna _Exported.swift
[18/41] Compiling Senna EscapeCode.swift
[19/41] Compiling Senna Formable.swift
[20/41] Compiling Senna Printable.swift
[21/41] Compiling Senna SinkCapable.swift
[22/41] Compiling Senna Component.swift
[23/41] Compiling Senna ControlCode.swift
[24/41] Compiling Senna FileDescriptorTextOutputStream.swift
[25/41] Compiling Senna FloatFormatter.swift
[26/41] Compiling Senna FlushMode.swift
[27/41] Compiling Senna IntegerFormatter.swift
[28/41] Compiling Senna Interpolation.swift
[29/41] Compiling Senna LegacyBackgroundColor.swift
[30/41] Compiling Senna LegacyTextColor.swift
[31/41] Compiling Senna LevelStyle.swift
[32/41] Compiling Senna Logger.Senna.swift
[33/41] Compiling Senna Message.swift
[34/41] Compiling Senna Spacing.swift
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:13: warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| |- warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDOUT' 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
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:13: warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| |- warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDERR' 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
75 | #else
76 | private let STDOUT = Darwin.stdout
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:28: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:28: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | private let STDOUT = Darwin.stdout
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[35/41] Compiling Senna FileSink.swift
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:13: warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| |- warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDOUT' 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
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:13: warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| |- warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDERR' 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
75 | #else
76 | private let STDOUT = Darwin.stdout
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:28: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:28: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | private let STDOUT = Darwin.stdout
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[36/41] Compiling Senna OSLogSink.swift
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:13: warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| |- warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDOUT' 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
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:13: warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| |- warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDERR' 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
75 | #else
76 | private let STDOUT = Darwin.stdout
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:28: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:28: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | private let STDOUT = Darwin.stdout
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[37/41] Compiling Senna StandardSink.swift
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:13: warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| |- warning: let 'STDOUT' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDOUT' 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
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:13: warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| |- warning: let 'STDERR' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'STDERR' 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
75 | #else
76 | private let STDOUT = Darwin.stdout
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:73:28: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
71 |
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
75 | #else
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/Sinks/StandardSink.swift:74:28: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
72 | #if os(Linux)
73 | private let STDOUT = Glibc.stdout.unsafelyUnwrapped
74 | private let STDERR = Glibc.stderr.unsafelyUnwrapped
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | #else
76 | private let STDOUT = Darwin.stdout
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[38/41] Compiling Senna Formation.swift
/host/spi-builder-workspace/Sources/Implements/Formation.swift:127:16: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | public extension Formation {
127 | static let dateFormatter: DateFormatter = {
| `- warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
128 | let dateFormatter = DateFormatter()
129 | dateFormatter.dateFormat = "yyyy/MM/dd HH:mm:ss"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Implements/Formation.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | import Logging
7 |
:
125 |
126 | public extension Formation {
127 | static let dateFormatter: DateFormatter = {
| |- note: annotate 'dateFormatter' 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
128 | let dateFormatter = DateFormatter()
129 | dateFormatter.dateFormat = "yyyy/MM/dd HH:mm:ss"
/host/spi-builder-workspace/Sources/Implements/Printer.swift:32:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
30 |
31 | public extension Printer {
32 | static let standard = Printer(
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
33 | textColor: {
34 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:73:16: warning: static property 'xcode' is not concurrency-safe because non-'Sendable' type 'Printer?' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
71 | )
72 |
73 | static let xcode: Self? = nil
| |- warning: static property 'xcode' is not concurrency-safe because non-'Sendable' type 'Printer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcode' 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
74 |
75 | static let legacy8bit = Printer(
/host/spi-builder-workspace/Sources/Implements/Handler.swift:10:16: warning: stored property 'sink' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any SinkCapable'; this is an error in the Swift 6 language mode
8 | public struct Handler: LogHandler {
9 | public let name: String
10 | public let sink: SinkCapable
| `- warning: stored property 'sink' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any SinkCapable'; this is an error in the Swift 6 language mode
11 | public let formation: Formable
12 |
/host/spi-builder-workspace/Sources/Protocols/SinkCapable.swift:7:17: note: protocol 'SinkCapable' does not conform to the 'Sendable' protocol
5 | import Logging
6 |
7 | public protocol SinkCapable {
| `- note: protocol 'SinkCapable' does not conform to the 'Sendable' protocol
8 | func process(_ formattedLog: String, _ level: Logger.Level)
9 | }
/host/spi-builder-workspace/Sources/Implements/Handler.swift:11:16: warning: stored property 'formation' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formable'; this is an error in the Swift 6 language mode
9 | public let name: String
10 | public let sink: SinkCapable
11 | public let formation: Formable
| `- warning: stored property 'formation' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formable'; this is an error in the Swift 6 language mode
12 |
13 | private var prettyMetadata: String?
/host/spi-builder-workspace/Sources/Protocols/Formable.swift:8:17: note: protocol 'Formable' does not conform to the 'Sendable' protocol
6 | import Logging
7 |
8 | public protocol Formable {
| `- note: protocol 'Formable' does not conform to the 'Sendable' protocol
9 | var components: [Component] { get }
10 | func format(name: String, level: Logger.Level, message: Logger.Message, prettyMetadata: String?, source: String, file: String, function: String, line: UInt) -> String
/host/spi-builder-workspace/Sources/Implements/Printer.swift:165:16: warning: static property 'traceTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
163 |
164 | public extension Printer {
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
| |- warning: static property 'traceTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceTextColor' 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
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:166:16: warning: static property 'debugTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
164 | public extension Printer {
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
| |- warning: static property 'debugTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugTextColor' 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
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:167:16: warning: static property 'infoTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
| |- warning: static property 'infoTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoTextColor' 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 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:168:16: warning: static property 'noticeTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
| |- warning: static property 'noticeTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeTextColor' 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
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:169:16: warning: static property 'warningTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
| |- warning: static property 'warningTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningTextColor' 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
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
171 | }
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:170:16: warning: static property 'errorTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
| |- warning: static property 'errorTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTextColor' 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
171 | }
172 |
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:200:16: warning: static property 'criticalBackgroundColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
198 |
199 | public extension Printer {
200 | static let criticalBackgroundColor = Color(red: 255, green: 0, blue: 0)
| |- warning: static property 'criticalBackgroundColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackgroundColor' 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
201 | }
202 |
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:75:16: warning: static property 'legacy8bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
73 | static let xcode: Self? = nil
74 |
75 | static let legacy8bit = Printer(
| |- warning: static property 'legacy8bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy8bit' 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
76 | textColor: {
77 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:176:16: warning: static property 'traceText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | public extension Printer {
176 | static let traceText8Color = LegacyTextColor.lightGray
| |- warning: static property 'traceText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText8Color' 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
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:177:16: warning: static property 'debugText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
175 | public extension Printer {
176 | static let traceText8Color = LegacyTextColor.lightGray
177 | static let debugText8Color = LegacyTextColor.green
| |- warning: static property 'debugText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText8Color' 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
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:178:16: warning: static property 'infoText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
176 | static let traceText8Color = LegacyTextColor.lightGray
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
| |- warning: static property 'infoText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText8Color' 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
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:179:16: warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
| |- warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText8Color' 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
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:180:16: warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
| |- warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText8Color' 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
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:181:16: warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
| |- warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText8Color' 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
182 | static let criticalText8Color = LegacyTextColor.lightGray
183 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:182:16: warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
| |- warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText8Color' 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
183 | }
184 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:206:16: warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public extension Printer {
206 | static let criticalBackground8Color = LegacyBackgroundColor.red
| |- warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground8Color' 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
207 | }
208 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:118:16: warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
116 | )
117 |
118 | static let legacy16bit = Printer(
| |- warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy16bit' 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
119 | textColor: {
120 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:188:16: warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
| |- warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText16Color' 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
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:189:16: warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
| |- warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText16Color' 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
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:190:16: warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
| |- warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText16Color' 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
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:191:16: warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
| |- warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText16Color' 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
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:192:16: warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
| |- warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText16Color' 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
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:193:16: warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
| |- warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText16Color' 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
194 | static let criticalText16Color = LegacyTextColor.white
195 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:194:16: warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
| |- warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText16Color' 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
195 | }
196 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:212:16: warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public extension Printer {
212 | static let criticalBackground16Color = LegacyBackgroundColor.lightRed
| |- warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground16Color' 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
213 | }
214 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
[39/41] Compiling Senna Handler.swift
/host/spi-builder-workspace/Sources/Implements/Formation.swift:127:16: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | public extension Formation {
127 | static let dateFormatter: DateFormatter = {
| `- warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
128 | let dateFormatter = DateFormatter()
129 | dateFormatter.dateFormat = "yyyy/MM/dd HH:mm:ss"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Implements/Formation.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | import Logging
7 |
:
125 |
126 | public extension Formation {
127 | static let dateFormatter: DateFormatter = {
| |- note: annotate 'dateFormatter' 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
128 | let dateFormatter = DateFormatter()
129 | dateFormatter.dateFormat = "yyyy/MM/dd HH:mm:ss"
/host/spi-builder-workspace/Sources/Implements/Printer.swift:32:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
30 |
31 | public extension Printer {
32 | static let standard = Printer(
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
33 | textColor: {
34 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:73:16: warning: static property 'xcode' is not concurrency-safe because non-'Sendable' type 'Printer?' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
71 | )
72 |
73 | static let xcode: Self? = nil
| |- warning: static property 'xcode' is not concurrency-safe because non-'Sendable' type 'Printer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcode' 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
74 |
75 | static let legacy8bit = Printer(
/host/spi-builder-workspace/Sources/Implements/Handler.swift:10:16: warning: stored property 'sink' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any SinkCapable'; this is an error in the Swift 6 language mode
8 | public struct Handler: LogHandler {
9 | public let name: String
10 | public let sink: SinkCapable
| `- warning: stored property 'sink' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any SinkCapable'; this is an error in the Swift 6 language mode
11 | public let formation: Formable
12 |
/host/spi-builder-workspace/Sources/Protocols/SinkCapable.swift:7:17: note: protocol 'SinkCapable' does not conform to the 'Sendable' protocol
5 | import Logging
6 |
7 | public protocol SinkCapable {
| `- note: protocol 'SinkCapable' does not conform to the 'Sendable' protocol
8 | func process(_ formattedLog: String, _ level: Logger.Level)
9 | }
/host/spi-builder-workspace/Sources/Implements/Handler.swift:11:16: warning: stored property 'formation' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formable'; this is an error in the Swift 6 language mode
9 | public let name: String
10 | public let sink: SinkCapable
11 | public let formation: Formable
| `- warning: stored property 'formation' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formable'; this is an error in the Swift 6 language mode
12 |
13 | private var prettyMetadata: String?
/host/spi-builder-workspace/Sources/Protocols/Formable.swift:8:17: note: protocol 'Formable' does not conform to the 'Sendable' protocol
6 | import Logging
7 |
8 | public protocol Formable {
| `- note: protocol 'Formable' does not conform to the 'Sendable' protocol
9 | var components: [Component] { get }
10 | func format(name: String, level: Logger.Level, message: Logger.Message, prettyMetadata: String?, source: String, file: String, function: String, line: UInt) -> String
/host/spi-builder-workspace/Sources/Implements/Printer.swift:165:16: warning: static property 'traceTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
163 |
164 | public extension Printer {
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
| |- warning: static property 'traceTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceTextColor' 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
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:166:16: warning: static property 'debugTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
164 | public extension Printer {
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
| |- warning: static property 'debugTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugTextColor' 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
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:167:16: warning: static property 'infoTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
| |- warning: static property 'infoTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoTextColor' 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 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:168:16: warning: static property 'noticeTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
| |- warning: static property 'noticeTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeTextColor' 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
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:169:16: warning: static property 'warningTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
| |- warning: static property 'warningTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningTextColor' 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
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
171 | }
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:170:16: warning: static property 'errorTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
| |- warning: static property 'errorTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTextColor' 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
171 | }
172 |
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:200:16: warning: static property 'criticalBackgroundColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
198 |
199 | public extension Printer {
200 | static let criticalBackgroundColor = Color(red: 255, green: 0, blue: 0)
| |- warning: static property 'criticalBackgroundColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackgroundColor' 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
201 | }
202 |
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:75:16: warning: static property 'legacy8bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
73 | static let xcode: Self? = nil
74 |
75 | static let legacy8bit = Printer(
| |- warning: static property 'legacy8bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy8bit' 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
76 | textColor: {
77 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:176:16: warning: static property 'traceText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | public extension Printer {
176 | static let traceText8Color = LegacyTextColor.lightGray
| |- warning: static property 'traceText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText8Color' 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
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:177:16: warning: static property 'debugText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
175 | public extension Printer {
176 | static let traceText8Color = LegacyTextColor.lightGray
177 | static let debugText8Color = LegacyTextColor.green
| |- warning: static property 'debugText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText8Color' 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
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:178:16: warning: static property 'infoText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
176 | static let traceText8Color = LegacyTextColor.lightGray
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
| |- warning: static property 'infoText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText8Color' 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
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:179:16: warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
| |- warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText8Color' 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
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:180:16: warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
| |- warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText8Color' 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
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:181:16: warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
| |- warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText8Color' 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
182 | static let criticalText8Color = LegacyTextColor.lightGray
183 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:182:16: warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
| |- warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText8Color' 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
183 | }
184 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:206:16: warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public extension Printer {
206 | static let criticalBackground8Color = LegacyBackgroundColor.red
| |- warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground8Color' 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
207 | }
208 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:118:16: warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
116 | )
117 |
118 | static let legacy16bit = Printer(
| |- warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy16bit' 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
119 | textColor: {
120 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:188:16: warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
| |- warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText16Color' 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
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:189:16: warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
| |- warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText16Color' 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
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:190:16: warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
| |- warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText16Color' 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
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:191:16: warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
| |- warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText16Color' 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
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:192:16: warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
| |- warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText16Color' 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
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:193:16: warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
| |- warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText16Color' 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
194 | static let criticalText16Color = LegacyTextColor.white
195 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:194:16: warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
| |- warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText16Color' 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
195 | }
196 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:212:16: warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public extension Printer {
212 | static let criticalBackground16Color = LegacyBackgroundColor.lightRed
| |- warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground16Color' 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
213 | }
214 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
[40/41] Compiling Senna Printer.swift
/host/spi-builder-workspace/Sources/Implements/Formation.swift:127:16: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | public extension Formation {
127 | static let dateFormatter: DateFormatter = {
| `- warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
128 | let dateFormatter = DateFormatter()
129 | dateFormatter.dateFormat = "yyyy/MM/dd HH:mm:ss"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Implements/Formation.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | import Logging
7 |
:
125 |
126 | public extension Formation {
127 | static let dateFormatter: DateFormatter = {
| |- note: annotate 'dateFormatter' 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
128 | let dateFormatter = DateFormatter()
129 | dateFormatter.dateFormat = "yyyy/MM/dd HH:mm:ss"
/host/spi-builder-workspace/Sources/Implements/Printer.swift:32:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
30 |
31 | public extension Printer {
32 | static let standard = Printer(
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
33 | textColor: {
34 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:73:16: warning: static property 'xcode' is not concurrency-safe because non-'Sendable' type 'Printer?' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
71 | )
72 |
73 | static let xcode: Self? = nil
| |- warning: static property 'xcode' is not concurrency-safe because non-'Sendable' type 'Printer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcode' 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
74 |
75 | static let legacy8bit = Printer(
/host/spi-builder-workspace/Sources/Implements/Handler.swift:10:16: warning: stored property 'sink' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any SinkCapable'; this is an error in the Swift 6 language mode
8 | public struct Handler: LogHandler {
9 | public let name: String
10 | public let sink: SinkCapable
| `- warning: stored property 'sink' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any SinkCapable'; this is an error in the Swift 6 language mode
11 | public let formation: Formable
12 |
/host/spi-builder-workspace/Sources/Protocols/SinkCapable.swift:7:17: note: protocol 'SinkCapable' does not conform to the 'Sendable' protocol
5 | import Logging
6 |
7 | public protocol SinkCapable {
| `- note: protocol 'SinkCapable' does not conform to the 'Sendable' protocol
8 | func process(_ formattedLog: String, _ level: Logger.Level)
9 | }
/host/spi-builder-workspace/Sources/Implements/Handler.swift:11:16: warning: stored property 'formation' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formable'; this is an error in the Swift 6 language mode
9 | public let name: String
10 | public let sink: SinkCapable
11 | public let formation: Formable
| `- warning: stored property 'formation' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formable'; this is an error in the Swift 6 language mode
12 |
13 | private var prettyMetadata: String?
/host/spi-builder-workspace/Sources/Protocols/Formable.swift:8:17: note: protocol 'Formable' does not conform to the 'Sendable' protocol
6 | import Logging
7 |
8 | public protocol Formable {
| `- note: protocol 'Formable' does not conform to the 'Sendable' protocol
9 | var components: [Component] { get }
10 | func format(name: String, level: Logger.Level, message: Logger.Message, prettyMetadata: String?, source: String, file: String, function: String, line: UInt) -> String
/host/spi-builder-workspace/Sources/Implements/Printer.swift:165:16: warning: static property 'traceTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
163 |
164 | public extension Printer {
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
| |- warning: static property 'traceTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceTextColor' 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
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:166:16: warning: static property 'debugTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
164 | public extension Printer {
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
| |- warning: static property 'debugTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugTextColor' 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
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:167:16: warning: static property 'infoTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
| |- warning: static property 'infoTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoTextColor' 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 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:168:16: warning: static property 'noticeTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
| |- warning: static property 'noticeTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeTextColor' 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
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:169:16: warning: static property 'warningTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
| |- warning: static property 'warningTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningTextColor' 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
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
171 | }
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:170:16: warning: static property 'errorTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
| |- warning: static property 'errorTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTextColor' 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
171 | }
172 |
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:200:16: warning: static property 'criticalBackgroundColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
198 |
199 | public extension Printer {
200 | static let criticalBackgroundColor = Color(red: 255, green: 0, blue: 0)
| |- warning: static property 'criticalBackgroundColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackgroundColor' 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
201 | }
202 |
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:75:16: warning: static property 'legacy8bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
73 | static let xcode: Self? = nil
74 |
75 | static let legacy8bit = Printer(
| |- warning: static property 'legacy8bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy8bit' 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
76 | textColor: {
77 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:176:16: warning: static property 'traceText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | public extension Printer {
176 | static let traceText8Color = LegacyTextColor.lightGray
| |- warning: static property 'traceText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText8Color' 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
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:177:16: warning: static property 'debugText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
175 | public extension Printer {
176 | static let traceText8Color = LegacyTextColor.lightGray
177 | static let debugText8Color = LegacyTextColor.green
| |- warning: static property 'debugText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText8Color' 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
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:178:16: warning: static property 'infoText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
176 | static let traceText8Color = LegacyTextColor.lightGray
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
| |- warning: static property 'infoText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText8Color' 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
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:179:16: warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
| |- warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText8Color' 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
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:180:16: warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
| |- warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText8Color' 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
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:181:16: warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
| |- warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText8Color' 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
182 | static let criticalText8Color = LegacyTextColor.lightGray
183 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:182:16: warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
| |- warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText8Color' 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
183 | }
184 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:206:16: warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public extension Printer {
206 | static let criticalBackground8Color = LegacyBackgroundColor.red
| |- warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground8Color' 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
207 | }
208 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:118:16: warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
116 | )
117 |
118 | static let legacy16bit = Printer(
| |- warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy16bit' 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
119 | textColor: {
120 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:188:16: warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
| |- warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText16Color' 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
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:189:16: warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
| |- warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText16Color' 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
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:190:16: warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
| |- warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText16Color' 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
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:191:16: warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
| |- warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText16Color' 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
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:192:16: warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
| |- warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText16Color' 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
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:193:16: warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
| |- warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText16Color' 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
194 | static let criticalText16Color = LegacyTextColor.white
195 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:194:16: warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
| |- warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText16Color' 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
195 | }
196 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:212:16: warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public extension Printer {
212 | static let criticalBackground16Color = LegacyBackgroundColor.lightRed
| |- warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground16Color' 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
213 | }
214 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
[41/41] Compiling Senna Spacer.swift
/host/spi-builder-workspace/Sources/Implements/Formation.swift:127:16: warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
125 |
126 | public extension Formation {
127 | static let dateFormatter: DateFormatter = {
| `- warning: static property 'dateFormatter' is not concurrency-safe because non-'Sendable' type 'DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
128 | let dateFormatter = DateFormatter()
129 | dateFormatter.dateFormat = "yyyy/MM/dd HH:mm:ss"
Foundation.DateFormatter:1:12: note: class 'DateFormatter' does not conform to the 'Sendable' protocol
1 | open class DateFormatter : Formatter {
| `- note: class 'DateFormatter' does not conform to the 'Sendable' protocol
2 | override public init()
3 | required public init?(coder: NSCoder)
/host/spi-builder-workspace/Sources/Implements/Formation.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
6 | import Logging
7 |
:
125 |
126 | public extension Formation {
127 | static let dateFormatter: DateFormatter = {
| |- note: annotate 'dateFormatter' 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
128 | let dateFormatter = DateFormatter()
129 | dateFormatter.dateFormat = "yyyy/MM/dd HH:mm:ss"
/host/spi-builder-workspace/Sources/Implements/Printer.swift:32:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
30 |
31 | public extension Printer {
32 | static let standard = Printer(
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
33 | textColor: {
34 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:73:16: warning: static property 'xcode' is not concurrency-safe because non-'Sendable' type 'Printer?' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
71 | )
72 |
73 | static let xcode: Self? = nil
| |- warning: static property 'xcode' is not concurrency-safe because non-'Sendable' type 'Printer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcode' 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
74 |
75 | static let legacy8bit = Printer(
/host/spi-builder-workspace/Sources/Implements/Handler.swift:10:16: warning: stored property 'sink' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any SinkCapable'; this is an error in the Swift 6 language mode
8 | public struct Handler: LogHandler {
9 | public let name: String
10 | public let sink: SinkCapable
| `- warning: stored property 'sink' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any SinkCapable'; this is an error in the Swift 6 language mode
11 | public let formation: Formable
12 |
/host/spi-builder-workspace/Sources/Protocols/SinkCapable.swift:7:17: note: protocol 'SinkCapable' does not conform to the 'Sendable' protocol
5 | import Logging
6 |
7 | public protocol SinkCapable {
| `- note: protocol 'SinkCapable' does not conform to the 'Sendable' protocol
8 | func process(_ formattedLog: String, _ level: Logger.Level)
9 | }
/host/spi-builder-workspace/Sources/Implements/Handler.swift:11:16: warning: stored property 'formation' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formable'; this is an error in the Swift 6 language mode
9 | public let name: String
10 | public let sink: SinkCapable
11 | public let formation: Formable
| `- warning: stored property 'formation' of 'Sendable'-conforming struct 'Handler' has non-sendable type 'any Formable'; this is an error in the Swift 6 language mode
12 |
13 | private var prettyMetadata: String?
/host/spi-builder-workspace/Sources/Protocols/Formable.swift:8:17: note: protocol 'Formable' does not conform to the 'Sendable' protocol
6 | import Logging
7 |
8 | public protocol Formable {
| `- note: protocol 'Formable' does not conform to the 'Sendable' protocol
9 | var components: [Component] { get }
10 | func format(name: String, level: Logger.Level, message: Logger.Message, prettyMetadata: String?, source: String, file: String, function: String, line: UInt) -> String
/host/spi-builder-workspace/Sources/Implements/Printer.swift:165:16: warning: static property 'traceTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
163 |
164 | public extension Printer {
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
| |- warning: static property 'traceTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceTextColor' 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
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:166:16: warning: static property 'debugTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
164 | public extension Printer {
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
| |- warning: static property 'debugTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugTextColor' 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
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:167:16: warning: static property 'infoTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
165 | static let traceTextColor = Color(red: 150, green: 150, blue: 150)
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
| |- warning: static property 'infoTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoTextColor' 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 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:168:16: warning: static property 'noticeTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
166 | static let debugTextColor = Color(red: 0, green: 255, blue: 127)
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
| |- warning: static property 'noticeTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeTextColor' 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
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:169:16: warning: static property 'warningTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
167 | static let infoTextColor = Color(red: 99, green: 184, blue: 255)
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
| |- warning: static property 'warningTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningTextColor' 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
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
171 | }
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:170:16: warning: static property 'errorTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
168 | static let noticeTextColor = Color(red: 205, green: 0, blue: 205)
169 | static let warningTextColor = Color(red: 255, green: 255, blue: 0)
170 | static let errorTextColor = Color(red: 255, green: 0, blue: 0)
| |- warning: static property 'errorTextColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorTextColor' 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
171 | }
172 |
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:200:16: warning: static property 'criticalBackgroundColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
198 |
199 | public extension Printer {
200 | static let criticalBackgroundColor = Color(red: 255, green: 0, blue: 0)
| |- warning: static property 'criticalBackgroundColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackgroundColor' 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
201 | }
202 |
/host/spi-builder-workspace/Sources/Types/Color.swift:5:15: note: consider making struct 'Color' conform to the 'Sendable' protocol
3 | //
4 |
5 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
6 | let red: UInt8
7 | let green: UInt8
/host/spi-builder-workspace/Sources/Implements/Printer.swift:75:16: warning: static property 'legacy8bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
73 | static let xcode: Self? = nil
74 |
75 | static let legacy8bit = Printer(
| |- warning: static property 'legacy8bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy8bit' 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
76 | textColor: {
77 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:176:16: warning: static property 'traceText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
174 |
175 | public extension Printer {
176 | static let traceText8Color = LegacyTextColor.lightGray
| |- warning: static property 'traceText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText8Color' 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
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:177:16: warning: static property 'debugText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
175 | public extension Printer {
176 | static let traceText8Color = LegacyTextColor.lightGray
177 | static let debugText8Color = LegacyTextColor.green
| |- warning: static property 'debugText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText8Color' 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
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:178:16: warning: static property 'infoText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
176 | static let traceText8Color = LegacyTextColor.lightGray
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
| |- warning: static property 'infoText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText8Color' 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
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:179:16: warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
177 | static let debugText8Color = LegacyTextColor.green
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
| |- warning: static property 'noticeText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText8Color' 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
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:180:16: warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
178 | static let infoText8Color = LegacyTextColor.blue
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
| |- warning: static property 'warningText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText8Color' 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
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:181:16: warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
179 | static let noticeText8Color = LegacyTextColor.magenta
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
| |- warning: static property 'errorText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText8Color' 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
182 | static let criticalText8Color = LegacyTextColor.lightGray
183 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:182:16: warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
180 | static let warningText8Color = LegacyTextColor.yellow
181 | static let errorText8Color = LegacyTextColor.red
182 | static let criticalText8Color = LegacyTextColor.lightGray
| |- warning: static property 'criticalText8Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText8Color' 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
183 | }
184 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:206:16: warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
204 |
205 | public extension Printer {
206 | static let criticalBackground8Color = LegacyBackgroundColor.red
| |- warning: static property 'criticalBackground8Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground8Color' 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
207 | }
208 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:118:16: warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import Logging
6 |
7 | public struct Printer: Printable {
| `- note: consider making struct 'Printer' conform to the 'Sendable' protocol
8 | private let textColor: TextColorGeneration
9 | private let backgroundColor: BackgroundColorGeneration
:
116 | )
117 |
118 | static let legacy16bit = Printer(
| |- warning: static property 'legacy16bit' is not concurrency-safe because non-'Sendable' type 'Printer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'legacy16bit' 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
119 | textColor: {
120 | switch ($0, $1) {
/host/spi-builder-workspace/Sources/Implements/Printer.swift:188:16: warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
186 |
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
| |- warning: static property 'traceText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'traceText16Color' 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
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:189:16: warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
187 | public extension Printer {
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
| |- warning: static property 'debugText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'debugText16Color' 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
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:190:16: warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
188 | static let traceText16Color = LegacyTextColor.darkGray
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
| |- warning: static property 'infoText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infoText16Color' 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
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:191:16: warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
189 | static let debugText16Color = LegacyTextColor.lightGreen
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
| |- warning: static property 'noticeText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noticeText16Color' 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
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:192:16: warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
190 | static let infoText16Color = LegacyTextColor.lightBlue
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
| |- warning: static property 'warningText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'warningText16Color' 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
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:193:16: warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
191 | static let noticeText16Color = LegacyTextColor.lightMagenta
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
| |- warning: static property 'errorText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorText16Color' 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
194 | static let criticalText16Color = LegacyTextColor.white
195 | }
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:194:16: warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
192 | static let warningText16Color = LegacyTextColor.lightYellow
193 | static let errorText16Color = LegacyTextColor.lightRed
194 | static let criticalText16Color = LegacyTextColor.white
| |- warning: static property 'criticalText16Color' is not concurrency-safe because non-'Sendable' type 'LegacyTextColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalText16Color' 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
195 | }
196 |
/host/spi-builder-workspace/Sources/Types/LegacyTextColor.swift:6:13: note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 text color
6 | public enum LegacyTextColor {
| `- note: consider making enum 'LegacyTextColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
/host/spi-builder-workspace/Sources/Implements/Printer.swift:212:16: warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | public extension Printer {
212 | static let criticalBackground16Color = LegacyBackgroundColor.lightRed
| |- warning: static property 'criticalBackground16Color' is not concurrency-safe because non-'Sendable' type 'LegacyBackgroundColor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'criticalBackground16Color' 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
213 | }
214 |
/host/spi-builder-workspace/Sources/Types/LegacyBackgroundColor.swift:6:13: note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
4 |
5 | /// 8/16 background color
6 | public enum LegacyBackgroundColor {
| `- note: consider making enum 'LegacyBackgroundColor' conform to the 'Sendable' protocol
7 | case `default`
8 |
Build complete! (11.75s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "Senna",
"name" : "Senna",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Senna",
"targets" : [
"Senna"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SennaTests",
"module_type" : "SwiftTarget",
"name" : "SennaTests",
"path" : "Tests",
"sources" : [
"ColorTests.swift",
"FileSinkTests.swift",
"LoggerSennaTests.swift",
"MultiHandlerTests.swift",
"OSLogSinkTests.swift",
"PrinterTests.swift",
"ReadmeTests.swift",
"SpacingTests.swift",
"StandardSinkTests.swift",
"SystemLogSinkTests.swift"
],
"target_dependencies" : [
"Senna"
],
"type" : "test"
},
{
"c99name" : "Senna",
"module_type" : "SwiftTarget",
"name" : "Senna",
"path" : "Sources",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"Senna"
],
"sources" : [
"Implements/Formation.swift",
"Implements/Handler.swift",
"Implements/Printer.swift",
"Implements/Spacer.swift",
"Protocols/EscapeCode.swift",
"Protocols/Formable.swift",
"Protocols/Printable.swift",
"Protocols/SinkCapable.swift",
"Protocols/Spacing.swift",
"Sinks/FileSink.swift",
"Sinks/OSLogSink.swift",
"Sinks/StandardSink.swift",
"Sinks/SystemLogSink.swift",
"Types/Box.swift",
"Types/Color.swift",
"Types/Compatible.swift",
"Types/Component.swift",
"Types/ControlCode.swift",
"Types/FileDescriptorTextOutputStream.swift",
"Types/FloatFormatter.swift",
"Types/FlushMode.swift",
"Types/IntegerFormatter.swift",
"Types/Interpolation.swift",
"Types/LegacyBackgroundColor.swift",
"Types/LegacyTextColor.swift",
"Types/LevelStyle.swift",
"Types/Logger.Senna.swift",
"Types/Message.swift",
"Types/Privacy.swift",
"Types/Style.swift",
"_Exported.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.