Build Information
Successful build of mysql-nio, reference main (d60444
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 03:01:26 UTC.
Swift 6 data race errors: 1269
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
50 | public static let koi8u: CharacterSet = 22
| |- warning: static property 'koi8u' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'koi8u' with '@MainActor' 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 |
52 | /// `gb2312_chinese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:53:27: warning: static property 'gb2312' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
51 |
52 | /// `gb2312_chinese_ci`
53 | public static let gb2312: CharacterSet = 24
| |- warning: static property 'gb2312' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gb2312' with '@MainActor' 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 |
55 | /// `greek_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:56:27: warning: static property 'greek' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
54 |
55 | /// `greek_general_ci`
56 | public static let greek: CharacterSet = 25
| |- warning: static property 'greek' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greek' with '@MainActor' 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 |
58 | /// `cp1250_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:59:27: warning: static property 'cp1250' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
57 |
58 | /// `cp1250_general_ci`
59 | public static let cp1250: CharacterSet = 26
| |- warning: static property 'cp1250' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp1250' with '@MainActor' 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 |
61 | /// `gbk_chinese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:62:27: warning: static property 'gbk' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
60 |
61 | /// `gbk_chinese_ci`
62 | public static let gbk: CharacterSet = 28
| |- warning: static property 'gbk' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gbk' with '@MainActor' 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 |
64 | /// `latin5_turkish_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:65:27: warning: static property 'latin5' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
63 |
64 | /// `latin5_turkish_ci`
65 | public static let latin5: CharacterSet = 30
| |- warning: static property 'latin5' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latin5' with '@MainActor' 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 |
67 | /// `armscii8_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:68:27: warning: static property 'armscii8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
66 |
67 | /// `armscii8_general_ci`
68 | public static let armscii8: CharacterSet = 32
| |- warning: static property 'armscii8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'armscii8' with '@MainActor' 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 |
70 | /// `utf8_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:71:27: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
69 |
70 | /// `utf8_general_ci`
71 | public static let utf8: CharacterSet = 33
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8' with '@MainActor' 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 |
73 | /// `ucs2_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:74:27: warning: static property 'ucs2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
72 |
73 | /// `ucs2_general_ci`
74 | public static let ucs2: CharacterSet = 35
| |- warning: static property 'ucs2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ucs2' with '@MainActor' 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 |
76 | /// `cp866_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:77:27: warning: static property 'cp866' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
75 |
76 | /// `cp866_general_ci`
77 | public static let cp866: CharacterSet = 36
| |- warning: static property 'cp866' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp866' with '@MainActor' 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 |
79 | /// `keybcs2_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:80:27: warning: static property 'keybcs2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
78 |
79 | /// `keybcs2_general_ci`
80 | public static let keybcs2: CharacterSet = 37
| |- warning: static property 'keybcs2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keybcs2' with '@MainActor' 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 |
82 | /// `macce_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:83:27: warning: static property 'macce' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
81 |
82 | /// `macce_general_ci`
83 | public static let macce: CharacterSet = 38
| |- warning: static property 'macce' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'macce' with '@MainActor' 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 |
85 | /// `macroman_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:86:27: warning: static property 'macroman' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
84 |
85 | /// `macroman_general_ci`
86 | public static let macroman: CharacterSet = 39
| |- warning: static property 'macroman' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'macroman' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// `cp852_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:89:27: warning: static property 'cp852' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
87 |
88 | /// `cp852_general_ci`
89 | public static let cp852: CharacterSet = 40
| |- warning: static property 'cp852' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp852' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// `latin7_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:92:27: warning: static property 'latin7' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
90 |
91 | /// `latin7_general_ci`
92 | public static let latin7: CharacterSet = 41
| |- warning: static property 'latin7' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latin7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// `cp1251_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:95:27: warning: static property 'cp1251' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
93 |
94 | /// `cp1251_general_ci`
95 | public static let cp1251: CharacterSet = 51
| |- warning: static property 'cp1251' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp1251' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// `utf16_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:98:27: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
96 |
97 | /// `utf16_general_ci`
98 | public static let utf16: CharacterSet = 54
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf16' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | /// `utf16le_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:101:27: warning: static property 'utf16le' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
99 |
100 | /// `utf16le_general_ci`
101 | public static let utf16le: CharacterSet = 56
| |- warning: static property 'utf16le' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf16le' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// `cp1256_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:104:27: warning: static property 'cp1256' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
102 |
103 | /// `cp1256_general_ci`
104 | public static let cp1256: CharacterSet = 57
| |- warning: static property 'cp1256' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp1256' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | /// `cp1257_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:107:27: warning: static property 'cp1257' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
105 |
106 | /// `cp1257_general_ci`
107 | public static let cp1257: CharacterSet = 59
| |- warning: static property 'cp1257' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp1257' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 | /// `utf32_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:110:27: warning: static property 'utf32' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
108 |
109 | /// `utf32_general_ci`
110 | public static let utf32: CharacterSet = 60
| |- warning: static property 'utf32' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf32' with '@MainActor' 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 |
112 | /// `binary`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:113:27: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
111 |
112 | /// `binary`
113 | public static let binary: CharacterSet = 63
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' 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 |
115 | /// `geostd8_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:116:27: warning: static property 'geostd8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
114 |
115 | /// `geostd8_general_ci`
116 | public static let geostd8: CharacterSet = 92
| |- warning: static property 'geostd8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'geostd8' with '@MainActor' 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 |
118 | /// `cp932_japanese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:119:27: warning: static property 'cp932' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
117 |
118 | /// `cp932_japanese_ci`
119 | public static let cp932: CharacterSet = 95
| |- warning: static property 'cp932' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp932' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | /// `eucjpms_japanese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:122:27: warning: static property 'eucjpms' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
120 |
121 | /// `eucjpms_japanese_ci`
122 | public static let eucjpms: CharacterSet = 97
| |- warning: static property 'eucjpms' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eucjpms' with '@MainActor' 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 | /// `gb18030_chinese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:125:27: warning: static property 'gb18030' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
123 |
124 | /// `gb18030_chinese_ci`
125 | public static let gb18030: CharacterSet = 248
| |- warning: static property 'gb18030' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gb18030' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 |
127 | /// `utf8mb4_0900_ai_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:128:27: warning: static property 'utf8mb4' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
126 |
127 | /// `utf8mb4_0900_ai_ci`
128 | public static let utf8mb4: CharacterSet = 255
| |- warning: static property 'utf8mb4' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8mb4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | /// `charset_nr` (2) -- number of the character set and collation
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+ColumnFlags.swift:5:27: warning: static property 'COLUMN_UNSIGNED' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// These don't seem to be documented anywhere.
3 | public struct ColumnFlags: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'ColumnFlags' conform to the 'Sendable' protocol
4 | /// This column is unsigned.
5 | public static let COLUMN_UNSIGNED = ColumnFlags(rawValue: 0b000_0000_0010_0000)
| |- warning: static property 'COLUMN_UNSIGNED' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'COLUMN_UNSIGNED' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// This column is the primary key.
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+ColumnFlags.swift:8:27: warning: static property 'PRIMARY_KEY' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// These don't seem to be documented anywhere.
3 | public struct ColumnFlags: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'ColumnFlags' conform to the 'Sendable' protocol
4 | /// This column is unsigned.
5 | public static let COLUMN_UNSIGNED = ColumnFlags(rawValue: 0b000_0000_0010_0000)
6 |
7 | /// This column is the primary key.
8 | public static let PRIMARY_KEY = ColumnFlags(rawValue: 0b000_0000_0000_0010)
| |- warning: static property 'PRIMARY_KEY' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PRIMARY_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// This column is not null.
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+ColumnFlags.swift:11:27: warning: static property 'COLUMN_NOT_NULL' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// These don't seem to be documented anywhere.
3 | public struct ColumnFlags: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'ColumnFlags' conform to the 'Sendable' protocol
4 | /// This column is unsigned.
5 | public static let COLUMN_UNSIGNED = ColumnFlags(rawValue: 0b000_0000_0010_0000)
:
9 |
10 | /// This column is not null.
11 | public static let COLUMN_NOT_NULL = ColumnFlags(rawValue: 0b000_0000_0000_0001)
| |- warning: static property 'COLUMN_NOT_NULL' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'COLUMN_NOT_NULL' with '@MainActor' 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 |
13 | /// The raw status value.
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:5:27: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TINY`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:8:27: warning: static property 'tiny' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
6 |
7 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TINY`
8 | public static let tiny = DataType(rawValue: 0x01)
| |- warning: static property 'tiny' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tiny' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_SHORT`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:11:27: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
9 |
10 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_SHORT`
11 | public static let short = DataType(rawValue: 0x02)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' 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 |
13 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONG`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:14:27: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
12 |
13 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONG`
14 | public static let long = DataType(rawValue: 0x03)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' 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 |
16 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_FLOAT`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:17:27: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
15 |
16 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_FLOAT`
17 | public static let float = DataType(rawValue: 0x04)
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DOUBLE`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:20:27: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
18 |
19 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DOUBLE`
20 | public static let double = DataType(rawValue: 0x05)
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' 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 |
22 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_NULL`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:23:27: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
21 |
22 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_NULL`
23 | public static let null = DataType(rawValue: 0x06)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' 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 |
25 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TIMESTAMP`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:26:27: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
24 |
25 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TIMESTAMP`
26 | public static let timestamp = DataType(rawValue: 0x07)
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timestamp' with '@MainActor' 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 |
28 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONGLONG`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:29:27: warning: static property 'longlong' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
27 |
28 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONGLONG`
29 | public static let longlong = DataType(rawValue: 0x08)
| |- warning: static property 'longlong' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longlong' with '@MainActor' 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 |
31 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_INT24`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:32:27: warning: static property 'int24' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
30 |
31 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_INT24`
32 | public static let int24 = DataType(rawValue: 0x09)
| |- warning: static property 'int24' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int24' with '@MainActor' 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 |
34 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DATE`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:35:27: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
33 |
34 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DATE`
35 | public static let date = DataType(rawValue: 0x0a)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' 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 |
37 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TIME`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:38:27: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
36 |
37 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TIME`
38 | public static let time = DataType(rawValue: 0x0b)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DATETIME`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:41:27: warning: static property 'datetime' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
39 |
40 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DATETIME`
41 | public static let datetime = DataType(rawValue: 0x0c)
| |- warning: static property 'datetime' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datetime' with '@MainActor' 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 |
43 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_YEAR`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:44:27: warning: static property 'year' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
42 |
43 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_YEAR`
44 | public static let year = DataType(rawValue: 0x0d)
| |- warning: static property 'year' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'year' with '@MainActor' 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 |
46 | /// see `Protocol::MYSQL_TYPE_DATE`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:47:27: warning: static property 'newdate' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
45 |
46 | /// see `Protocol::MYSQL_TYPE_DATE`
47 | public static let newdate = DataType(rawValue: 0x0e)
| |- warning: static property 'newdate' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newdate' with '@MainActor' 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 |
49 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_VARCHAR`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:50:27: warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
48 |
49 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_VARCHAR`
50 | public static let varchar = DataType(rawValue: 0x0f)
| |- warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'varchar' with '@MainActor' 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 |
52 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_BIT`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:53:27: warning: static property 'bit' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
51 |
52 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_BIT`
53 | public static let bit = DataType(rawValue: 0x10)
| |- warning: static property 'bit' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bit' with '@MainActor' 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 |
55 | /// see `Protocol::MYSQL_TYPE_TIMESTAMP2`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:56:27: warning: static property 'timestamp2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
54 |
55 | /// see `Protocol::MYSQL_TYPE_TIMESTAMP2`
56 | public static let timestamp2 = DataType(rawValue: 0x11)
| |- warning: static property 'timestamp2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timestamp2' with '@MainActor' 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 |
58 | /// see `Protocol::MYSQL_TYPE_DATETIME2`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:59:27: warning: static property 'datetime2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
57 |
58 | /// see `Protocol::MYSQL_TYPE_DATETIME2`
59 | public static let datetime2 = DataType(rawValue: 0x12)
| |- warning: static property 'datetime2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datetime2' with '@MainActor' 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 |
61 | /// see `Protocol::MYSQL_TYPE_TIME2`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:62:27: warning: static property 'time2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
60 |
61 | /// see `Protocol::MYSQL_TYPE_TIME2`
62 | public static let time2 = DataType(rawValue: 0x13)
| |- warning: static property 'time2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time2' with '@MainActor' 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 |
64 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_JSON`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:65:27: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
63 |
64 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_JSON`
65 | public static let json = DataType(rawValue: 0xf5)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' 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 |
67 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_NEWDECIMAL`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:68:27: warning: static property 'newdecimal' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
66 |
67 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_NEWDECIMAL`
68 | public static let newdecimal = DataType(rawValue: 0xf6)
| |- warning: static property 'newdecimal' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newdecimal' with '@MainActor' 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 |
70 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_ENUM`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:71:27: warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
69 |
70 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_ENUM`
71 | public static let `enum` = DataType(rawValue: 0xf7)
| |- warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enum' with '@MainActor' 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 |
73 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_SET`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:74:27: warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
72 |
73 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_SET`
74 | public static let set = DataType(rawValue: 0xf8)
| |- warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'set' with '@MainActor' 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 |
76 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TINY_BLOB`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:77:27: warning: static property 'tinyBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
75 |
76 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TINY_BLOB`
77 | public static let tinyBlob = DataType(rawValue: 0xf9)
| |- warning: static property 'tinyBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tinyBlob' with '@MainActor' 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 |
79 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_MEDIUM_BLOB`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:80:27: warning: static property 'mediumBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
78 |
79 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_MEDIUM_BLOB`
80 | public static let mediumBlob = DataType(rawValue: 0xfa)
| |- warning: static property 'mediumBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mediumBlob' with '@MainActor' 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 |
82 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONG_BLOB`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:83:27: warning: static property 'longBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
81 |
82 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONG_BLOB`
83 | public static let longBlob = DataType(rawValue: 0xfb)
| |- warning: static property 'longBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longBlob' with '@MainActor' 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 |
85 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_BLOB`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:86:27: warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
84 |
85 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_BLOB`
86 | public static let blob = DataType(rawValue: 0xfc)
| |- warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_VAR_STRING`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:89:27: warning: static property 'varString' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
87 |
88 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_VAR_STRING`
89 | public static let varString = DataType(rawValue: 0xfd)
| |- warning: static property 'varString' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'varString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_STRING`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:92:27: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
90 |
91 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_STRING`
92 | public static let string = DataType(rawValue: 0xfe)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_GEOMETRY`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:95:27: warning: static property 'geometry' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
93 |
94 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_GEOMETRY`
95 | public static let geometry = DataType(rawValue: 0xff)
| |- warning: static property 'geometry' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'geometry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Length that this type encodes to. If `nil`, the encoded
[799/799] Compiling MySQLNIO MySQLProtocol+DataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:8:27: warning: static property 'big5' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
| |- warning: static property 'big5' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'big5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// `dec8_swedish_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:11:27: warning: static property 'dec8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
9 |
10 | /// `dec8_swedish_ci`
11 | public static let dec8: CharacterSet = 3
| |- warning: static property 'dec8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dec8' with '@MainActor' 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 |
13 | /// `cp850_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:14:27: warning: static property 'cp850' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
12 |
13 | /// `cp850_general_ci`
14 | public static let cp850: CharacterSet = 4
| |- warning: static property 'cp850' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp850' with '@MainActor' 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 |
16 | /// `hp8_english_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:17:27: warning: static property 'hp8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
15 |
16 | /// `hp8_english_ci`
17 | public static let hp8: CharacterSet = 6
| |- warning: static property 'hp8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hp8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// `koi8r_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:20:27: warning: static property 'koi8r' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
18 |
19 | /// `koi8r_general_ci`
20 | public static let koi8r: CharacterSet = 7
| |- warning: static property 'koi8r' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'koi8r' with '@MainActor' 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 |
22 | /// `latin1_swedish_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:23:27: warning: static property 'latin1' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
21 |
22 | /// `latin1_swedish_ci`
23 | public static let latin1: CharacterSet = 8
| |- warning: static property 'latin1' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latin1' with '@MainActor' 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 |
25 | /// `latin2_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:26:27: warning: static property 'latin2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
24 |
25 | /// `latin2_general_ci`
26 | public static let latin2: CharacterSet = 9
| |- warning: static property 'latin2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latin2' with '@MainActor' 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 |
28 | /// `swe7_swedish_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:29:27: warning: static property 'swe7' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
27 |
28 | /// `swe7_swedish_ci`
29 | public static let swe7: CharacterSet = 10
| |- warning: static property 'swe7' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'swe7' with '@MainActor' 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 |
31 | /// `ascii_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:32:27: warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
30 |
31 | /// `ascii_general_ci`
32 | public static let ascii: CharacterSet = 11
| |- warning: static property 'ascii' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ascii' with '@MainActor' 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 |
34 | /// `ujis_japanese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:35:27: warning: static property 'ujis' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
33 |
34 | /// `ujis_japanese_ci`
35 | public static let ujis: CharacterSet = 12
| |- warning: static property 'ujis' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ujis' with '@MainActor' 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 |
37 | /// `sjis_japanese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:38:27: warning: static property 'sjis' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
36 |
37 | /// `sjis_japanese_ci`
38 | public static let sjis: CharacterSet = 13
| |- warning: static property 'sjis' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sjis' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// `hebrew_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:41:27: warning: static property 'hebrew' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
39 |
40 | /// `hebrew_general_ci`
41 | public static let hebrew: CharacterSet = 16
| |- warning: static property 'hebrew' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hebrew' with '@MainActor' 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 |
43 | /// `tis620_thai_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:44:27: warning: static property 'tis620' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
42 |
43 | /// `tis620_thai_ci`
44 | public static let tis620: CharacterSet = 18
| |- warning: static property 'tis620' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tis620' with '@MainActor' 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 |
46 | /// `euckr_korean_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:47:27: warning: static property 'euckr' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
45 |
46 | /// `euckr_korean_ci`
47 | public static let euckr: CharacterSet = 19
| |- warning: static property 'euckr' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'euckr' with '@MainActor' 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 |
49 | /// `koi8u_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:50:27: warning: static property 'koi8u' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
48 |
49 | /// `koi8u_general_ci`
50 | public static let koi8u: CharacterSet = 22
| |- warning: static property 'koi8u' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'koi8u' with '@MainActor' 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 |
52 | /// `gb2312_chinese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:53:27: warning: static property 'gb2312' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
51 |
52 | /// `gb2312_chinese_ci`
53 | public static let gb2312: CharacterSet = 24
| |- warning: static property 'gb2312' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gb2312' with '@MainActor' 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 |
55 | /// `greek_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:56:27: warning: static property 'greek' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
54 |
55 | /// `greek_general_ci`
56 | public static let greek: CharacterSet = 25
| |- warning: static property 'greek' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'greek' with '@MainActor' 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 |
58 | /// `cp1250_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:59:27: warning: static property 'cp1250' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
57 |
58 | /// `cp1250_general_ci`
59 | public static let cp1250: CharacterSet = 26
| |- warning: static property 'cp1250' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp1250' with '@MainActor' 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 |
61 | /// `gbk_chinese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:62:27: warning: static property 'gbk' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
60 |
61 | /// `gbk_chinese_ci`
62 | public static let gbk: CharacterSet = 28
| |- warning: static property 'gbk' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gbk' with '@MainActor' 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 |
64 | /// `latin5_turkish_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:65:27: warning: static property 'latin5' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
63 |
64 | /// `latin5_turkish_ci`
65 | public static let latin5: CharacterSet = 30
| |- warning: static property 'latin5' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latin5' with '@MainActor' 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 |
67 | /// `armscii8_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:68:27: warning: static property 'armscii8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
66 |
67 | /// `armscii8_general_ci`
68 | public static let armscii8: CharacterSet = 32
| |- warning: static property 'armscii8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'armscii8' with '@MainActor' 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 |
70 | /// `utf8_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:71:27: warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
69 |
70 | /// `utf8_general_ci`
71 | public static let utf8: CharacterSet = 33
| |- warning: static property 'utf8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8' with '@MainActor' 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 |
73 | /// `ucs2_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:74:27: warning: static property 'ucs2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
72 |
73 | /// `ucs2_general_ci`
74 | public static let ucs2: CharacterSet = 35
| |- warning: static property 'ucs2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ucs2' with '@MainActor' 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 |
76 | /// `cp866_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:77:27: warning: static property 'cp866' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
75 |
76 | /// `cp866_general_ci`
77 | public static let cp866: CharacterSet = 36
| |- warning: static property 'cp866' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp866' with '@MainActor' 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 |
79 | /// `keybcs2_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:80:27: warning: static property 'keybcs2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
78 |
79 | /// `keybcs2_general_ci`
80 | public static let keybcs2: CharacterSet = 37
| |- warning: static property 'keybcs2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'keybcs2' with '@MainActor' 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 |
82 | /// `macce_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:83:27: warning: static property 'macce' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
81 |
82 | /// `macce_general_ci`
83 | public static let macce: CharacterSet = 38
| |- warning: static property 'macce' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'macce' with '@MainActor' 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 |
85 | /// `macroman_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:86:27: warning: static property 'macroman' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
84 |
85 | /// `macroman_general_ci`
86 | public static let macroman: CharacterSet = 39
| |- warning: static property 'macroman' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'macroman' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// `cp852_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:89:27: warning: static property 'cp852' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
87 |
88 | /// `cp852_general_ci`
89 | public static let cp852: CharacterSet = 40
| |- warning: static property 'cp852' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp852' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// `latin7_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:92:27: warning: static property 'latin7' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
90 |
91 | /// `latin7_general_ci`
92 | public static let latin7: CharacterSet = 41
| |- warning: static property 'latin7' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latin7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// `cp1251_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:95:27: warning: static property 'cp1251' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
93 |
94 | /// `cp1251_general_ci`
95 | public static let cp1251: CharacterSet = 51
| |- warning: static property 'cp1251' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp1251' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// `utf16_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:98:27: warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
96 |
97 | /// `utf16_general_ci`
98 | public static let utf16: CharacterSet = 54
| |- warning: static property 'utf16' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf16' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 |
100 | /// `utf16le_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:101:27: warning: static property 'utf16le' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
99 |
100 | /// `utf16le_general_ci`
101 | public static let utf16le: CharacterSet = 56
| |- warning: static property 'utf16le' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf16le' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// `cp1256_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:104:27: warning: static property 'cp1256' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
102 |
103 | /// `cp1256_general_ci`
104 | public static let cp1256: CharacterSet = 57
| |- warning: static property 'cp1256' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp1256' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 | /// `cp1257_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:107:27: warning: static property 'cp1257' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
105 |
106 | /// `cp1257_general_ci`
107 | public static let cp1257: CharacterSet = 59
| |- warning: static property 'cp1257' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp1257' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 | /// `utf32_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:110:27: warning: static property 'utf32' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
108 |
109 | /// `utf32_general_ci`
110 | public static let utf32: CharacterSet = 60
| |- warning: static property 'utf32' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf32' with '@MainActor' 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 |
112 | /// `binary`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:113:27: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
111 |
112 | /// `binary`
113 | public static let binary: CharacterSet = 63
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'binary' with '@MainActor' 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 |
115 | /// `geostd8_general_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:116:27: warning: static property 'geostd8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
114 |
115 | /// `geostd8_general_ci`
116 | public static let geostd8: CharacterSet = 92
| |- warning: static property 'geostd8' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'geostd8' with '@MainActor' 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 |
118 | /// `cp932_japanese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:119:27: warning: static property 'cp932' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
117 |
118 | /// `cp932_japanese_ci`
119 | public static let cp932: CharacterSet = 95
| |- warning: static property 'cp932' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cp932' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | /// `eucjpms_japanese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:122:27: warning: static property 'eucjpms' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
120 |
121 | /// `eucjpms_japanese_ci`
122 | public static let eucjpms: CharacterSet = 97
| |- warning: static property 'eucjpms' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eucjpms' with '@MainActor' 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 | /// `gb18030_chinese_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:125:27: warning: static property 'gb18030' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
123 |
124 | /// `gb18030_chinese_ci`
125 | public static let gb18030: CharacterSet = 248
| |- warning: static property 'gb18030' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gb18030' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
126 |
127 | /// `utf8mb4_0900_ai_ci`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+CharacterSet.swift:128:27: warning: static property 'utf8mb4' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
4 | /// MySQL has a very flexible character set support as documented in Character Sets, Collations, Unicode.
5 | /// https://dev.mysql.com/doc/internals/en/character-set.html#packet-Protocol::CharacterSet
6 | public struct CharacterSet: RawRepresentable, Equatable, CustomStringConvertible, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'CharacterSet' conform to the 'Sendable' protocol
7 | /// `big5_chinese_ci`
8 | public static let big5: CharacterSet = 1
:
126 |
127 | /// `utf8mb4_0900_ai_ci`
128 | public static let utf8mb4: CharacterSet = 255
| |- warning: static property 'utf8mb4' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.CharacterSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'utf8mb4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 |
130 | /// `charset_nr` (2) -- number of the character set and collation
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+ColumnFlags.swift:5:27: warning: static property 'COLUMN_UNSIGNED' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// These don't seem to be documented anywhere.
3 | public struct ColumnFlags: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'ColumnFlags' conform to the 'Sendable' protocol
4 | /// This column is unsigned.
5 | public static let COLUMN_UNSIGNED = ColumnFlags(rawValue: 0b000_0000_0010_0000)
| |- warning: static property 'COLUMN_UNSIGNED' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'COLUMN_UNSIGNED' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// This column is the primary key.
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+ColumnFlags.swift:8:27: warning: static property 'PRIMARY_KEY' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// These don't seem to be documented anywhere.
3 | public struct ColumnFlags: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'ColumnFlags' conform to the 'Sendable' protocol
4 | /// This column is unsigned.
5 | public static let COLUMN_UNSIGNED = ColumnFlags(rawValue: 0b000_0000_0010_0000)
6 |
7 | /// This column is the primary key.
8 | public static let PRIMARY_KEY = ColumnFlags(rawValue: 0b000_0000_0000_0010)
| |- warning: static property 'PRIMARY_KEY' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'PRIMARY_KEY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// This column is not null.
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+ColumnFlags.swift:11:27: warning: static property 'COLUMN_NOT_NULL' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// These don't seem to be documented anywhere.
3 | public struct ColumnFlags: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'ColumnFlags' conform to the 'Sendable' protocol
4 | /// This column is unsigned.
5 | public static let COLUMN_UNSIGNED = ColumnFlags(rawValue: 0b000_0000_0010_0000)
:
9 |
10 | /// This column is not null.
11 | public static let COLUMN_NOT_NULL = ColumnFlags(rawValue: 0b000_0000_0000_0001)
| |- warning: static property 'COLUMN_NOT_NULL' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.ColumnFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'COLUMN_NOT_NULL' with '@MainActor' 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 |
13 | /// The raw status value.
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:5:27: warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
| |- warning: static property 'decimal' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TINY`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:8:27: warning: static property 'tiny' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
6 |
7 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TINY`
8 | public static let tiny = DataType(rawValue: 0x01)
| |- warning: static property 'tiny' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tiny' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_SHORT`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:11:27: warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
9 |
10 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_SHORT`
11 | public static let short = DataType(rawValue: 0x02)
| |- warning: static property 'short' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'short' with '@MainActor' 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 |
13 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONG`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:14:27: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
12 |
13 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONG`
14 | public static let long = DataType(rawValue: 0x03)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' 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 |
16 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_FLOAT`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:17:27: warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
15 |
16 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_FLOAT`
17 | public static let float = DataType(rawValue: 0x04)
| |- warning: static property 'float' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'float' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DOUBLE`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:20:27: warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
18 |
19 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DOUBLE`
20 | public static let double = DataType(rawValue: 0x05)
| |- warning: static property 'double' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'double' with '@MainActor' 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 |
22 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_NULL`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:23:27: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
21 |
22 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_NULL`
23 | public static let null = DataType(rawValue: 0x06)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' 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 |
25 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TIMESTAMP`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:26:27: warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
24 |
25 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TIMESTAMP`
26 | public static let timestamp = DataType(rawValue: 0x07)
| |- warning: static property 'timestamp' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timestamp' with '@MainActor' 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 |
28 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONGLONG`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:29:27: warning: static property 'longlong' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
27 |
28 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONGLONG`
29 | public static let longlong = DataType(rawValue: 0x08)
| |- warning: static property 'longlong' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longlong' with '@MainActor' 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 |
31 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_INT24`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:32:27: warning: static property 'int24' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
30 |
31 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_INT24`
32 | public static let int24 = DataType(rawValue: 0x09)
| |- warning: static property 'int24' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'int24' with '@MainActor' 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 |
34 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DATE`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:35:27: warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
33 |
34 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DATE`
35 | public static let date = DataType(rawValue: 0x0a)
| |- warning: static property 'date' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'date' with '@MainActor' 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 |
37 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TIME`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:38:27: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
36 |
37 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TIME`
38 | public static let time = DataType(rawValue: 0x0b)
| |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DATETIME`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:41:27: warning: static property 'datetime' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
39 |
40 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DATETIME`
41 | public static let datetime = DataType(rawValue: 0x0c)
| |- warning: static property 'datetime' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datetime' with '@MainActor' 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 |
43 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_YEAR`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:44:27: warning: static property 'year' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
42 |
43 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_YEAR`
44 | public static let year = DataType(rawValue: 0x0d)
| |- warning: static property 'year' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'year' with '@MainActor' 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 |
46 | /// see `Protocol::MYSQL_TYPE_DATE`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:47:27: warning: static property 'newdate' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
45 |
46 | /// see `Protocol::MYSQL_TYPE_DATE`
47 | public static let newdate = DataType(rawValue: 0x0e)
| |- warning: static property 'newdate' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newdate' with '@MainActor' 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 |
49 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_VARCHAR`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:50:27: warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
48 |
49 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_VARCHAR`
50 | public static let varchar = DataType(rawValue: 0x0f)
| |- warning: static property 'varchar' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'varchar' with '@MainActor' 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 |
52 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_BIT`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:53:27: warning: static property 'bit' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
51 |
52 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_BIT`
53 | public static let bit = DataType(rawValue: 0x10)
| |- warning: static property 'bit' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bit' with '@MainActor' 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 |
55 | /// see `Protocol::MYSQL_TYPE_TIMESTAMP2`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:56:27: warning: static property 'timestamp2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
54 |
55 | /// see `Protocol::MYSQL_TYPE_TIMESTAMP2`
56 | public static let timestamp2 = DataType(rawValue: 0x11)
| |- warning: static property 'timestamp2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'timestamp2' with '@MainActor' 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 |
58 | /// see `Protocol::MYSQL_TYPE_DATETIME2`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:59:27: warning: static property 'datetime2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
57 |
58 | /// see `Protocol::MYSQL_TYPE_DATETIME2`
59 | public static let datetime2 = DataType(rawValue: 0x12)
| |- warning: static property 'datetime2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'datetime2' with '@MainActor' 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 |
61 | /// see `Protocol::MYSQL_TYPE_TIME2`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:62:27: warning: static property 'time2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
60 |
61 | /// see `Protocol::MYSQL_TYPE_TIME2`
62 | public static let time2 = DataType(rawValue: 0x13)
| |- warning: static property 'time2' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'time2' with '@MainActor' 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 |
64 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_JSON`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:65:27: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
63 |
64 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_JSON`
65 | public static let json = DataType(rawValue: 0xf5)
| |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'json' with '@MainActor' 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 |
67 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_NEWDECIMAL`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:68:27: warning: static property 'newdecimal' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
66 |
67 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_NEWDECIMAL`
68 | public static let newdecimal = DataType(rawValue: 0xf6)
| |- warning: static property 'newdecimal' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newdecimal' with '@MainActor' 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 |
70 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_ENUM`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:71:27: warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
69 |
70 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_ENUM`
71 | public static let `enum` = DataType(rawValue: 0xf7)
| |- warning: static property 'enum' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enum' with '@MainActor' 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 |
73 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_SET`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:74:27: warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
72 |
73 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_SET`
74 | public static let set = DataType(rawValue: 0xf8)
| |- warning: static property 'set' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'set' with '@MainActor' 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 |
76 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TINY_BLOB`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:77:27: warning: static property 'tinyBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
75 |
76 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_TINY_BLOB`
77 | public static let tinyBlob = DataType(rawValue: 0xf9)
| |- warning: static property 'tinyBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tinyBlob' with '@MainActor' 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 |
79 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_MEDIUM_BLOB`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:80:27: warning: static property 'mediumBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
78 |
79 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_MEDIUM_BLOB`
80 | public static let mediumBlob = DataType(rawValue: 0xfa)
| |- warning: static property 'mediumBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mediumBlob' with '@MainActor' 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 |
82 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONG_BLOB`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:83:27: warning: static property 'longBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
81 |
82 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_LONG_BLOB`
83 | public static let longBlob = DataType(rawValue: 0xfb)
| |- warning: static property 'longBlob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'longBlob' with '@MainActor' 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 |
85 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_BLOB`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:86:27: warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
84 |
85 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_BLOB`
86 | public static let blob = DataType(rawValue: 0xfc)
| |- warning: static property 'blob' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blob' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_VAR_STRING`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:89:27: warning: static property 'varString' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
87 |
88 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_VAR_STRING`
89 | public static let varString = DataType(rawValue: 0xfd)
| |- warning: static property 'varString' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'varString' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_STRING`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:92:27: warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
90 |
91 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_STRING`
92 | public static let string = DataType(rawValue: 0xfe)
| |- warning: static property 'string' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'string' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_GEOMETRY`
/Users/admin/builder/spi-builder-workspace/Sources/MySQLNIO/Protocol/MySQLProtocol+DataType.swift:95:27: warning: static property 'geometry' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
1 | extension MySQLProtocol {
2 | /// Table 14.4 Column Types
3 | public struct DataType: RawRepresentable, Equatable, CustomStringConvertible {
| `- note: consider making struct 'DataType' conform to the 'Sendable' protocol
4 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_DECIMAL`
5 | public static let decimal = DataType(rawValue: 0x00)
:
93 |
94 | /// Implemented by `ProtocolBinary::MYSQL_TYPE_GEOMETRY`
95 | public static let geometry = DataType(rawValue: 0xff)
| |- warning: static property 'geometry' is not concurrency-safe because non-'Sendable' type 'MySQLProtocol.DataType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'geometry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | /// Length that this type encodes to. If `nil`, the encoded
Build complete! (48.24s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.14.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
}
],
"manifest_display_name" : "mysql-nio",
"name" : "mysql-nio",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MySQLNIO",
"targets" : [
"MySQLNIO"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MySQLNIOTests",
"module_type" : "SwiftTarget",
"name" : "MySQLNIOTests",
"path" : "Tests/MySQLNIOTests",
"sources" : [
"MySQLNIOTests.swift",
"Utilities.swift"
],
"target_dependencies" : [
"MySQLNIO"
],
"type" : "test"
},
{
"c99name" : "MySQLNIO",
"module_type" : "SwiftTarget",
"name" : "MySQLNIO",
"path" : "Sources/MySQLNIO",
"product_dependencies" : [
"Crypto",
"Logging",
"NIO",
"NIOSSL"
],
"product_memberships" : [
"MySQLNIO"
],
"sources" : [
"Exports.swift",
"MySQLConnection.swift",
"MySQLConnectionHandler.swift",
"MySQLData.swift",
"MySQLDataConvertible.swift",
"MySQLDatabase.swift",
"MySQLError.swift",
"MySQLQueryCommand.swift",
"MySQLRow.swift",
"MySQLSimpleQueryCommand.swift",
"MySQLTime.swift",
"Packet/MySQLPacket.swift",
"Packet/MySQLPacketDecoder.swift",
"Packet/MySQLPacketEncoder.swift",
"Packet/MySQLPacketSequence.swift",
"Protocol/MySQLProtocol+BinaryResultSetRow.swift",
"Protocol/MySQLProtocol+COM_QUERY.swift",
"Protocol/MySQLProtocol+COM_QUERY_Response.swift",
"Protocol/MySQLProtocol+COM_QUIT.swift",
"Protocol/MySQLProtocol+COM_STMT_CLOSE.swift",
"Protocol/MySQLProtocol+COM_STMT_EXECUTE.swift",
"Protocol/MySQLProtocol+COM_STMT_PREPARE.swift",
"Protocol/MySQLProtocol+COM_STMT_PREPARE_OK.swift",
"Protocol/MySQLProtocol+CapabilityFlags.swift",
"Protocol/MySQLProtocol+CharacterSet.swift",
"Protocol/MySQLProtocol+ColumnDefinition41.swift",
"Protocol/MySQLProtocol+ColumnFlags.swift",
"Protocol/MySQLProtocol+DataType.swift",
"Protocol/MySQLProtocol+ERR_Packet.swift",
"Protocol/MySQLProtocol+ErrorCode.swift",
"Protocol/MySQLProtocol+HandshakeResponse41.swift",
"Protocol/MySQLProtocol+HandshakeV10.swift",
"Protocol/MySQLProtocol+NullBitmap.swift",
"Protocol/MySQLProtocol+OK_Packet.swift",
"Protocol/MySQLProtocol+SSLRequest.swift",
"Protocol/MySQLProtocol+StatusFlags.swift",
"Protocol/MySQLProtocol+TextResultSetRow.swift",
"Protocol/MySQLProtocol.swift",
"Utilities/CryptoUtils.swift",
"Utilities/NIOUtils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.