Build Information
Successful build of Termbox with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 89
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- note: annotate 'mouseWheelUp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let mouseWheelDown = Key(rawValue: 0xffff-27)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:37:23: warning: static property 'mouseWheelDown' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
35 | public static let mouseRelease = Key(rawValue: 0xffff-25)
36 | public static let mouseWheelUp = Key(rawValue: 0xffff-26)
37 | public static let mouseWheelDown = Key(rawValue: 0xffff-27)
| |- warning: static property 'mouseWheelDown' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouseWheelDown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | // These are all ASCII code points below SPACE character and a BACKSPACE
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:41:23: warning: static property 'ctrlTilde' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
39 | // These are all ASCII code points below SPACE character and a BACKSPACE
40 | // key.
41 | public static let ctrlTilde = Key(rawValue: 0x00)
| |- warning: static property 'ctrlTilde' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlTilde' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static let ctrl2 = Key(rawValue: 0x00)
43 | public static let ctrlA = Key(rawValue: 0x01)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:42:23: warning: static property 'ctrl2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
40 | // key.
41 | public static let ctrlTilde = Key(rawValue: 0x00)
42 | public static let ctrl2 = Key(rawValue: 0x00)
| |- warning: static property 'ctrl2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static let ctrlA = Key(rawValue: 0x01)
44 | public static let ctrlB = Key(rawValue: 0x02)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:43:23: warning: static property 'ctrlA' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
41 | public static let ctrlTilde = Key(rawValue: 0x00)
42 | public static let ctrl2 = Key(rawValue: 0x00)
43 | public static let ctrlA = Key(rawValue: 0x01)
| |- warning: static property 'ctrlA' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let ctrlB = Key(rawValue: 0x02)
45 | public static let ctrlC = Key(rawValue: 0x03)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:44:23: warning: static property 'ctrlB' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
42 | public static let ctrl2 = Key(rawValue: 0x00)
43 | public static let ctrlA = Key(rawValue: 0x01)
44 | public static let ctrlB = Key(rawValue: 0x02)
| |- warning: static property 'ctrlB' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let ctrlC = Key(rawValue: 0x03)
46 | public static let ctrlD = Key(rawValue: 0x04)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:45:23: warning: static property 'ctrlC' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
43 | public static let ctrlA = Key(rawValue: 0x01)
44 | public static let ctrlB = Key(rawValue: 0x02)
45 | public static let ctrlC = Key(rawValue: 0x03)
| |- warning: static property 'ctrlC' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let ctrlD = Key(rawValue: 0x04)
47 | public static let ctrlE = Key(rawValue: 0x05)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:46:23: warning: static property 'ctrlD' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
44 | public static let ctrlB = Key(rawValue: 0x02)
45 | public static let ctrlC = Key(rawValue: 0x03)
46 | public static let ctrlD = Key(rawValue: 0x04)
| |- warning: static property 'ctrlD' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let ctrlE = Key(rawValue: 0x05)
48 | public static let ctrlF = Key(rawValue: 0x06)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:47:23: warning: static property 'ctrlE' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
45 | public static let ctrlC = Key(rawValue: 0x03)
46 | public static let ctrlD = Key(rawValue: 0x04)
47 | public static let ctrlE = Key(rawValue: 0x05)
| |- warning: static property 'ctrlE' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let ctrlF = Key(rawValue: 0x06)
49 | public static let ctrlG = Key(rawValue: 0x07)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:48:23: warning: static property 'ctrlF' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
46 | public static let ctrlD = Key(rawValue: 0x04)
47 | public static let ctrlE = Key(rawValue: 0x05)
48 | public static let ctrlF = Key(rawValue: 0x06)
| |- warning: static property 'ctrlF' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlF' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let ctrlG = Key(rawValue: 0x07)
50 | public static let backPace = Key(rawValue: 0x08)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:49:23: warning: static property 'ctrlG' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
47 | public static let ctrlE = Key(rawValue: 0x05)
48 | public static let ctrlF = Key(rawValue: 0x06)
49 | public static let ctrlG = Key(rawValue: 0x07)
| |- warning: static property 'ctrlG' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlG' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let backPace = Key(rawValue: 0x08)
51 | public static let ctrlH = Key(rawValue: 0x08)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:50:23: warning: static property 'backPace' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
48 | public static let ctrlF = Key(rawValue: 0x06)
49 | public static let ctrlG = Key(rawValue: 0x07)
50 | public static let backPace = Key(rawValue: 0x08)
| |- warning: static property 'backPace' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backPace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let ctrlH = Key(rawValue: 0x08)
52 | public static let tab = Key(rawValue: 0x09)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:51:23: warning: static property 'ctrlH' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
49 | public static let ctrlG = Key(rawValue: 0x07)
50 | public static let backPace = Key(rawValue: 0x08)
51 | public static let ctrlH = Key(rawValue: 0x08)
| |- warning: static property 'ctrlH' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let tab = Key(rawValue: 0x09)
53 | public static let ctrlI = Key(rawValue: 0x09)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:52:23: warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
50 | public static let backPace = Key(rawValue: 0x08)
51 | public static let ctrlH = Key(rawValue: 0x08)
52 | public static let tab = Key(rawValue: 0x09)
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let ctrlI = Key(rawValue: 0x09)
54 | public static let ctrlJ = Key(rawValue: 0x0a)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:53:23: warning: static property 'ctrlI' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
51 | public static let ctrlH = Key(rawValue: 0x08)
52 | public static let tab = Key(rawValue: 0x09)
53 | public static let ctrlI = Key(rawValue: 0x09)
| |- warning: static property 'ctrlI' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let ctrlJ = Key(rawValue: 0x0a)
55 | public static let ctrlK = Key(rawValue: 0x0b)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:54:23: warning: static property 'ctrlJ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
52 | public static let tab = Key(rawValue: 0x09)
53 | public static let ctrlI = Key(rawValue: 0x09)
54 | public static let ctrlJ = Key(rawValue: 0x0a)
| |- warning: static property 'ctrlJ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlJ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let ctrlK = Key(rawValue: 0x0b)
56 | public static let ctrlL = Key(rawValue: 0x0c)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:55:23: warning: static property 'ctrlK' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
53 | public static let ctrlI = Key(rawValue: 0x09)
54 | public static let ctrlJ = Key(rawValue: 0x0a)
55 | public static let ctrlK = Key(rawValue: 0x0b)
| |- warning: static property 'ctrlK' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlK' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let ctrlL = Key(rawValue: 0x0c)
57 | public static let enter = Key(rawValue: 0x0d)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:56:23: warning: static property 'ctrlL' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
54 | public static let ctrlJ = Key(rawValue: 0x0a)
55 | public static let ctrlK = Key(rawValue: 0x0b)
56 | public static let ctrlL = Key(rawValue: 0x0c)
| |- warning: static property 'ctrlL' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let enter = Key(rawValue: 0x0d)
58 | public static let ctrlM = Key(rawValue: 0x0d)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:57:23: warning: static property 'enter' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
55 | public static let ctrlK = Key(rawValue: 0x0b)
56 | public static let ctrlL = Key(rawValue: 0x0c)
57 | public static let enter = Key(rawValue: 0x0d)
| |- warning: static property 'enter' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let ctrlM = Key(rawValue: 0x0d)
59 | public static let ctrlN = Key(rawValue: 0x0e)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:58:23: warning: static property 'ctrlM' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
56 | public static let ctrlL = Key(rawValue: 0x0c)
57 | public static let enter = Key(rawValue: 0x0d)
58 | public static let ctrlM = Key(rawValue: 0x0d)
| |- warning: static property 'ctrlM' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlM' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let ctrlN = Key(rawValue: 0x0e)
60 | public static let ctrlO = Key(rawValue: 0x0f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:59:23: warning: static property 'ctrlN' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
57 | public static let enter = Key(rawValue: 0x0d)
58 | public static let ctrlM = Key(rawValue: 0x0d)
59 | public static let ctrlN = Key(rawValue: 0x0e)
| |- warning: static property 'ctrlN' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let ctrlO = Key(rawValue: 0x0f)
61 | public static let ctrlP = Key(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:60:23: warning: static property 'ctrlO' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
58 | public static let ctrlM = Key(rawValue: 0x0d)
59 | public static let ctrlN = Key(rawValue: 0x0e)
60 | public static let ctrlO = Key(rawValue: 0x0f)
| |- warning: static property 'ctrlO' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlO' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let ctrlP = Key(rawValue: 0x10)
62 | public static let ctrlQ = Key(rawValue: 0x11)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:61:23: warning: static property 'ctrlP' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
59 | public static let ctrlN = Key(rawValue: 0x0e)
60 | public static let ctrlO = Key(rawValue: 0x0f)
61 | public static let ctrlP = Key(rawValue: 0x10)
| |- warning: static property 'ctrlP' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlP' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let ctrlQ = Key(rawValue: 0x11)
63 | public static let ctrlR = Key(rawValue: 0x12)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:62:23: warning: static property 'ctrlQ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
60 | public static let ctrlO = Key(rawValue: 0x0f)
61 | public static let ctrlP = Key(rawValue: 0x10)
62 | public static let ctrlQ = Key(rawValue: 0x11)
| |- warning: static property 'ctrlQ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlQ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let ctrlR = Key(rawValue: 0x12)
64 | public static let ctrlS = Key(rawValue: 0x13)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:63:23: warning: static property 'ctrlR' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
61 | public static let ctrlP = Key(rawValue: 0x10)
62 | public static let ctrlQ = Key(rawValue: 0x11)
63 | public static let ctrlR = Key(rawValue: 0x12)
| |- warning: static property 'ctrlR' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public static let ctrlS = Key(rawValue: 0x13)
65 | public static let ctrlT = Key(rawValue: 0x14)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:64:23: warning: static property 'ctrlS' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
62 | public static let ctrlQ = Key(rawValue: 0x11)
63 | public static let ctrlR = Key(rawValue: 0x12)
64 | public static let ctrlS = Key(rawValue: 0x13)
| |- warning: static property 'ctrlS' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public static let ctrlT = Key(rawValue: 0x14)
66 | public static let ctrlU = Key(rawValue: 0x15)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:65:23: warning: static property 'ctrlT' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
63 | public static let ctrlR = Key(rawValue: 0x12)
64 | public static let ctrlS = Key(rawValue: 0x13)
65 | public static let ctrlT = Key(rawValue: 0x14)
| |- warning: static property 'ctrlT' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let ctrlU = Key(rawValue: 0x15)
67 | public static let ctrlV = Key(rawValue: 0x16)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:66:23: warning: static property 'ctrlU' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
64 | public static let ctrlS = Key(rawValue: 0x13)
65 | public static let ctrlT = Key(rawValue: 0x14)
66 | public static let ctrlU = Key(rawValue: 0x15)
| |- warning: static property 'ctrlU' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlU' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let ctrlV = Key(rawValue: 0x16)
68 | public static let ctrlW = Key(rawValue: 0x17)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:67:23: warning: static property 'ctrlV' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
65 | public static let ctrlT = Key(rawValue: 0x14)
66 | public static let ctrlU = Key(rawValue: 0x15)
67 | public static let ctrlV = Key(rawValue: 0x16)
| |- warning: static property 'ctrlV' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlV' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let ctrlW = Key(rawValue: 0x17)
69 | public static let ctrlX = Key(rawValue: 0x18)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:68:23: warning: static property 'ctrlW' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
66 | public static let ctrlU = Key(rawValue: 0x15)
67 | public static let ctrlV = Key(rawValue: 0x16)
68 | public static let ctrlW = Key(rawValue: 0x17)
| |- warning: static property 'ctrlW' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlW' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let ctrlX = Key(rawValue: 0x18)
70 | public static let ctrlY = Key(rawValue: 0x19)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:69:23: warning: static property 'ctrlX' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
67 | public static let ctrlV = Key(rawValue: 0x16)
68 | public static let ctrlW = Key(rawValue: 0x17)
69 | public static let ctrlX = Key(rawValue: 0x18)
| |- warning: static property 'ctrlX' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let ctrlY = Key(rawValue: 0x19)
71 | public static let ctrlZ = Key(rawValue: 0x1a)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:70:23: warning: static property 'ctrlY' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
68 | public static let ctrlW = Key(rawValue: 0x17)
69 | public static let ctrlX = Key(rawValue: 0x18)
70 | public static let ctrlY = Key(rawValue: 0x19)
| |- warning: static property 'ctrlY' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let ctrlZ = Key(rawValue: 0x1a)
72 | public static let esc = Key(rawValue: 0x1b)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:71:23: warning: static property 'ctrlZ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
69 | public static let ctrlX = Key(rawValue: 0x18)
70 | public static let ctrlY = Key(rawValue: 0x19)
71 | public static let ctrlZ = Key(rawValue: 0x1a)
| |- warning: static property 'ctrlZ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let esc = Key(rawValue: 0x1b)
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:72:23: warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
70 | public static let ctrlY = Key(rawValue: 0x19)
71 | public static let ctrlZ = Key(rawValue: 0x1a)
72 | public static let esc = Key(rawValue: 0x1b)
| |- warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
74 | public static let ctrl3 = Key(rawValue: 0x1b)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:73:23: warning: static property 'ctrlLeftBracket' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
71 | public static let ctrlZ = Key(rawValue: 0x1a)
72 | public static let esc = Key(rawValue: 0x1b)
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
| |- warning: static property 'ctrlLeftBracket' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlLeftBracket' with '@MainActor' 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 | public static let ctrl3 = Key(rawValue: 0x1b)
75 | public static let ctrl4 = Key(rawValue: 0x1c)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:74:23: warning: static property 'ctrl3' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
72 | public static let esc = Key(rawValue: 0x1b)
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
74 | public static let ctrl3 = Key(rawValue: 0x1b)
| |- warning: static property 'ctrl3' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl3' with '@MainActor' 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 | public static let ctrl4 = Key(rawValue: 0x1c)
76 | public static let ctrlBackslash = Key(rawValue: 0x1c)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:75:23: warning: static property 'ctrl4' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
74 | public static let ctrl3 = Key(rawValue: 0x1b)
75 | public static let ctrl4 = Key(rawValue: 0x1c)
| |- warning: static property 'ctrl4' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl4' with '@MainActor' 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 | public static let ctrlBackslash = Key(rawValue: 0x1c)
77 | public static let ctrl5 = Key(rawValue: 0x1d)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:76:23: warning: static property 'ctrlBackslash' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
74 | public static let ctrl3 = Key(rawValue: 0x1b)
75 | public static let ctrl4 = Key(rawValue: 0x1c)
76 | public static let ctrlBackslash = Key(rawValue: 0x1c)
| |- warning: static property 'ctrlBackslash' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlBackslash' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let ctrl5 = Key(rawValue: 0x1d)
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:77:23: warning: static property 'ctrl5' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
75 | public static let ctrl4 = Key(rawValue: 0x1c)
76 | public static let ctrlBackslash = Key(rawValue: 0x1c)
77 | public static let ctrl5 = Key(rawValue: 0x1d)
| |- warning: static property 'ctrl5' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
79 | public static let ctrl6 = Key(rawValue: 0x1e)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:78:23: warning: static property 'ctrlRightRracket' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
76 | public static let ctrlBackslash = Key(rawValue: 0x1c)
77 | public static let ctrl5 = Key(rawValue: 0x1d)
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
| |- warning: static property 'ctrlRightRracket' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlRightRracket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let ctrl6 = Key(rawValue: 0x1e)
80 | public static let ctrl7 = Key(rawValue: 0x1f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:79:23: warning: static property 'ctrl6' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
77 | public static let ctrl5 = Key(rawValue: 0x1d)
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
79 | public static let ctrl6 = Key(rawValue: 0x1e)
| |- warning: static property 'ctrl6' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let ctrl7 = Key(rawValue: 0x1f)
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:80:23: warning: static property 'ctrl7' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
79 | public static let ctrl6 = Key(rawValue: 0x1e)
80 | public static let ctrl7 = Key(rawValue: 0x1f)
| |- warning: static property 'ctrl7' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:81:23: warning: static property 'ctrlSlash' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
79 | public static let ctrl6 = Key(rawValue: 0x1e)
80 | public static let ctrl7 = Key(rawValue: 0x1f)
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
| |- warning: static property 'ctrlSlash' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlSlash' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
83 | public static let space = Key(rawValue: 0x20)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:82:23: warning: static property 'ctrlUnderscore' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
80 | public static let ctrl7 = Key(rawValue: 0x1f)
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
| |- warning: static property 'ctrlUnderscore' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlUnderscore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let space = Key(rawValue: 0x20)
84 | public static let backspace2 = Key(rawValue: 0x7f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:83:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
83 | public static let space = Key(rawValue: 0x20)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let backspace2 = Key(rawValue: 0x7f)
85 | public static let ctrl8 = Key(rawValue: 0x7f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:84:23: warning: static property 'backspace2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
83 | public static let space = Key(rawValue: 0x20)
84 | public static let backspace2 = Key(rawValue: 0x7f)
| |- warning: static property 'backspace2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backspace2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let ctrl8 = Key(rawValue: 0x7f)
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:85:23: warning: static property 'ctrl8' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
83 | public static let space = Key(rawValue: 0x20)
84 | public static let backspace2 = Key(rawValue: 0x7f)
85 | public static let ctrl8 = Key(rawValue: 0x7f)
| |- warning: static property 'ctrl8' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | public init(rawValue: UInt16) {
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:109:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
107 |
108 | // colors
109 | public static let `default`: Attributes = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:110:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
108 | // colors
109 | public static let `default`: Attributes = []
110 | public static let black = Attributes(rawValue: 0x01)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | public static let red = Attributes(rawValue: 0x02)
112 | public static let green = Attributes(rawValue: 0x03)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:111:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
109 | public static let `default`: Attributes = []
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | public static let green = Attributes(rawValue: 0x03)
113 | public static let yellow = Attributes(rawValue: 0x04)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:112:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
112 | public static let green = Attributes(rawValue: 0x03)
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'green' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | public static let yellow = Attributes(rawValue: 0x04)
114 | public static let blue = Attributes(rawValue: 0x05)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:113:23: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
111 | public static let red = Attributes(rawValue: 0x02)
112 | public static let green = Attributes(rawValue: 0x03)
113 | public static let yellow = Attributes(rawValue: 0x04)
| |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yellow' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | public static let blue = Attributes(rawValue: 0x05)
115 | public static let magenta = Attributes(rawValue: 0x06)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:114:23: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
112 | public static let green = Attributes(rawValue: 0x03)
113 | public static let yellow = Attributes(rawValue: 0x04)
114 | public static let blue = Attributes(rawValue: 0x05)
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | public static let magenta = Attributes(rawValue: 0x06)
116 | public static let cyan = Attributes(rawValue: 0x07)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:115:23: warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
113 | public static let yellow = Attributes(rawValue: 0x04)
114 | public static let blue = Attributes(rawValue: 0x05)
115 | public static let magenta = Attributes(rawValue: 0x06)
| |- warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'magenta' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | public static let cyan = Attributes(rawValue: 0x07)
117 | public static let white = Attributes(rawValue: 0x08)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:116:23: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
114 | public static let blue = Attributes(rawValue: 0x05)
115 | public static let magenta = Attributes(rawValue: 0x06)
116 | public static let cyan = Attributes(rawValue: 0x07)
| |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cyan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | public static let white = Attributes(rawValue: 0x08)
118 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:117:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
115 | public static let magenta = Attributes(rawValue: 0x06)
116 | public static let cyan = Attributes(rawValue: 0x07)
117 | public static let white = Attributes(rawValue: 0x08)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | // other
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:120:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
118 |
119 | // other
120 | public static let bold = Attributes(rawValue: 0x0100)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | public static let underline = Attributes(rawValue: 0x0200)
122 | public static let reverse = Attributes(rawValue: 0x0400)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:121:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
119 | // other
120 | public static let bold = Attributes(rawValue: 0x0100)
121 | public static let underline = Attributes(rawValue: 0x0200)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | public static let reverse = Attributes(rawValue: 0x0400)
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:122:23: warning: static property 'reverse' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
120 | public static let bold = Attributes(rawValue: 0x0100)
121 | public static let underline = Attributes(rawValue: 0x0200)
122 | public static let reverse = Attributes(rawValue: 0x0400)
| |- warning: static property 'reverse' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'reverse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:233:23: warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }
227 |
228 | public struct InputModes: OptionSet {
| `- note: consider making struct 'InputModes' conform to the 'Sendable' protocol
229 | public let rawValue: Int32
230 |
231 | public init(rawValue: Int32) { self.rawValue = rawValue }
232 |
233 | public static let esc = InputModes(rawValue: 1)
| |- warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | public static let alt = InputModes(rawValue: 2)
235 | public static let mouse = InputModes(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:234:23: warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }
227 |
228 | public struct InputModes: OptionSet {
| `- note: consider making struct 'InputModes' conform to the 'Sendable' protocol
229 | public let rawValue: Int32
230 |
:
232 |
233 | public static let esc = InputModes(rawValue: 1)
234 | public static let alt = InputModes(rawValue: 2)
| |- warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | public static let mouse = InputModes(rawValue: 4)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:235:23: warning: static property 'mouse' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }
227 |
228 | public struct InputModes: OptionSet {
| `- note: consider making struct 'InputModes' conform to the 'Sendable' protocol
229 | public let rawValue: Int32
230 |
:
233 | public static let esc = InputModes(rawValue: 1)
234 | public static let alt = InputModes(rawValue: 2)
235 | public static let mouse = InputModes(rawValue: 4)
| |- warning: static property 'mouse' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 | }
237 |
[8/11] Compiling Termbox Termbox.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:10:23: warning: static property 'f1' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
8 | // These are a safe subset of terminfo Keys, which exist on all popular
9 | // terminals. Termbox uses only them to stay truly portable.
10 | public static let f1 = Key(rawValue: 0xffff-0)
| |- warning: static property 'f1' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let f2 = Key(rawValue: 0xffff-1)
12 | public static let f3 = Key(rawValue: 0xffff-2)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:11:23: warning: static property 'f2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
9 | // terminals. Termbox uses only them to stay truly portable.
10 | public static let f1 = Key(rawValue: 0xffff-0)
11 | public static let f2 = Key(rawValue: 0xffff-1)
| |- warning: static property 'f2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static let f3 = Key(rawValue: 0xffff-2)
13 | public static let f4 = Key(rawValue: 0xffff-3)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:12:23: warning: static property 'f3' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
10 | public static let f1 = Key(rawValue: 0xffff-0)
11 | public static let f2 = Key(rawValue: 0xffff-1)
12 | public static let f3 = Key(rawValue: 0xffff-2)
| |- warning: static property 'f3' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let f4 = Key(rawValue: 0xffff-3)
14 | public static let f5 = Key(rawValue: 0xffff-4)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:13:23: warning: static property 'f4' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
11 | public static let f2 = Key(rawValue: 0xffff-1)
12 | public static let f3 = Key(rawValue: 0xffff-2)
13 | public static let f4 = Key(rawValue: 0xffff-3)
| |- warning: static property 'f4' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let f5 = Key(rawValue: 0xffff-4)
15 | public static let f6 = Key(rawValue: 0xffff-5)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:14:23: warning: static property 'f5' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
12 | public static let f3 = Key(rawValue: 0xffff-2)
13 | public static let f4 = Key(rawValue: 0xffff-3)
14 | public static let f5 = Key(rawValue: 0xffff-4)
| |- warning: static property 'f5' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let f6 = Key(rawValue: 0xffff-5)
16 | public static let f7 = Key(rawValue: 0xffff-6)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:15:23: warning: static property 'f6' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
13 | public static let f4 = Key(rawValue: 0xffff-3)
14 | public static let f5 = Key(rawValue: 0xffff-4)
15 | public static let f6 = Key(rawValue: 0xffff-5)
| |- warning: static property 'f6' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let f7 = Key(rawValue: 0xffff-6)
17 | public static let f8 = Key(rawValue: 0xffff-7)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:16:23: warning: static property 'f7' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
14 | public static let f5 = Key(rawValue: 0xffff-4)
15 | public static let f6 = Key(rawValue: 0xffff-5)
16 | public static let f7 = Key(rawValue: 0xffff-6)
| |- warning: static property 'f7' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let f8 = Key(rawValue: 0xffff-7)
18 | public static let f9 = Key(rawValue: 0xffff-8)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:17:23: warning: static property 'f8' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
15 | public static let f6 = Key(rawValue: 0xffff-5)
16 | public static let f7 = Key(rawValue: 0xffff-6)
17 | public static let f8 = Key(rawValue: 0xffff-7)
| |- warning: static property 'f8' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let f9 = Key(rawValue: 0xffff-8)
19 | public static let f10 = Key(rawValue: 0xffff-9)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:18:23: warning: static property 'f9' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
16 | public static let f7 = Key(rawValue: 0xffff-6)
17 | public static let f8 = Key(rawValue: 0xffff-7)
18 | public static let f9 = Key(rawValue: 0xffff-8)
| |- warning: static property 'f9' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let f10 = Key(rawValue: 0xffff-9)
20 | public static let f11 = Key(rawValue: 0xffff-10)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:19:23: warning: static property 'f10' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
17 | public static let f8 = Key(rawValue: 0xffff-7)
18 | public static let f9 = Key(rawValue: 0xffff-8)
19 | public static let f10 = Key(rawValue: 0xffff-9)
| |- warning: static property 'f10' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let f11 = Key(rawValue: 0xffff-10)
21 | public static let f12 = Key(rawValue: 0xffff-11)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:20:23: warning: static property 'f11' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
18 | public static let f9 = Key(rawValue: 0xffff-8)
19 | public static let f10 = Key(rawValue: 0xffff-9)
20 | public static let f11 = Key(rawValue: 0xffff-10)
| |- warning: static property 'f11' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f11' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let f12 = Key(rawValue: 0xffff-11)
22 | public static let insert = Key(rawValue: 0xffff-12)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:21:23: warning: static property 'f12' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
19 | public static let f10 = Key(rawValue: 0xffff-9)
20 | public static let f11 = Key(rawValue: 0xffff-10)
21 | public static let f12 = Key(rawValue: 0xffff-11)
| |- warning: static property 'f12' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'f12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let insert = Key(rawValue: 0xffff-12)
23 | public static let delete = Key(rawValue: 0xffff-13)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:22:23: warning: static property 'insert' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
20 | public static let f11 = Key(rawValue: 0xffff-10)
21 | public static let f12 = Key(rawValue: 0xffff-11)
22 | public static let insert = Key(rawValue: 0xffff-12)
| |- warning: static property 'insert' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'insert' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let delete = Key(rawValue: 0xffff-13)
24 | public static let home = Key(rawValue: 0xffff-14)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:23:23: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
21 | public static let f12 = Key(rawValue: 0xffff-11)
22 | public static let insert = Key(rawValue: 0xffff-12)
23 | public static let delete = Key(rawValue: 0xffff-13)
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let home = Key(rawValue: 0xffff-14)
25 | public static let end = Key(rawValue: 0xffff-15)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:24:23: warning: static property 'home' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
22 | public static let insert = Key(rawValue: 0xffff-12)
23 | public static let delete = Key(rawValue: 0xffff-13)
24 | public static let home = Key(rawValue: 0xffff-14)
| |- warning: static property 'home' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'home' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let end = Key(rawValue: 0xffff-15)
26 | public static let pageUp = Key(rawValue: 0xffff-16)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:25:23: warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
23 | public static let delete = Key(rawValue: 0xffff-13)
24 | public static let home = Key(rawValue: 0xffff-14)
25 | public static let end = Key(rawValue: 0xffff-15)
| |- warning: static property 'end' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'end' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let pageUp = Key(rawValue: 0xffff-16)
27 | public static let pageDown = Key(rawValue: 0xffff-17)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:26:23: warning: static property 'pageUp' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
24 | public static let home = Key(rawValue: 0xffff-14)
25 | public static let end = Key(rawValue: 0xffff-15)
26 | public static let pageUp = Key(rawValue: 0xffff-16)
| |- warning: static property 'pageUp' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pageUp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let pageDown = Key(rawValue: 0xffff-17)
28 | public static let arrowUp = Key(rawValue: 0xffff-18)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:27:23: warning: static property 'pageDown' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
25 | public static let end = Key(rawValue: 0xffff-15)
26 | public static let pageUp = Key(rawValue: 0xffff-16)
27 | public static let pageDown = Key(rawValue: 0xffff-17)
| |- warning: static property 'pageDown' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pageDown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let arrowUp = Key(rawValue: 0xffff-18)
29 | public static let arrowDown = Key(rawValue: 0xffff-19)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:28:23: warning: static property 'arrowUp' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
26 | public static let pageUp = Key(rawValue: 0xffff-16)
27 | public static let pageDown = Key(rawValue: 0xffff-17)
28 | public static let arrowUp = Key(rawValue: 0xffff-18)
| |- warning: static property 'arrowUp' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arrowUp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let arrowDown = Key(rawValue: 0xffff-19)
30 | public static let arrowLeft = Key(rawValue: 0xffff-20)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:29:23: warning: static property 'arrowDown' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
27 | public static let pageDown = Key(rawValue: 0xffff-17)
28 | public static let arrowUp = Key(rawValue: 0xffff-18)
29 | public static let arrowDown = Key(rawValue: 0xffff-19)
| |- warning: static property 'arrowDown' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arrowDown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let arrowLeft = Key(rawValue: 0xffff-20)
31 | public static let arrowRight = Key(rawValue: 0xffff-21)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:30:23: warning: static property 'arrowLeft' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
28 | public static let arrowUp = Key(rawValue: 0xffff-18)
29 | public static let arrowDown = Key(rawValue: 0xffff-19)
30 | public static let arrowLeft = Key(rawValue: 0xffff-20)
| |- warning: static property 'arrowLeft' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arrowLeft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let arrowRight = Key(rawValue: 0xffff-21)
32 | public static let mouseLeft = Key(rawValue: 0xffff-22)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:31:23: warning: static property 'arrowRight' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
29 | public static let arrowDown = Key(rawValue: 0xffff-19)
30 | public static let arrowLeft = Key(rawValue: 0xffff-20)
31 | public static let arrowRight = Key(rawValue: 0xffff-21)
| |- warning: static property 'arrowRight' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'arrowRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let mouseLeft = Key(rawValue: 0xffff-22)
33 | public static let mouseRight = Key(rawValue: 0xffff-23)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:32:23: warning: static property 'mouseLeft' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
30 | public static let arrowLeft = Key(rawValue: 0xffff-20)
31 | public static let arrowRight = Key(rawValue: 0xffff-21)
32 | public static let mouseLeft = Key(rawValue: 0xffff-22)
| |- warning: static property 'mouseLeft' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouseLeft' with '@MainActor' 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 | public static let mouseRight = Key(rawValue: 0xffff-23)
34 | public static let mouseMiddle = Key(rawValue: 0xffff-24)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:33:23: warning: static property 'mouseRight' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
31 | public static let arrowRight = Key(rawValue: 0xffff-21)
32 | public static let mouseLeft = Key(rawValue: 0xffff-22)
33 | public static let mouseRight = Key(rawValue: 0xffff-23)
| |- warning: static property 'mouseRight' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouseRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let mouseMiddle = Key(rawValue: 0xffff-24)
35 | public static let mouseRelease = Key(rawValue: 0xffff-25)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:34:23: warning: static property 'mouseMiddle' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
32 | public static let mouseLeft = Key(rawValue: 0xffff-22)
33 | public static let mouseRight = Key(rawValue: 0xffff-23)
34 | public static let mouseMiddle = Key(rawValue: 0xffff-24)
| |- warning: static property 'mouseMiddle' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouseMiddle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let mouseRelease = Key(rawValue: 0xffff-25)
36 | public static let mouseWheelUp = Key(rawValue: 0xffff-26)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:35:23: warning: static property 'mouseRelease' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
33 | public static let mouseRight = Key(rawValue: 0xffff-23)
34 | public static let mouseMiddle = Key(rawValue: 0xffff-24)
35 | public static let mouseRelease = Key(rawValue: 0xffff-25)
| |- warning: static property 'mouseRelease' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouseRelease' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let mouseWheelUp = Key(rawValue: 0xffff-26)
37 | public static let mouseWheelDown = Key(rawValue: 0xffff-27)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:36:23: warning: static property 'mouseWheelUp' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
34 | public static let mouseMiddle = Key(rawValue: 0xffff-24)
35 | public static let mouseRelease = Key(rawValue: 0xffff-25)
36 | public static let mouseWheelUp = Key(rawValue: 0xffff-26)
| |- warning: static property 'mouseWheelUp' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouseWheelUp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let mouseWheelDown = Key(rawValue: 0xffff-27)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:37:23: warning: static property 'mouseWheelDown' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
35 | public static let mouseRelease = Key(rawValue: 0xffff-25)
36 | public static let mouseWheelUp = Key(rawValue: 0xffff-26)
37 | public static let mouseWheelDown = Key(rawValue: 0xffff-27)
| |- warning: static property 'mouseWheelDown' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouseWheelDown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | // These are all ASCII code points below SPACE character and a BACKSPACE
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:41:23: warning: static property 'ctrlTilde' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
39 | // These are all ASCII code points below SPACE character and a BACKSPACE
40 | // key.
41 | public static let ctrlTilde = Key(rawValue: 0x00)
| |- warning: static property 'ctrlTilde' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlTilde' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static let ctrl2 = Key(rawValue: 0x00)
43 | public static let ctrlA = Key(rawValue: 0x01)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:42:23: warning: static property 'ctrl2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
40 | // key.
41 | public static let ctrlTilde = Key(rawValue: 0x00)
42 | public static let ctrl2 = Key(rawValue: 0x00)
| |- warning: static property 'ctrl2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static let ctrlA = Key(rawValue: 0x01)
44 | public static let ctrlB = Key(rawValue: 0x02)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:43:23: warning: static property 'ctrlA' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
41 | public static let ctrlTilde = Key(rawValue: 0x00)
42 | public static let ctrl2 = Key(rawValue: 0x00)
43 | public static let ctrlA = Key(rawValue: 0x01)
| |- warning: static property 'ctrlA' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let ctrlB = Key(rawValue: 0x02)
45 | public static let ctrlC = Key(rawValue: 0x03)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:44:23: warning: static property 'ctrlB' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
42 | public static let ctrl2 = Key(rawValue: 0x00)
43 | public static let ctrlA = Key(rawValue: 0x01)
44 | public static let ctrlB = Key(rawValue: 0x02)
| |- warning: static property 'ctrlB' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let ctrlC = Key(rawValue: 0x03)
46 | public static let ctrlD = Key(rawValue: 0x04)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:45:23: warning: static property 'ctrlC' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
43 | public static let ctrlA = Key(rawValue: 0x01)
44 | public static let ctrlB = Key(rawValue: 0x02)
45 | public static let ctrlC = Key(rawValue: 0x03)
| |- warning: static property 'ctrlC' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlC' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let ctrlD = Key(rawValue: 0x04)
47 | public static let ctrlE = Key(rawValue: 0x05)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:46:23: warning: static property 'ctrlD' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
44 | public static let ctrlB = Key(rawValue: 0x02)
45 | public static let ctrlC = Key(rawValue: 0x03)
46 | public static let ctrlD = Key(rawValue: 0x04)
| |- warning: static property 'ctrlD' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlD' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let ctrlE = Key(rawValue: 0x05)
48 | public static let ctrlF = Key(rawValue: 0x06)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:47:23: warning: static property 'ctrlE' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
45 | public static let ctrlC = Key(rawValue: 0x03)
46 | public static let ctrlD = Key(rawValue: 0x04)
47 | public static let ctrlE = Key(rawValue: 0x05)
| |- warning: static property 'ctrlE' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlE' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let ctrlF = Key(rawValue: 0x06)
49 | public static let ctrlG = Key(rawValue: 0x07)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:48:23: warning: static property 'ctrlF' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
46 | public static let ctrlD = Key(rawValue: 0x04)
47 | public static let ctrlE = Key(rawValue: 0x05)
48 | public static let ctrlF = Key(rawValue: 0x06)
| |- warning: static property 'ctrlF' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlF' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let ctrlG = Key(rawValue: 0x07)
50 | public static let backPace = Key(rawValue: 0x08)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:49:23: warning: static property 'ctrlG' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
47 | public static let ctrlE = Key(rawValue: 0x05)
48 | public static let ctrlF = Key(rawValue: 0x06)
49 | public static let ctrlG = Key(rawValue: 0x07)
| |- warning: static property 'ctrlG' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlG' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let backPace = Key(rawValue: 0x08)
51 | public static let ctrlH = Key(rawValue: 0x08)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:50:23: warning: static property 'backPace' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
48 | public static let ctrlF = Key(rawValue: 0x06)
49 | public static let ctrlG = Key(rawValue: 0x07)
50 | public static let backPace = Key(rawValue: 0x08)
| |- warning: static property 'backPace' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backPace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let ctrlH = Key(rawValue: 0x08)
52 | public static let tab = Key(rawValue: 0x09)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:51:23: warning: static property 'ctrlH' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
49 | public static let ctrlG = Key(rawValue: 0x07)
50 | public static let backPace = Key(rawValue: 0x08)
51 | public static let ctrlH = Key(rawValue: 0x08)
| |- warning: static property 'ctrlH' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlH' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let tab = Key(rawValue: 0x09)
53 | public static let ctrlI = Key(rawValue: 0x09)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:52:23: warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
50 | public static let backPace = Key(rawValue: 0x08)
51 | public static let ctrlH = Key(rawValue: 0x08)
52 | public static let tab = Key(rawValue: 0x09)
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let ctrlI = Key(rawValue: 0x09)
54 | public static let ctrlJ = Key(rawValue: 0x0a)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:53:23: warning: static property 'ctrlI' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
51 | public static let ctrlH = Key(rawValue: 0x08)
52 | public static let tab = Key(rawValue: 0x09)
53 | public static let ctrlI = Key(rawValue: 0x09)
| |- warning: static property 'ctrlI' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let ctrlJ = Key(rawValue: 0x0a)
55 | public static let ctrlK = Key(rawValue: 0x0b)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:54:23: warning: static property 'ctrlJ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
52 | public static let tab = Key(rawValue: 0x09)
53 | public static let ctrlI = Key(rawValue: 0x09)
54 | public static let ctrlJ = Key(rawValue: 0x0a)
| |- warning: static property 'ctrlJ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlJ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let ctrlK = Key(rawValue: 0x0b)
56 | public static let ctrlL = Key(rawValue: 0x0c)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:55:23: warning: static property 'ctrlK' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
53 | public static let ctrlI = Key(rawValue: 0x09)
54 | public static let ctrlJ = Key(rawValue: 0x0a)
55 | public static let ctrlK = Key(rawValue: 0x0b)
| |- warning: static property 'ctrlK' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlK' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let ctrlL = Key(rawValue: 0x0c)
57 | public static let enter = Key(rawValue: 0x0d)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:56:23: warning: static property 'ctrlL' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
54 | public static let ctrlJ = Key(rawValue: 0x0a)
55 | public static let ctrlK = Key(rawValue: 0x0b)
56 | public static let ctrlL = Key(rawValue: 0x0c)
| |- warning: static property 'ctrlL' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let enter = Key(rawValue: 0x0d)
58 | public static let ctrlM = Key(rawValue: 0x0d)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:57:23: warning: static property 'enter' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
55 | public static let ctrlK = Key(rawValue: 0x0b)
56 | public static let ctrlL = Key(rawValue: 0x0c)
57 | public static let enter = Key(rawValue: 0x0d)
| |- warning: static property 'enter' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let ctrlM = Key(rawValue: 0x0d)
59 | public static let ctrlN = Key(rawValue: 0x0e)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:58:23: warning: static property 'ctrlM' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
56 | public static let ctrlL = Key(rawValue: 0x0c)
57 | public static let enter = Key(rawValue: 0x0d)
58 | public static let ctrlM = Key(rawValue: 0x0d)
| |- warning: static property 'ctrlM' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlM' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | public static let ctrlN = Key(rawValue: 0x0e)
60 | public static let ctrlO = Key(rawValue: 0x0f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:59:23: warning: static property 'ctrlN' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
57 | public static let enter = Key(rawValue: 0x0d)
58 | public static let ctrlM = Key(rawValue: 0x0d)
59 | public static let ctrlN = Key(rawValue: 0x0e)
| |- warning: static property 'ctrlN' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlN' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | public static let ctrlO = Key(rawValue: 0x0f)
61 | public static let ctrlP = Key(rawValue: 0x10)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:60:23: warning: static property 'ctrlO' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
58 | public static let ctrlM = Key(rawValue: 0x0d)
59 | public static let ctrlN = Key(rawValue: 0x0e)
60 | public static let ctrlO = Key(rawValue: 0x0f)
| |- warning: static property 'ctrlO' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlO' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let ctrlP = Key(rawValue: 0x10)
62 | public static let ctrlQ = Key(rawValue: 0x11)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:61:23: warning: static property 'ctrlP' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
59 | public static let ctrlN = Key(rawValue: 0x0e)
60 | public static let ctrlO = Key(rawValue: 0x0f)
61 | public static let ctrlP = Key(rawValue: 0x10)
| |- warning: static property 'ctrlP' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlP' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let ctrlQ = Key(rawValue: 0x11)
63 | public static let ctrlR = Key(rawValue: 0x12)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:62:23: warning: static property 'ctrlQ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
60 | public static let ctrlO = Key(rawValue: 0x0f)
61 | public static let ctrlP = Key(rawValue: 0x10)
62 | public static let ctrlQ = Key(rawValue: 0x11)
| |- warning: static property 'ctrlQ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlQ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let ctrlR = Key(rawValue: 0x12)
64 | public static let ctrlS = Key(rawValue: 0x13)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:63:23: warning: static property 'ctrlR' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
61 | public static let ctrlP = Key(rawValue: 0x10)
62 | public static let ctrlQ = Key(rawValue: 0x11)
63 | public static let ctrlR = Key(rawValue: 0x12)
| |- warning: static property 'ctrlR' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | public static let ctrlS = Key(rawValue: 0x13)
65 | public static let ctrlT = Key(rawValue: 0x14)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:64:23: warning: static property 'ctrlS' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
62 | public static let ctrlQ = Key(rawValue: 0x11)
63 | public static let ctrlR = Key(rawValue: 0x12)
64 | public static let ctrlS = Key(rawValue: 0x13)
| |- warning: static property 'ctrlS' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | public static let ctrlT = Key(rawValue: 0x14)
66 | public static let ctrlU = Key(rawValue: 0x15)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:65:23: warning: static property 'ctrlT' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
63 | public static let ctrlR = Key(rawValue: 0x12)
64 | public static let ctrlS = Key(rawValue: 0x13)
65 | public static let ctrlT = Key(rawValue: 0x14)
| |- warning: static property 'ctrlT' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | public static let ctrlU = Key(rawValue: 0x15)
67 | public static let ctrlV = Key(rawValue: 0x16)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:66:23: warning: static property 'ctrlU' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
64 | public static let ctrlS = Key(rawValue: 0x13)
65 | public static let ctrlT = Key(rawValue: 0x14)
66 | public static let ctrlU = Key(rawValue: 0x15)
| |- warning: static property 'ctrlU' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlU' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let ctrlV = Key(rawValue: 0x16)
68 | public static let ctrlW = Key(rawValue: 0x17)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:67:23: warning: static property 'ctrlV' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
65 | public static let ctrlT = Key(rawValue: 0x14)
66 | public static let ctrlU = Key(rawValue: 0x15)
67 | public static let ctrlV = Key(rawValue: 0x16)
| |- warning: static property 'ctrlV' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlV' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let ctrlW = Key(rawValue: 0x17)
69 | public static let ctrlX = Key(rawValue: 0x18)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:68:23: warning: static property 'ctrlW' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
66 | public static let ctrlU = Key(rawValue: 0x15)
67 | public static let ctrlV = Key(rawValue: 0x16)
68 | public static let ctrlW = Key(rawValue: 0x17)
| |- warning: static property 'ctrlW' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlW' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let ctrlX = Key(rawValue: 0x18)
70 | public static let ctrlY = Key(rawValue: 0x19)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:69:23: warning: static property 'ctrlX' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
67 | public static let ctrlV = Key(rawValue: 0x16)
68 | public static let ctrlW = Key(rawValue: 0x17)
69 | public static let ctrlX = Key(rawValue: 0x18)
| |- warning: static property 'ctrlX' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let ctrlY = Key(rawValue: 0x19)
71 | public static let ctrlZ = Key(rawValue: 0x1a)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:70:23: warning: static property 'ctrlY' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
68 | public static let ctrlW = Key(rawValue: 0x17)
69 | public static let ctrlX = Key(rawValue: 0x18)
70 | public static let ctrlY = Key(rawValue: 0x19)
| |- warning: static property 'ctrlY' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let ctrlZ = Key(rawValue: 0x1a)
72 | public static let esc = Key(rawValue: 0x1b)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:71:23: warning: static property 'ctrlZ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
69 | public static let ctrlX = Key(rawValue: 0x18)
70 | public static let ctrlY = Key(rawValue: 0x19)
71 | public static let ctrlZ = Key(rawValue: 0x1a)
| |- warning: static property 'ctrlZ' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let esc = Key(rawValue: 0x1b)
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:72:23: warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
70 | public static let ctrlY = Key(rawValue: 0x19)
71 | public static let ctrlZ = Key(rawValue: 0x1a)
72 | public static let esc = Key(rawValue: 0x1b)
| |- warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
74 | public static let ctrl3 = Key(rawValue: 0x1b)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:73:23: warning: static property 'ctrlLeftBracket' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
71 | public static let ctrlZ = Key(rawValue: 0x1a)
72 | public static let esc = Key(rawValue: 0x1b)
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
| |- warning: static property 'ctrlLeftBracket' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlLeftBracket' with '@MainActor' 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 | public static let ctrl3 = Key(rawValue: 0x1b)
75 | public static let ctrl4 = Key(rawValue: 0x1c)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:74:23: warning: static property 'ctrl3' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
72 | public static let esc = Key(rawValue: 0x1b)
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
74 | public static let ctrl3 = Key(rawValue: 0x1b)
| |- warning: static property 'ctrl3' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl3' with '@MainActor' 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 | public static let ctrl4 = Key(rawValue: 0x1c)
76 | public static let ctrlBackslash = Key(rawValue: 0x1c)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:75:23: warning: static property 'ctrl4' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
73 | public static let ctrlLeftBracket = Key(rawValue: 0x1b)
74 | public static let ctrl3 = Key(rawValue: 0x1b)
75 | public static let ctrl4 = Key(rawValue: 0x1c)
| |- warning: static property 'ctrl4' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl4' with '@MainActor' 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 | public static let ctrlBackslash = Key(rawValue: 0x1c)
77 | public static let ctrl5 = Key(rawValue: 0x1d)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:76:23: warning: static property 'ctrlBackslash' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
74 | public static let ctrl3 = Key(rawValue: 0x1b)
75 | public static let ctrl4 = Key(rawValue: 0x1c)
76 | public static let ctrlBackslash = Key(rawValue: 0x1c)
| |- warning: static property 'ctrlBackslash' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlBackslash' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let ctrl5 = Key(rawValue: 0x1d)
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:77:23: warning: static property 'ctrl5' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
75 | public static let ctrl4 = Key(rawValue: 0x1c)
76 | public static let ctrlBackslash = Key(rawValue: 0x1c)
77 | public static let ctrl5 = Key(rawValue: 0x1d)
| |- warning: static property 'ctrl5' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
79 | public static let ctrl6 = Key(rawValue: 0x1e)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:78:23: warning: static property 'ctrlRightRracket' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
76 | public static let ctrlBackslash = Key(rawValue: 0x1c)
77 | public static let ctrl5 = Key(rawValue: 0x1d)
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
| |- warning: static property 'ctrlRightRracket' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlRightRracket' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let ctrl6 = Key(rawValue: 0x1e)
80 | public static let ctrl7 = Key(rawValue: 0x1f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:79:23: warning: static property 'ctrl6' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
77 | public static let ctrl5 = Key(rawValue: 0x1d)
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
79 | public static let ctrl6 = Key(rawValue: 0x1e)
| |- warning: static property 'ctrl6' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let ctrl7 = Key(rawValue: 0x1f)
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:80:23: warning: static property 'ctrl7' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
78 | public static let ctrlRightRracket = Key(rawValue: 0x1d)
79 | public static let ctrl6 = Key(rawValue: 0x1e)
80 | public static let ctrl7 = Key(rawValue: 0x1f)
| |- warning: static property 'ctrl7' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:81:23: warning: static property 'ctrlSlash' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
79 | public static let ctrl6 = Key(rawValue: 0x1e)
80 | public static let ctrl7 = Key(rawValue: 0x1f)
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
| |- warning: static property 'ctrlSlash' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlSlash' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
83 | public static let space = Key(rawValue: 0x20)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:82:23: warning: static property 'ctrlUnderscore' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
80 | public static let ctrl7 = Key(rawValue: 0x1f)
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
| |- warning: static property 'ctrlUnderscore' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrlUnderscore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | public static let space = Key(rawValue: 0x20)
84 | public static let backspace2 = Key(rawValue: 0x7f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:83:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
83 | public static let space = Key(rawValue: 0x20)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let backspace2 = Key(rawValue: 0x7f)
85 | public static let ctrl8 = Key(rawValue: 0x7f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:84:23: warning: static property 'backspace2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
83 | public static let space = Key(rawValue: 0x20)
84 | public static let backspace2 = Key(rawValue: 0x7f)
| |- warning: static property 'backspace2' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backspace2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 | public static let ctrl8 = Key(rawValue: 0x7f)
86 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:85:23: warning: static property 'ctrl8' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
83 | public static let space = Key(rawValue: 0x20)
84 | public static let backspace2 = Key(rawValue: 0x7f)
85 | public static let ctrl8 = Key(rawValue: 0x7f)
| |- warning: static property 'ctrl8' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ctrl8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | public init(rawValue: UInt16) {
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:109:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
107 |
108 | // colors
109 | public static let `default`: Attributes = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:110:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
108 | // colors
109 | public static let `default`: Attributes = []
110 | public static let black = Attributes(rawValue: 0x01)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | public static let red = Attributes(rawValue: 0x02)
112 | public static let green = Attributes(rawValue: 0x03)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:111:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
109 | public static let `default`: Attributes = []
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | public static let green = Attributes(rawValue: 0x03)
113 | public static let yellow = Attributes(rawValue: 0x04)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:112:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
112 | public static let green = Attributes(rawValue: 0x03)
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'green' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | public static let yellow = Attributes(rawValue: 0x04)
114 | public static let blue = Attributes(rawValue: 0x05)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:113:23: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
111 | public static let red = Attributes(rawValue: 0x02)
112 | public static let green = Attributes(rawValue: 0x03)
113 | public static let yellow = Attributes(rawValue: 0x04)
| |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yellow' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | public static let blue = Attributes(rawValue: 0x05)
115 | public static let magenta = Attributes(rawValue: 0x06)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:114:23: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
112 | public static let green = Attributes(rawValue: 0x03)
113 | public static let yellow = Attributes(rawValue: 0x04)
114 | public static let blue = Attributes(rawValue: 0x05)
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | public static let magenta = Attributes(rawValue: 0x06)
116 | public static let cyan = Attributes(rawValue: 0x07)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:115:23: warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
113 | public static let yellow = Attributes(rawValue: 0x04)
114 | public static let blue = Attributes(rawValue: 0x05)
115 | public static let magenta = Attributes(rawValue: 0x06)
| |- warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'magenta' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | public static let cyan = Attributes(rawValue: 0x07)
117 | public static let white = Attributes(rawValue: 0x08)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:116:23: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
114 | public static let blue = Attributes(rawValue: 0x05)
115 | public static let magenta = Attributes(rawValue: 0x06)
116 | public static let cyan = Attributes(rawValue: 0x07)
| |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cyan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | public static let white = Attributes(rawValue: 0x08)
118 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:117:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
115 | public static let magenta = Attributes(rawValue: 0x06)
116 | public static let cyan = Attributes(rawValue: 0x07)
117 | public static let white = Attributes(rawValue: 0x08)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | // other
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:120:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
118 |
119 | // other
120 | public static let bold = Attributes(rawValue: 0x0100)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | public static let underline = Attributes(rawValue: 0x0200)
122 | public static let reverse = Attributes(rawValue: 0x0400)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:121:23: warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
119 | // other
120 | public static let bold = Attributes(rawValue: 0x0100)
121 | public static let underline = Attributes(rawValue: 0x0200)
| |- warning: static property 'underline' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'underline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | public static let reverse = Attributes(rawValue: 0x0400)
123 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:122:23: warning: static property 'reverse' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
120 | public static let bold = Attributes(rawValue: 0x0100)
121 | public static let underline = Attributes(rawValue: 0x0200)
122 | public static let reverse = Attributes(rawValue: 0x0400)
| |- warning: static property 'reverse' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'reverse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:233:23: warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }
227 |
228 | public struct InputModes: OptionSet {
| `- note: consider making struct 'InputModes' conform to the 'Sendable' protocol
229 | public let rawValue: Int32
230 |
231 | public init(rawValue: Int32) { self.rawValue = rawValue }
232 |
233 | public static let esc = InputModes(rawValue: 1)
| |- warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | public static let alt = InputModes(rawValue: 2)
235 | public static let mouse = InputModes(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:234:23: warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }
227 |
228 | public struct InputModes: OptionSet {
| `- note: consider making struct 'InputModes' conform to the 'Sendable' protocol
229 | public let rawValue: Int32
230 |
:
232 |
233 | public static let esc = InputModes(rawValue: 1)
234 | public static let alt = InputModes(rawValue: 2)
| |- warning: static property 'alt' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | public static let mouse = InputModes(rawValue: 4)
236 | }
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:235:23: warning: static property 'mouse' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }
227 |
228 | public struct InputModes: OptionSet {
| `- note: consider making struct 'InputModes' conform to the 'Sendable' protocol
229 | public let rawValue: Int32
230 |
:
233 | public static let esc = InputModes(rawValue: 1)
234 | public static let alt = InputModes(rawValue: 2)
235 | public static let mouse = InputModes(rawValue: 4)
| |- warning: static property 'mouse' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 | }
237 |
[9/13] Emitting module paint
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:109:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
107 |
108 | // colors
109 | public static let `default`: Attributes = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
[10/13] Compiling paint main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:109:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
107 |
108 | // colors
109 | public static let `default`: Attributes = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:117:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
115 | public static let magenta = Attributes(rawValue: 0x06)
116 | public static let cyan = Attributes(rawValue: 0x07)
117 | public static let white = Attributes(rawValue: 0x08)
| |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | // other
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:114:23: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
112 | public static let green = Attributes(rawValue: 0x03)
113 | public static let yellow = Attributes(rawValue: 0x04)
114 | public static let blue = Attributes(rawValue: 0x05)
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | public static let magenta = Attributes(rawValue: 0x06)
116 | public static let cyan = Attributes(rawValue: 0x07)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:233:23: warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }
227 |
228 | public struct InputModes: OptionSet {
| `- note: consider making struct 'InputModes' conform to the 'Sendable' protocol
229 | public let rawValue: Int32
230 |
231 | public init(rawValue: Int32) { self.rawValue = rawValue }
232 |
233 | public static let esc = InputModes(rawValue: 1)
| |- warning: static property 'esc' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 | public static let alt = InputModes(rawValue: 2)
235 | public static let mouse = InputModes(rawValue: 4)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:235:23: warning: static property 'mouse' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
226 | }
227 |
228 | public struct InputModes: OptionSet {
| `- note: consider making struct 'InputModes' conform to the 'Sendable' protocol
229 | public let rawValue: Int32
230 |
:
233 | public static let esc = InputModes(rawValue: 1)
234 | public static let alt = InputModes(rawValue: 2)
235 | public static let mouse = InputModes(rawValue: 4)
| |- warning: static property 'mouse' is not concurrency-safe because non-'Sendable' type 'InputModes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mouse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 | }
237 |
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:83:23: warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import ctermbox
2 |
3 | public struct Key: Equatable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
4 | let rawValue: UInt16
5 |
:
81 | public static let ctrlSlash = Key(rawValue: 0x1f)
82 | public static let ctrlUnderscore = Key(rawValue: 0x1f)
83 | public static let space = Key(rawValue: 0x20)
| |- warning: static property 'space' is not concurrency-safe because non-'Sendable' type 'Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'space' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | public static let backspace2 = Key(rawValue: 0x7f)
85 | public static let ctrl8 = Key(rawValue: 0x7f)
/Users/admin/builder/spi-builder-workspace/Sources/Termbox/Termbox.swift:111:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
99 | /// combine attributes and a single color. See also `Cell`'s `foreground` and
100 | /// `background` fields.
101 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
102 | public let rawValue: UInt16
103 |
:
109 | public static let `default`: Attributes = []
110 | public static let black = Attributes(rawValue: 0x01)
111 | public static let red = Attributes(rawValue: 0x02)
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 | public static let green = Attributes(rawValue: 0x03)
113 | public static let yellow = Attributes(rawValue: 0x04)
[10/13] Write Objects.LinkFileList
[11/13] Linking paint
[12/13] Applying paint
Build complete! (7.59s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Termbox",
"name" : "Termbox",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Termbox",
"targets" : [
"Termbox"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ctermbox",
"targets" : [
"ctermbox"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "paint",
"targets" : [
"paint"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "paint",
"module_type" : "SwiftTarget",
"name" : "paint",
"path" : "Examples/paint",
"product_memberships" : [
"paint"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Termbox"
],
"type" : "executable"
},
{
"c99name" : "ctermbox",
"module_type" : "ClangTarget",
"name" : "ctermbox",
"path" : "Sources/ctermbox",
"product_memberships" : [
"Termbox",
"ctermbox",
"paint"
],
"sources" : [
"src/termbox.c",
"src/utf8.c"
],
"type" : "library"
},
{
"c99name" : "Termbox",
"module_type" : "SwiftTarget",
"name" : "Termbox",
"path" : "Sources/Termbox",
"product_memberships" : [
"Termbox",
"paint"
],
"sources" : [
"Termbox.swift"
],
"target_dependencies" : [
"ctermbox"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.