Build Information
Failed to build swift-nio-imap, reference 0.1.0 (ef2026
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 23:51:13 UTC.
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- warning: static property 'language' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'language' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | /// Allows a `.list` command to also respond status information for each mailbox - RFC 5819.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:262:23: warning: static property 'listStatus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
260 |
261 | /// Allows a `.list` command to also respond status information for each mailbox - RFC 5819.
262 | public static let listStatus = Self(unchecked: "LIST-STATUS")
| |- warning: static property 'listStatus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'listStatus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 |
264 | /// Provides an interface for additional `.list` command options to prevent an exponential API increase - RFC 5258.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:265:23: warning: static property 'listExtended' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
263 |
264 | /// Provides an interface for additional `.list` command options to prevent an exponential API increase - RFC 5258.
265 | public static let listExtended = Self(unchecked: "LIST-EXTENDED")
| |- warning: static property 'listExtended' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'listExtended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 | /// Clients must not send a `.login` command if this capability is advertised - RFC 3501.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:268:23: warning: static property 'loginDisabled' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
266 |
267 | /// Clients must not send a `.login` command if this capability is advertised - RFC 3501.
268 | public static let loginDisabled = Self(unchecked: "LOGINDISABLED")
| |- warning: static property 'loginDisabled' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loginDisabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 |
270 | /// Allow clients to transparently connect to an alternate IMAP4 server, if their home IMAP4 server has changed - RFC 2221.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:271:23: warning: static property 'loginReferrals' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
269 |
270 | /// Allow clients to transparently connect to an alternate IMAP4 server, if their home IMAP4 server has changed - RFC 2221.
271 | public static let loginReferrals = Self(unchecked: "LOGIN-REFERRALS")
| |- warning: static property 'loginReferrals' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loginReferrals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 |
273 | /// Permits clients and servers to maintain "annotations" or "metadata" on IMAP servers - RFC 5464.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:274:23: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
272 |
273 | /// Permits clients and servers to maintain "annotations" or "metadata" on IMAP servers - RFC 5464.
274 | public static let metadata = Self(unchecked: "METADATA")
| |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'metadata' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
275 |
276 | /// Permits clients and servers to maintain "annotations" or "metadata" on IMAP servers.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:279:23: warning: static property 'metadataServer' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
277 | /// A server that supports only server annotations indicates the presence of this extension
278 | /// by returning "METADATA-SERVER" - RFC 5464.
279 | public static let metadataServer = Self(unchecked: "METADATA-SERVER")
| |- warning: static property 'metadataServer' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'metadataServer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | /// The server supports moving messages from one mailbox to another - RFC 6851.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:282:23: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
280 |
281 | /// The server supports moving messages from one mailbox to another - RFC 6851.
282 | public static let move = Self(unchecked: "MOVE")
| |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'move' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 |
284 | /// Allows a client to search multiple mailboxes with one command - RFC 7377.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:285:23: warning: static property 'multiSearch' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
283 |
284 | /// Allows a client to search multiple mailboxes with one command - RFC 7377.
285 | public static let multiSearch = Self(unchecked: "MULTISEARCH")
| |- warning: static property 'multiSearch' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
286 |
287 | /// Enables managing mailbox namespaces to provide support for shared mailboxes - RFC 4466.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:288:23: warning: static property 'namespace' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
286 |
287 | /// Enables managing mailbox namespaces to provide support for shared mailboxes - RFC 4466.
288 | public static let namespace = Self(unchecked: "NAMESPACE")
| |- warning: static property 'namespace' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namespace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |
290 | /// Each mailbox that supports persistent storage of mod-sequences, i.e., for which the server would
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:296:23: warning: static property 'qresync' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
294 | /// MOVE [RFC6851]; the server MUST associate the incremented mod-
295 | /// sequence with the UIDs of the expunged messages - RFC 4466.
296 | public static let qresync = Self(unchecked: "QRESYNC")
| |- warning: static property 'qresync' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'qresync' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | /// The server supports administrative limits on resource usage - RFC 2087.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:299:23: warning: static property 'quota' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
297 |
298 | /// The server supports administrative limits on resource usage - RFC 2087.
299 | public static let quota = Self(unchecked: "QUOTA")
| |- warning: static property 'quota' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quota' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 |
301 | /// Allows an initial client response argument to the IMAP AUTHENTICATE command - RFC 4959.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:302:23: warning: static property 'saslIR' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
300 |
301 | /// Allows an initial client response argument to the IMAP AUTHENTICATE command - RFC 4959.
302 | public static let saslIR = Self(unchecked: "SASL-IR")
| |- warning: static property 'saslIR' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'saslIR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
303 |
304 | /// Allows a client to tell a server to use the result of a SEARCH (or Unique Identifier (UID)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:306:23: warning: static property 'searchRes' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
304 | /// Allows a client to tell a server to use the result of a SEARCH (or Unique Identifier (UID)
305 | /// SEARCH) command as an input to any subsequent command - RFC 5182.
306 | public static let searchRes = Self(unchecked: "SEARCHRES")
| |- warning: static property 'searchRes' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'searchRes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
307 |
308 | /// Adds new optional mailbox attributes that a server may include in IMAP LIST
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:311:23: warning: static property 'specialUse' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
309 | /// command responses to identify special-use mailboxes to the client,
310 | /// easing configuration - RFC 6154.
311 | public static let specialUse = Self(unchecked: "SPECIAL-USE")
| |- warning: static property 'specialUse' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specialUse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 |
313 | /// Part of the core IMAP4rev1 specification, enables upgrading plaintext connections to TLS - RFC 3501.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:314:23: warning: static property 'startTLS' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
312 |
313 | /// Part of the core IMAP4rev1 specification, enables upgrading plaintext connections to TLS - RFC 3501.
314 | public static let startTLS = Self(unchecked: "STARTTLS")
| |- warning: static property 'startTLS' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'startTLS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
315 |
316 | /// Provides a set of features intended to reduce the amount of time and
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:318:23: warning: static property 'uidPlus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
316 | /// Provides a set of features intended to reduce the amount of time and
317 | /// resources used by some client operations - RFC 4315.
318 | public static let uidPlus = Self(unchecked: "UIDPLUS")
| |- warning: static property 'uidPlus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uidPlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 |
320 | /// Allows closing the current mailbox without expunging it - RFC 3691.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:321:23: warning: static property 'unselect' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
319 |
320 | /// Allows closing the current mailbox without expunging it - RFC 3691.
321 | public static let unselect = Self(unchecked: "UNSELECT")
| |- warning: static property 'unselect' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unselect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | /// If an IMAP server supports PARTIAL in IMAP URL used in CATENATE and
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:326:23: warning: static property 'partialURL' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
324 | /// URLAUTH extensions, then it MUST advertise the URL-PARTIAL capability
325 | /// in both the CAPABILITY response and the equivalent response-code - RFC 5550.
326 | public static let partialURL = Self(unchecked: "URL-PARTIAL")
| |- warning: static property 'partialURL' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'partialURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 |
328 | /// Provides a means by which an IMAP client can use URLs carrying authorization
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:330:23: warning: static property 'authenticatedURL' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
328 | /// Provides a means by which an IMAP client can use URLs carrying authorization
329 | /// to access limited message data on the IMAP server - RFC 4467.
330 | public static let authenticatedURL = Self(unchecked: "URLAUTH")
| |- warning: static property 'authenticatedURL' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authenticatedURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 |
332 | /// Provides additional mechanisms to `.search` such as *OLDER*, *YOUNGER* to reduce
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:334:23: warning: static property 'within' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
332 | /// Provides additional mechanisms to `.search` such as *OLDER*, *YOUNGER* to reduce
333 | /// network traffic and the computation required by clients.
334 | public static let within = Self(unchecked: "WITHIN")
| |- warning: static property 'within' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'within' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | /// Enables GMail-specific features.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:338:23: warning: static property 'gmailExtensions' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
336 | /// Enables GMail-specific features.
337 | /// https://developers.google.com/gmail/imap/imap-extensions
338 | public static let gmailExtensions = Self(unchecked: "X-GM-EXT-1")
| |- warning: static property 'gmailExtensions' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmailExtensions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 |
340 | /// The server supports non-synchronising literals - RFC 7888.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:341:23: warning: static property 'literalPlus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
339 |
340 | /// The server supports non-synchronising literals - RFC 7888.
341 | public static let literalPlus = Self(unchecked: "LITERAL+")
| |- warning: static property 'literalPlus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'literalPlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 |
343 | /// RFC 7888 LITERAL-
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:344:23: warning: static property 'literalMinus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
342 |
343 | /// RFC 7888 LITERAL-
344 | public static let literalMinus = Self(unchecked: "LITERAL-")
| |- warning: static property 'literalMinus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'literalMinus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
345 |
346 | /// Creates a new *AUTH* capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/CommandEncodingOptions.swift:34:23: warning: static property 'rfc3501' is not concurrency-safe because non-'Sendable' type 'CommandEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Options that may change how commands are written to the network.
16 | public struct CommandEncodingOptions: Hashable {
| `- note: consider making struct 'CommandEncodingOptions' conform to the 'Sendable' protocol
17 | /// Use RFC 3501 _quoted strings_ when possible (and the string is relatively short).
18 | public var useQuotedString: Bool
:
32 | public var useBinaryLiteral: Bool
33 |
34 | public static let rfc3501: Self = .init()
| |- warning: static property 'rfc3501' is not concurrency-safe because non-'Sendable' type 'CommandEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rfc3501' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Create RFC 3501 compliant encoding options, i.e. without any IMAP extensions.
[1113/1125] Emitting module NIOIMAPCore
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Base64/Base64.swift:16:20: warning: static property 'base64UrlAlphabet' is not concurrency-safe because non-'Sendable' type 'Base64.EncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | enum Base64 {
7 | @usableFromInline
8 | struct EncodingOptions: OptionSet {
| `- note: consider making struct 'EncodingOptions' conform to the 'Sendable' protocol
9 | @usableFromInline
10 | let rawValue: UInt
:
14 |
15 | @usableFromInline
16 | static let base64UrlAlphabet = EncodingOptions(rawValue: UInt(1 << 0))
| |- warning: static property 'base64UrlAlphabet' is not concurrency-safe because non-'Sendable' type 'Base64.EncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64UrlAlphabet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Base64/Base64.swift:19:20: warning: static property 'omitPaddingCharacter' is not concurrency-safe because non-'Sendable' type 'Base64.EncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | enum Base64 {
7 | @usableFromInline
8 | struct EncodingOptions: OptionSet {
| `- note: consider making struct 'EncodingOptions' conform to the 'Sendable' protocol
9 | @usableFromInline
10 | let rawValue: UInt
:
17 |
18 | @usableFromInline
19 | static let omitPaddingCharacter = EncodingOptions(rawValue: UInt(1 << 1))
| |- warning: static property 'omitPaddingCharacter' is not concurrency-safe because non-'Sendable' type 'Base64.EncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'omitPaddingCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Base64/Base64.swift:31:20: warning: static property 'base64UrlAlphabet' is not concurrency-safe because non-'Sendable' type 'Base64.DecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @usableFromInline
23 | struct DecodingOptions: OptionSet {
| `- note: consider making struct 'DecodingOptions' conform to the 'Sendable' protocol
24 | @usableFromInline
25 | let rawValue: UInt
:
29 |
30 | @usableFromInline
31 | static let base64UrlAlphabet = DecodingOptions(rawValue: UInt(1 << 0))
| |- warning: static property 'base64UrlAlphabet' is not concurrency-safe because non-'Sendable' type 'Base64.DecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'base64UrlAlphabet' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | @usableFromInline
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Base64/Base64.swift:34:20: warning: static property 'omitPaddingCharacter' is not concurrency-safe because non-'Sendable' type 'Base64.DecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | @usableFromInline
23 | struct DecodingOptions: OptionSet {
| `- note: consider making struct 'DecodingOptions' conform to the 'Sendable' protocol
24 | @usableFromInline
25 | let rawValue: UInt
:
32 |
33 | @usableFromInline
34 | static let omitPaddingCharacter = DecodingOptions(rawValue: UInt(1 << 1))
| |- warning: static property 'omitPaddingCharacter' is not concurrency-safe because non-'Sendable' type 'Base64.DecodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'omitPaddingCharacter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | }
36 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/CommandEncodingOptions.swift:34:23: warning: static property 'rfc3501' is not concurrency-safe because non-'Sendable' type 'CommandEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Options that may change how commands are written to the network.
16 | public struct CommandEncodingOptions: Hashable {
| `- note: consider making struct 'CommandEncodingOptions' conform to the 'Sendable' protocol
17 | /// Use RFC 3501 _quoted strings_ when possible (and the string is relatively short).
18 | public var useQuotedString: Bool
:
32 | public var useBinaryLiteral: Bool
33 |
34 | public static let rfc3501: Self = .init()
| |- warning: static property 'rfc3501' is not concurrency-safe because non-'Sendable' type 'CommandEncodingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rfc3501' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Create RFC 3501 compliant encoding options, i.e. without any IMAP extensions.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Append/AppendOptions.swift:31:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AppendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | /// Various options that may be added to a message when it is appended to a mailbox.
19 | public struct AppendOptions: Hashable {
| `- note: consider making struct 'AppendOptions' conform to the 'Sendable' protocol
20 | /// Flags that will be added to the message
21 | public var flagList: [Flag]
:
29 | /// Creates a new `AppendOptions` with no flags, internal date, or extensions.
30 | /// Provided as syntactic sugar to use instead of `.init()`.
31 | public static let none = Self()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AppendOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Creates a new `AppendOptions`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AttributeFlag.swift:25:23: warning: static property 'answered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | // yep, we need 4, because the spec requires 2 literal \\ characters
24 | /// "\\Answered"
25 | public static var answered = Self("\\\\Answered")
| |- warning: static property 'answered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'answered' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'answered' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// "\\Flagged"
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AttributeFlag.swift:28:23: warning: static property 'flagged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// "\\Flagged"
28 | public static var flagged = Self("\\\\Flagged")
| |- warning: static property 'flagged' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'flagged' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'flagged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// "\\Deleted"
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AttributeFlag.swift:31:23: warning: static property 'deleted' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// "\\Deleted"
31 | public static var deleted = Self("\\\\Deleted")
| |- warning: static property 'deleted' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deleted' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deleted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// "\\Seen"
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AttributeFlag.swift:34:23: warning: static property 'seen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// "\\Seen"
34 | public static var seen = Self("\\\\Seen")
| |- warning: static property 'seen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'seen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'seen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// "\\Draft"
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AttributeFlag.swift:37:23: warning: static property 'draft' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// "\\Draft"
37 | public static var draft = Self("\\\\Draft")
| |- warning: static property 'draft' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'draft' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'draft' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Creates a new `AttributeFlag` from the give raw `String`.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AuthenticationMechanism.swift:18:23: warning: static property 'token' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// The mechanism to use when authenticating a user.
16 | public struct AuthenticationMechanism: Hashable {
| `- note: consider making struct 'AuthenticationMechanism' conform to the 'Sendable' protocol
17 | /// Use a token generated by a specified algorithm.
18 | public static let token = Self(unchecked: "TOKEN")
| |- warning: static property 'token' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'token' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Combines the username and password into one base64 string.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AuthenticationMechanism.swift:21:23: warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// The mechanism to use when authenticating a user.
16 | public struct AuthenticationMechanism: Hashable {
| `- note: consider making struct 'AuthenticationMechanism' conform to the 'Sendable' protocol
17 | /// Use a token generated by a specified algorithm.
18 | public static let token = Self(unchecked: "TOKEN")
19 |
20 | /// Combines the username and password into one base64 string.
21 | public static let plain = Self(unchecked: "PLAIN")
| |- warning: static property 'plain' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'plain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Use a PToken.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AuthenticationMechanism.swift:24:23: warning: static property 'pToken' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// The mechanism to use when authenticating a user.
16 | public struct AuthenticationMechanism: Hashable {
| `- note: consider making struct 'AuthenticationMechanism' conform to the 'Sendable' protocol
17 | /// Use a token generated by a specified algorithm.
18 | public static let token = Self(unchecked: "TOKEN")
:
22 |
23 | /// Use a PToken.
24 | public static let pToken = Self(unchecked: "PTOKEN")
| |- warning: static property 'pToken' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pToken' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Use a WEToken.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AuthenticationMechanism.swift:27:23: warning: static property 'weToken' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// The mechanism to use when authenticating a user.
16 | public struct AuthenticationMechanism: Hashable {
| `- note: consider making struct 'AuthenticationMechanism' conform to the 'Sendable' protocol
17 | /// Use a token generated by a specified algorithm.
18 | public static let token = Self(unchecked: "TOKEN")
:
25 |
26 | /// Use a WEToken.
27 | public static let weToken = Self(unchecked: "WETOKEN")
| |- warning: static property 'weToken' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'weToken' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Use a WSToken.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AuthenticationMechanism.swift:30:23: warning: static property 'wsToken' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// The mechanism to use when authenticating a user.
16 | public struct AuthenticationMechanism: Hashable {
| `- note: consider making struct 'AuthenticationMechanism' conform to the 'Sendable' protocol
17 | /// Use a token generated by a specified algorithm.
18 | public static let token = Self(unchecked: "TOKEN")
:
28 |
29 | /// Use a WSToken.
30 | public static let wsToken = Self(unchecked: "WSTOKEN")
| |- warning: static property 'wsToken' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wsToken' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Use the GSSAPI protocol.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/AuthenticationMechanism.swift:33:23: warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// The mechanism to use when authenticating a user.
16 | public struct AuthenticationMechanism: Hashable {
| `- note: consider making struct 'AuthenticationMechanism' conform to the 'Sendable' protocol
17 | /// Use a token generated by a specified algorithm.
18 | public static let token = Self(unchecked: "TOKEN")
:
31 |
32 | /// Use the GSSAPI protocol.
33 | public static let gssAPI = Self(unchecked: "GSSAPI")
| |- warning: static property 'gssAPI' is not concurrency-safe because non-'Sendable' type 'AuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gssAPI' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// The name of the authentication mechanism.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Body/Field/Disposition.swift:20:27: warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'BodyStructure.DispositionKind' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension BodyStructure {
19 | public struct DispositionKind: Hashable, RawRepresentable {
| `- note: consider making struct 'DispositionKind' conform to the 'Sendable' protocol
20 | public static let inline = Self(rawValue: "inline")
| |- warning: static property 'inline' is not concurrency-safe because non-'Sendable' type 'BodyStructure.DispositionKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let attachment = Self(rawValue: "attachment")
22 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Body/Field/Disposition.swift:21:27: warning: static property 'attachment' is not concurrency-safe because non-'Sendable' type 'BodyStructure.DispositionKind' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | extension BodyStructure {
19 | public struct DispositionKind: Hashable, RawRepresentable {
| `- note: consider making struct 'DispositionKind' conform to the 'Sendable' protocol
20 | public static let inline = Self(rawValue: "inline")
21 | public static let attachment = Self(rawValue: "attachment")
| |- warning: static property 'attachment' is not concurrency-safe because non-'Sendable' type 'BodyStructure.DispositionKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attachment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:65:27: warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'Capability.ContextKind' may have shared mutable state; this is an error in the Swift 6 language mode
61 | extension Capability {
62 | /// Wraps supported contexts including *SEARCH* and *SORT*.
63 | public struct ContextKind: Hashable {
| `- note: consider making struct 'ContextKind' conform to the 'Sendable' protocol
64 | /// Support extended search commands and accepts new return options.
65 | public static let search = Self(unchecked: "SEARCH")
| |- warning: static property 'search' is not concurrency-safe because non-'Sendable' type 'Capability.ContextKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'search' with '@MainActor' 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 | /// Support the extended SORT command syntax and accepts new return options.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:68:27: warning: static property 'sort' is not concurrency-safe because non-'Sendable' type 'Capability.ContextKind' may have shared mutable state; this is an error in the Swift 6 language mode
61 | extension Capability {
62 | /// Wraps supported contexts including *SEARCH* and *SORT*.
63 | public struct ContextKind: Hashable {
| `- note: consider making struct 'ContextKind' conform to the 'Sendable' protocol
64 | /// Support extended search commands and accepts new return options.
65 | public static let search = Self(unchecked: "SEARCH")
66 |
67 | /// Support the extended SORT command syntax and accepts new return options.
68 | public static let sort = Self(unchecked: "SORT")
| |- warning: static property 'sort' is not concurrency-safe because non-'Sendable' type 'Capability.ContextKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sort' with '@MainActor' 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 | /// The raw string value of the capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:89:27: warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'Capability.SortKind' may have shared mutable state; this is an error in the Swift 6 language mode
83 |
84 | /// Wraps *SORT=* extensions.
85 | public struct SortKind: Hashable {
| `- note: consider making struct 'SortKind' conform to the 'Sendable' protocol
86 | /// A server that supports the full SORT extension as well as both the
87 | /// DISPLAYFROM and DISPLAYTO sort criteria indicates this by returning
88 | /// "SORT=DISPLAY" in its CAPABILITY response.
89 | public static let display = Self(unchecked: "DISPLAY")
| |- warning: static property 'display' is not concurrency-safe because non-'Sendable' type 'Capability.SortKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'display' with '@MainActor' 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 | /// The raw string value of the capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:112:27: warning: static property 'orderedSubject' is not concurrency-safe because non-'Sendable' type 'Capability.ThreadKind' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// Wraps *THREAD=* extensions.
106 | public struct ThreadKind: Hashable {
| `- note: consider making struct 'ThreadKind' conform to the 'Sendable' protocol
107 | /// The searched messages are sorted by base subject and then
108 | /// by the sent date. The messages are then split into separate
:
110 | /// base subject text. Finally, the threads are sorted by the sent
111 | /// date of the first message in the thread.
112 | public static let orderedSubject = Self(unchecked: "ORDEREDSUBJECT")
| |- warning: static property 'orderedSubject' is not concurrency-safe because non-'Sendable' type 'Capability.ThreadKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orderedSubject' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |
114 | /// Threads the searched messages by grouping them together in parent/child
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:116:27: warning: static property 'references' is not concurrency-safe because non-'Sendable' type 'Capability.ThreadKind' may have shared mutable state; this is an error in the Swift 6 language mode
104 |
105 | /// Wraps *THREAD=* extensions.
106 | public struct ThreadKind: Hashable {
| `- note: consider making struct 'ThreadKind' conform to the 'Sendable' protocol
107 | /// The searched messages are sorted by base subject and then
108 | /// by the sent date. The messages are then split into separate
:
114 | /// Threads the searched messages by grouping them together in parent/child
115 | /// relationships based on which messages are replies to others.
116 | public static let references = Self(unchecked: "REFERENCES")
| |- warning: static property 'references' is not concurrency-safe because non-'Sendable' type 'Capability.ThreadKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'references' with '@MainActor' 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 | /// The raw string value of the capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:137:27: warning: static property 'size' is not concurrency-safe because non-'Sendable' type 'Capability.StatusKind' may have shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | /// Wraps *STATUS=* extensions.
133 | public struct StatusKind: Hashable {
| `- note: consider making struct 'StatusKind' conform to the 'Sendable' protocol
134 | /// Allows retrieving the total storage size of a mailbox with
135 | /// a single STATUS command rather than retrieving and
136 | /// summing the sizes of all individual messages in that mailbox.
137 | public static let size = Self(unchecked: "SIZE")
| |- warning: static property 'size' is not concurrency-safe because non-'Sendable' type 'Capability.StatusKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'size' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 | /// The raw string value of the capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:157:27: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Capability.UTF8Kind' may have shared mutable state; this is an error in the Swift 6 language mode
152 |
153 | /// Wraps *UTF8=* extensions
154 | public struct UTF8Kind: Hashable {
| `- note: consider making struct 'UTF8Kind' conform to the 'Sendable' protocol
155 | /// Enabling this extension will tell the server that the client accepts
156 | /// UTF8-encoded strings.
157 | public static let accept = Self(unchecked: "ACCEPT")
| |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'Capability.UTF8Kind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'accept' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 |
159 | /// The raw string value of the capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:178:27: warning: static property 'tekx' is not concurrency-safe because non-'Sendable' type 'Capability.RightsKind' may have shared mutable state; this is an error in the Swift 6 language mode
173 | /// Wraps *RIGHTS=* extensions. For more information on what each
174 | /// letter means see RFC 4314 section 4.
175 | public struct RightsKind: Hashable {
| `- note: consider making struct 'RightsKind' conform to the 'Sendable' protocol
176 | /// Allowed operations in auth state: *DELETE*, *APPEND*, *CREATE*, *RENAME*,
177 | /// Allowed operations in selected state: *COPY*, *STORE flags*, *EXPUNGE* (required)
178 | public static let tekx = Self(unchecked: "TEKX")
| |- warning: static property 'tekx' is not concurrency-safe because non-'Sendable' type 'Capability.RightsKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tekx' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// The raw string value of the capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:197:27: warning: static property 'deflate' is not concurrency-safe because non-'Sendable' type 'Capability.CompressionKind' may have shared mutable state; this is an error in the Swift 6 language mode
193 |
194 | /// The type of compression used in IMAP responses.
195 | public struct CompressionKind: Hashable {
| `- note: consider making struct 'CompressionKind' conform to the 'Sendable' protocol
196 | /// The `DEFLATE` algorithm is used. RFC 4978
197 | public static let deflate = Self(unchecked: "DEFLATE")
| |- warning: static property 'deflate' is not concurrency-safe because non-'Sendable' type 'Capability.CompressionKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deflate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// The raw string value of the capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:214:23: warning: static property 'acl' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
212 |
213 | /// Permits access control lists to be retrieved and manipulated - RFC 2086.
214 | public static let acl = Self(unchecked: "ACL")
| |- warning: static property 'acl' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | /// Enables clients and server to maintain metadata for messages or individual message parts - RFC 5257.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:217:23: warning: static property 'annotateExperiment1' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
215 |
216 | /// Enables clients and server to maintain metadata for messages or individual message parts - RFC 5257.
217 | public static let annotateExperiment1 = Self(unchecked: "ANNOTATE-EXPERIMENT-1")
| |- warning: static property 'annotateExperiment1' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'annotateExperiment1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 | /// The server supports sending binary message data - RFC 3516
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:220:23: warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
218 |
219 | /// The server supports sending binary message data - RFC 3516
220 | public static let binary = Self(unchecked: "BINARY")
| |- warning: static property 'binary' is not concurrency-safe because non-'Sendable' type 'Capability' 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
221 |
222 | /// Allows clients to create messages containing a combination of new and existing data/messages - RFC 5550.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:223:23: warning: static property 'catenate' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
221 |
222 | /// Allows clients to create messages containing a combination of new and existing data/messages - RFC 5550.
223 | public static let catenate = Self(unchecked: "CATENATE")
| |- warning: static property 'catenate' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'catenate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |
225 | /// Provides a mechanism for a client to efficiently determine if a particular mailbox has children - RFC 3348.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:226:23: warning: static property 'children' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
224 |
225 | /// Provides a mechanism for a client to efficiently determine if a particular mailbox has children - RFC 3348.
226 | public static let children = Self(unchecked: "CHILDREN")
| |- warning: static property 'children' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'children' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |
228 | /// Provides a protected update mechanism to fully resynchronise a mailbox as part of a `.select` or `.examine` command - RFC 7162.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:229:23: warning: static property 'condStore' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
227 |
228 | /// Provides a protected update mechanism to fully resynchronise a mailbox as part of a `.select` or `.examine` command - RFC 7162.
229 | public static let condStore = Self(unchecked: "CONDSTORE")
| |- warning: static property 'condStore' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'condStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 | /// Allows clients to designate mailboxes as being for a dedicated purpose, e.g. the "sent" mailbox - RFC 6154.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:232:23: warning: static property 'createSpecialUse' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
230 |
231 | /// Allows clients to designate mailboxes as being for a dedicated purpose, e.g. the "sent" mailbox - RFC 6154.
232 | public static let createSpecialUse = Self(unchecked: "CREATE-SPECIAL-USE")
| |- warning: static property 'createSpecialUse' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createSpecialUse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 |
234 | /// Allows clients to tell servers which capabilities they support and should be used - RFC 5161.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:235:23: warning: static property 'enable' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
233 |
234 | /// Allows clients to tell servers which capabilities they support and should be used - RFC 5161.
235 | public static let enable = Self(unchecked: "ENABLE")
| |- warning: static property 'enable' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'enable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
237 | /// Extends normal search to control what type of data is returned - RFC 4731.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:238:23: warning: static property 'extendedSearch' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
236 |
237 | /// Extends normal search to control what type of data is returned - RFC 4731.
238 | public static let extendedSearch = Self(unchecked: "ESEARCH")
| |- warning: static property 'extendedSearch' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'extendedSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// Allows search responses to be sorted according to e.g. *MIN*, *MAX*, etc - RFC 5465.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:241:23: warning: static property 'esort' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
239 |
240 | /// Allows search responses to be sorted according to e.g. *MIN*, *MAX*, etc - RFC 5465.
241 | public static let esort = Self(unchecked: "ESORT")
| |- warning: static property 'esort' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'esort' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | /// Allows searches to be persistently stored on the server - RFC 5466.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:244:23: warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
242 |
243 | /// Allows searches to be persistently stored on the server - RFC 5466.
244 | public static let filters = Self(unchecked: "FILTERS")
| |- warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'filters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
245 |
246 | /// Allows the server and client to exchange implementation identifier information - RFC 2971.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:247:23: warning: static property 'id' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
245 |
246 | /// Allows the server and client to exchange implementation identifier information - RFC 2971.
247 | public static let id = Self(unchecked: "ID")
| |- warning: static property 'id' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'id' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
248 |
249 | /// The server can be put into an IDLE state without terminating the connection - RFC 2177
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:250:23: warning: static property 'idle' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
248 |
249 | /// The server can be put into an IDLE state without terminating the connection - RFC 2177
250 | public static let idle = Self(unchecked: "IDLE")
| |- warning: static property 'idle' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'idle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
251 |
252 | /// The specific rev1 revision of IMAP 4 - RFC 3501.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:253:23: warning: static property 'imap4rev1' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
251 |
252 | /// The specific rev1 revision of IMAP 4 - RFC 3501.
253 | public static let imap4rev1 = Self(unchecked: "IMAP4rev1")
| |- warning: static property 'imap4rev1' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imap4rev1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | /// Default IMAP CAPABILITY - every server should advertise this.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:256:23: warning: static property 'imap4' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
254 |
255 | /// Default IMAP CAPABILITY - every server should advertise this.
256 | public static let imap4 = Self(unchecked: "IMAP4")
| |- warning: static property 'imap4' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imap4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
257 |
258 | /// Allows the client and server to decide which language the server should use when sending human-readable text - RFC 5255.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:259:23: warning: static property 'language' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
257 |
258 | /// Allows the client and server to decide which language the server should use when sending human-readable text - RFC 5255.
259 | public static let language = Self(unchecked: "LANGUAGE")
| |- warning: static property 'language' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'language' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
260 |
261 | /// Allows a `.list` command to also respond status information for each mailbox - RFC 5819.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:262:23: warning: static property 'listStatus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
260 |
261 | /// Allows a `.list` command to also respond status information for each mailbox - RFC 5819.
262 | public static let listStatus = Self(unchecked: "LIST-STATUS")
| |- warning: static property 'listStatus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'listStatus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 |
264 | /// Provides an interface for additional `.list` command options to prevent an exponential API increase - RFC 5258.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:265:23: warning: static property 'listExtended' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
263 |
264 | /// Provides an interface for additional `.list` command options to prevent an exponential API increase - RFC 5258.
265 | public static let listExtended = Self(unchecked: "LIST-EXTENDED")
| |- warning: static property 'listExtended' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'listExtended' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
266 |
267 | /// Clients must not send a `.login` command if this capability is advertised - RFC 3501.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:268:23: warning: static property 'loginDisabled' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
266 |
267 | /// Clients must not send a `.login` command if this capability is advertised - RFC 3501.
268 | public static let loginDisabled = Self(unchecked: "LOGINDISABLED")
| |- warning: static property 'loginDisabled' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loginDisabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 |
270 | /// Allow clients to transparently connect to an alternate IMAP4 server, if their home IMAP4 server has changed - RFC 2221.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:271:23: warning: static property 'loginReferrals' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
269 |
270 | /// Allow clients to transparently connect to an alternate IMAP4 server, if their home IMAP4 server has changed - RFC 2221.
271 | public static let loginReferrals = Self(unchecked: "LOGIN-REFERRALS")
| |- warning: static property 'loginReferrals' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'loginReferrals' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
272 |
273 | /// Permits clients and servers to maintain "annotations" or "metadata" on IMAP servers - RFC 5464.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:274:23: warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
272 |
273 | /// Permits clients and servers to maintain "annotations" or "metadata" on IMAP servers - RFC 5464.
274 | public static let metadata = Self(unchecked: "METADATA")
| |- warning: static property 'metadata' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'metadata' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
275 |
276 | /// Permits clients and servers to maintain "annotations" or "metadata" on IMAP servers.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:279:23: warning: static property 'metadataServer' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
277 | /// A server that supports only server annotations indicates the presence of this extension
278 | /// by returning "METADATA-SERVER" - RFC 5464.
279 | public static let metadataServer = Self(unchecked: "METADATA-SERVER")
| |- warning: static property 'metadataServer' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'metadataServer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | /// The server supports moving messages from one mailbox to another - RFC 6851.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:282:23: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
280 |
281 | /// The server supports moving messages from one mailbox to another - RFC 6851.
282 | public static let move = Self(unchecked: "MOVE")
| |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'move' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 |
284 | /// Allows a client to search multiple mailboxes with one command - RFC 7377.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:285:23: warning: static property 'multiSearch' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
283 |
284 | /// Allows a client to search multiple mailboxes with one command - RFC 7377.
285 | public static let multiSearch = Self(unchecked: "MULTISEARCH")
| |- warning: static property 'multiSearch' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multiSearch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
286 |
287 | /// Enables managing mailbox namespaces to provide support for shared mailboxes - RFC 4466.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:288:23: warning: static property 'namespace' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
286 |
287 | /// Enables managing mailbox namespaces to provide support for shared mailboxes - RFC 4466.
288 | public static let namespace = Self(unchecked: "NAMESPACE")
| |- warning: static property 'namespace' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namespace' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |
290 | /// Each mailbox that supports persistent storage of mod-sequences, i.e., for which the server would
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:296:23: warning: static property 'qresync' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
294 | /// MOVE [RFC6851]; the server MUST associate the incremented mod-
295 | /// sequence with the UIDs of the expunged messages - RFC 4466.
296 | public static let qresync = Self(unchecked: "QRESYNC")
| |- warning: static property 'qresync' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'qresync' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | /// The server supports administrative limits on resource usage - RFC 2087.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:299:23: warning: static property 'quota' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
297 |
298 | /// The server supports administrative limits on resource usage - RFC 2087.
299 | public static let quota = Self(unchecked: "QUOTA")
| |- warning: static property 'quota' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quota' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 |
301 | /// Allows an initial client response argument to the IMAP AUTHENTICATE command - RFC 4959.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:302:23: warning: static property 'saslIR' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
300 |
301 | /// Allows an initial client response argument to the IMAP AUTHENTICATE command - RFC 4959.
302 | public static let saslIR = Self(unchecked: "SASL-IR")
| |- warning: static property 'saslIR' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'saslIR' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
303 |
304 | /// Allows a client to tell a server to use the result of a SEARCH (or Unique Identifier (UID)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:306:23: warning: static property 'searchRes' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
304 | /// Allows a client to tell a server to use the result of a SEARCH (or Unique Identifier (UID)
305 | /// SEARCH) command as an input to any subsequent command - RFC 5182.
306 | public static let searchRes = Self(unchecked: "SEARCHRES")
| |- warning: static property 'searchRes' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'searchRes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
307 |
308 | /// Adds new optional mailbox attributes that a server may include in IMAP LIST
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:311:23: warning: static property 'specialUse' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
309 | /// command responses to identify special-use mailboxes to the client,
310 | /// easing configuration - RFC 6154.
311 | public static let specialUse = Self(unchecked: "SPECIAL-USE")
| |- warning: static property 'specialUse' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'specialUse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
312 |
313 | /// Part of the core IMAP4rev1 specification, enables upgrading plaintext connections to TLS - RFC 3501.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:314:23: warning: static property 'startTLS' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
312 |
313 | /// Part of the core IMAP4rev1 specification, enables upgrading plaintext connections to TLS - RFC 3501.
314 | public static let startTLS = Self(unchecked: "STARTTLS")
| |- warning: static property 'startTLS' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'startTLS' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
315 |
316 | /// Provides a set of features intended to reduce the amount of time and
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:318:23: warning: static property 'uidPlus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
316 | /// Provides a set of features intended to reduce the amount of time and
317 | /// resources used by some client operations - RFC 4315.
318 | public static let uidPlus = Self(unchecked: "UIDPLUS")
| |- warning: static property 'uidPlus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uidPlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 |
320 | /// Allows closing the current mailbox without expunging it - RFC 3691.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:321:23: warning: static property 'unselect' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
319 |
320 | /// Allows closing the current mailbox without expunging it - RFC 3691.
321 | public static let unselect = Self(unchecked: "UNSELECT")
| |- warning: static property 'unselect' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unselect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | /// If an IMAP server supports PARTIAL in IMAP URL used in CATENATE and
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:326:23: warning: static property 'partialURL' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
324 | /// URLAUTH extensions, then it MUST advertise the URL-PARTIAL capability
325 | /// in both the CAPABILITY response and the equivalent response-code - RFC 5550.
326 | public static let partialURL = Self(unchecked: "URL-PARTIAL")
| |- warning: static property 'partialURL' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'partialURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
327 |
328 | /// Provides a means by which an IMAP client can use URLs carrying authorization
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:330:23: warning: static property 'authenticatedURL' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
328 | /// Provides a means by which an IMAP client can use URLs carrying authorization
329 | /// to access limited message data on the IMAP server - RFC 4467.
330 | public static let authenticatedURL = Self(unchecked: "URLAUTH")
| |- warning: static property 'authenticatedURL' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authenticatedURL' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 |
332 | /// Provides additional mechanisms to `.search` such as *OLDER*, *YOUNGER* to reduce
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:334:23: warning: static property 'within' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
332 | /// Provides additional mechanisms to `.search` such as *OLDER*, *YOUNGER* to reduce
333 | /// network traffic and the computation required by clients.
334 | public static let within = Self(unchecked: "WITHIN")
| |- warning: static property 'within' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'within' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
335 |
336 | /// Enables GMail-specific features.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:338:23: warning: static property 'gmailExtensions' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
336 | /// Enables GMail-specific features.
337 | /// https://developers.google.com/gmail/imap/imap-extensions
338 | public static let gmailExtensions = Self(unchecked: "X-GM-EXT-1")
| |- warning: static property 'gmailExtensions' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gmailExtensions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
339 |
340 | /// The server supports non-synchronising literals - RFC 7888.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:341:23: warning: static property 'literalPlus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
339 |
340 | /// The server supports non-synchronising literals - RFC 7888.
341 | public static let literalPlus = Self(unchecked: "LITERAL+")
| |- warning: static property 'literalPlus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'literalPlus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
342 |
343 | /// RFC 7888 LITERAL-
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Capability.swift:344:23: warning: static property 'literalMinus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// server does not explicitly advertise a capability then the client should not assume the functionality
19 | /// is present.
20 | public struct Capability: Hashable {
| `- note: consider making struct 'Capability' conform to the 'Sendable' protocol
21 | /// The raw string value of the capability.
22 | var rawValue: String
:
342 |
343 | /// RFC 7888 LITERAL-
344 | public static let literalMinus = Self(unchecked: "LITERAL-")
| |- warning: static property 'literalMinus' is not concurrency-safe because non-'Sendable' type 'Capability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'literalMinus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
345 |
346 | /// Creates a new *AUTH* capability.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Entry/EntryKindRequest.swift:22:23: warning: static property 'private' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// Search private metadata items.
22 | public static var `private` = Self(backing: "priv")
| |- warning: static property 'private' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'private' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'private' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// Search shared metadata items.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Entry/EntryKindRequest.swift:25:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Search shared metadata items.
25 | public static var shared = Self(backing: "shared")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// The server should use the largest value among `.private` and `.shared` mod-sequences
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Entry/EntryKindRequest.swift:29:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | /// The server should use the largest value among `.private` and `.shared` mod-sequences
28 | /// for the metadata item.
29 | public static var all = Self(backing: "all")
| |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'all' with '@MainActor' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Entry/EntryTypeResponse.swift:22:23: warning: static property 'private' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | /// `priv` - Private metadata item type.
22 | public static var `private` = Self(backing: "priv")
| |- warning: static property 'private' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'private' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'private' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | /// `shared` - Shared metadata item type.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Entry/EntryTypeResponse.swift:25:23: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// `shared` - Shared metadata item type.
25 | public static var shared = Self(backing: "shared")
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/FetchAttribute.swift:75:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FetchAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Attributes of a message that can be retrieved as part of a `.fetch` command.
18 | public enum FetchAttribute: Hashable {
| `- note: consider making enum 'FetchAttribute' conform to the 'Sendable' protocol
19 | /// The message's envelope including the sender(s), bcc list, cc list, etc.
20 | case envelope
:
73 | extension Array where Element == FetchAttribute {
74 | /// Macro equivalent to `[.flags, .internalDate, .rfc822Size, envelope]`
75 | public static let all: [Element] = [.flags, .internalDate, .rfc822Size, .envelope]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FetchAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Macro equivalent to `[.flags, .internalDate, .rfc822Size]`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/FetchAttribute.swift:78:23: warning: static property 'fast' is not concurrency-safe because non-'Sendable' type '[FetchAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Attributes of a message that can be retrieved as part of a `.fetch` command.
18 | public enum FetchAttribute: Hashable {
| `- note: consider making enum 'FetchAttribute' conform to the 'Sendable' protocol
19 | /// The message's envelope including the sender(s), bcc list, cc list, etc.
20 | case envelope
:
76 |
77 | /// Macro equivalent to `[.flags, .internalDate, .rfc822Size]`
78 | public static let fast: [Element] = [.flags, .internalDate, .rfc822Size]
| |- warning: static property 'fast' is not concurrency-safe because non-'Sendable' type '[FetchAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fast' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Macro equivalent to `[.flags, .internalDate, .rfc822Size, envelope, body]`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/FetchAttribute.swift:81:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type '[FetchAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// Attributes of a message that can be retrieved as part of a `.fetch` command.
18 | public enum FetchAttribute: Hashable {
| `- note: consider making enum 'FetchAttribute' conform to the 'Sendable' protocol
19 | /// The message's envelope including the sender(s), bcc list, cc list, etc.
20 | case envelope
:
79 |
80 | /// Macro equivalent to `[.flags, .internalDate, .rfc822Size, envelope, body]`
81 | public static let full: [Element] = [.flags, .internalDate, .rfc822Size, .envelope, .bodyStructure(extensions: false)]
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type '[FetchAttribute]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'full' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/Flag.swift:62:23: warning: static property 'answered' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// As such e.g. `.extension("\\FOOBAR") == .extension("\\FooBar")`, but
21 | /// it will round-trip preserving its case.
22 | public struct Flag: Hashable {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
23 | /// The raw case-sensitive `String` value.
24 | internal let stringValue: String
:
60 | extension Flag {
61 | /// `\\Answered` - The message has been replied to.
62 | public static let answered = Self("\\Answered")
| |- warning: static property 'answered' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'answered' with '@MainActor' 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 | /// `\\Flagged` - The message has been marked by the user, typically as a reminder
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/Flag.swift:66:23: warning: static property 'flagged' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// As such e.g. `.extension("\\FOOBAR") == .extension("\\FooBar")`, but
21 | /// it will round-trip preserving its case.
22 | public struct Flag: Hashable {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
23 | /// The raw case-sensitive `String` value.
24 | internal let stringValue: String
:
64 | /// `\\Flagged` - The message has been marked by the user, typically as a reminder
65 | /// that some action is required.
66 | public static let flagged = Self("\\Flagged")
| |- warning: static property 'flagged' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flagged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// `\\Deleted` - The message has been deleted and should no
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/Flag.swift:71:23: warning: static property 'deleted' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// As such e.g. `.extension("\\FOOBAR") == .extension("\\FooBar")`, but
21 | /// it will round-trip preserving its case.
22 | public struct Flag: Hashable {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
23 | /// The raw case-sensitive `String` value.
24 | internal let stringValue: String
:
69 | /// longer be shown to the user, unless they specifically request to
70 | /// view deleted messages.
71 | public static let deleted = Self("\\Deleted")
| |- warning: static property 'deleted' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'deleted' with '@MainActor' 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 | /// `\\Seen` - The message has been read by the user
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/Flag.swift:74:23: warning: static property 'seen' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// As such e.g. `.extension("\\FOOBAR") == .extension("\\FooBar")`, but
21 | /// it will round-trip preserving its case.
22 | public struct Flag: Hashable {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
23 | /// The raw case-sensitive `String` value.
24 | internal let stringValue: String
:
72 |
73 | /// `\\Seen` - The message has been read by the user
74 | public static let seen = Self("\\Seen")
| |- warning: static property 'seen' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seen' with '@MainActor' 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 | /// `\\Draft` - The message is not yet complete
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/Flag.swift:77:23: warning: static property 'draft' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
20 | /// As such e.g. `.extension("\\FOOBAR") == .extension("\\FooBar")`, but
21 | /// it will round-trip preserving its case.
22 | public struct Flag: Hashable {
| `- note: consider making struct 'Flag' conform to the 'Sendable' protocol
23 | /// The raw case-sensitive `String` value.
24 | internal let stringValue: String
:
75 |
76 | /// `\\Draft` - The message is not yet complete
77 | public static let draft = Self("\\Draft")
| |- warning: static property 'draft' is not concurrency-safe because non-'Sendable' type 'Flag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'draft' with '@MainActor' 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 | /// Convenience function to create a new flag from a `Keyword`.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:63:23: warning: static property 'forwarded' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
61 | extension Flag.Keyword {
62 | /// `$Forwarded`
63 | public static let forwarded = Self(unchecked: "$Forwarded")
| |- warning: static property 'forwarded' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwarded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// `$Junk`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:66:23: warning: static property 'junk' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
64 |
65 | /// `$Junk`
66 | public static let junk = Self(unchecked: "$Junk")
| |- warning: static property 'junk' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'junk' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | /// `$NotJunk`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:69:23: warning: static property 'notJunk' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
67 |
68 | /// `$NotJunk`
69 | public static let notJunk = Self(unchecked: "$NotJunk")
| |- warning: static property 'notJunk' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'notJunk' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// `Redirected`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:72:23: warning: static property 'unregistered_redirected' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
70 |
71 | /// `Redirected`
72 | public static let unregistered_redirected = Self(unchecked: "Redirected")
| |- warning: static property 'unregistered_redirected' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unregistered_redirected' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// `Forwarded`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:75:23: warning: static property 'unregistered_forwarded' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
73 |
74 | /// `Forwarded`
75 | public static let unregistered_forwarded = Self(unchecked: "Forwarded")
| |- warning: static property 'unregistered_forwarded' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unregistered_forwarded' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// `Junk`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:78:23: warning: static property 'unregistered_junk' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
76 |
77 | /// `Junk`
78 | public static let unregistered_junk = Self(unchecked: "Junk")
| |- warning: static property 'unregistered_junk' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unregistered_junk' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// `NotJunk`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:81:23: warning: static property 'unregistered_notJunk' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
79 |
80 | /// `NotJunk`
81 | public static let unregistered_notJunk = Self(unchecked: "NotJunk")
| |- warning: static property 'unregistered_notJunk' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unregistered_notJunk' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// `$MailFlagBit0`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:84:23: warning: static property 'colorBit0' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
82 |
83 | /// `$MailFlagBit0`
84 | public static let colorBit0 = Self(unchecked: "$MailFlagBit0")
| |- warning: static property 'colorBit0' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'colorBit0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// `$MailFlagBit1`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:87:23: warning: static property 'colorBit1' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
85 |
86 | /// `$MailFlagBit1`
87 | public static let colorBit1 = Self(unchecked: "$MailFlagBit1")
| |- warning: static property 'colorBit1' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'colorBit1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// `$MailFlagBit2`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:90:23: warning: static property 'colorBit2' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
88 |
89 | /// `$MailFlagBit2`
90 | public static let colorBit2 = Self(unchecked: "$MailFlagBit2")
| |- warning: static property 'colorBit2' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'colorBit2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// `$MDNSent`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Flag/FlagKeyword.swift:93:23: warning: static property 'mdnSent' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// As such e.g. `Flag.Keyword("$Forwarded") == Flag.Keyword("$forwarded")`, but
22 | /// it will round-trip preserving its case.
23 | public struct Keyword: Hashable {
| `- note: consider making struct 'Keyword' conform to the 'Sendable' protocol
24 | /// Performs a case-insensitive equality comparison.
25 | /// - parameter lhs: The first flag to compare.
:
91 |
92 | /// `$MDNSent`
93 | public static let mdnSent = Self(unchecked: "$MDNSent")
| |- warning: static property 'mdnSent' is not concurrency-safe because non-'Sendable' type 'Flag.Keyword' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mdnSent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/InitialResponse.swift:21:23: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public struct InitialResponse: Hashable {
20 | /// Creates a new empty `InitialResponse` that will be encoded as `=`.
21 | public static var empty: Self = .init(ByteBuffer())
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// The data to be base-64 encoded.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Mailbox/MailboxName.swift:188:23: warning: static property 'inbox' is not concurrency-safe because non-'Sendable' type 'MailboxName' may have shared mutable state; this is an error in the Swift 6 language mode
184 | /// `MailboxName` for equality, `MailboxName` will pre-calculate its hash value, and
185 | /// store it. As a result `Hashable` (and `Equatable`) performance is very fast.
186 | public struct MailboxName {
| `- note: consider making struct 'MailboxName' conform to the 'Sendable' protocol
187 | /// Represents an inbox.
188 | public static let inbox = Self(ByteBuffer(string: "INBOX"))
| |- warning: static property 'inbox' is not concurrency-safe because non-'Sendable' type 'MailboxName' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inbox' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// The raw bytes, readable as `[UInt8]`
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Media/Basic.swift:21:27: warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Media {
18 | /// Represents a simple but common data type such as *application* or *image*
19 | public struct BasicKind: CustomDebugStringConvertible, Hashable {
| `- note: consider making struct 'BasicKind' conform to the 'Sendable' protocol
20 | /// IMAP4rev1 application
21 | public static let application = Self("application")
| |- warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'application' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// IMAP4rev1 audio
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Media/Basic.swift:24:27: warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Media {
18 | /// Represents a simple but common data type such as *application* or *image*
19 | public struct BasicKind: CustomDebugStringConvertible, Hashable {
| `- note: consider making struct 'BasicKind' conform to the 'Sendable' protocol
20 | /// IMAP4rev1 application
21 | public static let application = Self("application")
22 |
23 | /// IMAP4rev1 audio
24 | public static let audio = Self("audio")
| |- warning: static property 'audio' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'audio' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// IMAP4rev1 image
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Media/Basic.swift:27:27: warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Media {
18 | /// Represents a simple but common data type such as *application* or *image*
19 | public struct BasicKind: CustomDebugStringConvertible, Hashable {
| `- note: consider making struct 'BasicKind' conform to the 'Sendable' protocol
20 | /// IMAP4rev1 application
21 | public static let application = Self("application")
:
25 |
26 | /// IMAP4rev1 image
27 | public static let image = Self("image")
| |- warning: static property 'image' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'image' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// IMAP4rev1 message
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Media/Basic.swift:30:27: warning: static property 'message' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Media {
18 | /// Represents a simple but common data type such as *application* or *image*
19 | public struct BasicKind: CustomDebugStringConvertible, Hashable {
| `- note: consider making struct 'BasicKind' conform to the 'Sendable' protocol
20 | /// IMAP4rev1 application
21 | public static let application = Self("application")
:
28 |
29 | /// IMAP4rev1 message
30 | public static let message = Self("message")
| |- warning: static property 'message' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'message' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// IMAP4rev1 video
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Media/Basic.swift:33:27: warning: static property 'video' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Media {
18 | /// Represents a simple but common data type such as *application* or *image*
19 | public struct BasicKind: CustomDebugStringConvertible, Hashable {
| `- note: consider making struct 'BasicKind' conform to the 'Sendable' protocol
20 | /// IMAP4rev1 application
21 | public static let application = Self("application")
:
31 |
32 | /// IMAP4rev1 video
33 | public static let video = Self("video")
| |- warning: static property 'video' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'video' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// IMAP4rev1 font
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Media/Basic.swift:36:27: warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
17 | extension Media {
18 | /// Represents a simple but common data type such as *application* or *image*
19 | public struct BasicKind: CustomDebugStringConvertible, Hashable {
| `- note: consider making struct 'BasicKind' conform to the 'Sendable' protocol
20 | /// IMAP4rev1 application
21 | public static let application = Self("application")
:
34 |
35 | /// IMAP4rev1 font
36 | public static let font = Self("font")
| |- warning: static property 'font' is not concurrency-safe because non-'Sendable' type 'Media.BasicKind' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'font' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// The raw lowercased string representation of the type.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/ScopeOption.swift:18:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ScopeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Used an option to `.getMetadata` to specify the depth.
16 | public struct ScopeOption: Hashable {
| `- note: consider making struct 'ScopeOption' conform to the 'Sendable' protocol
17 | /// No entries below the specified entry are returned
18 | public static let zero = Self(_backing: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'ScopeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Only entries immediately below the specified entry are returned
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/ScopeOption.swift:21:23: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'ScopeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Used an option to `.getMetadata` to specify the depth.
16 | public struct ScopeOption: Hashable {
| `- note: consider making struct 'ScopeOption' conform to the 'Sendable' protocol
17 | /// No entries below the specified entry are returned
18 | public static let zero = Self(_backing: .zero)
19 |
20 | /// Only entries immediately below the specified entry are returned
21 | public static let one = Self(_backing: .one)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'ScopeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// All entries below the specified entry are returned
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/ScopeOption.swift:24:23: warning: static property 'infinity' is not concurrency-safe because non-'Sendable' type 'ScopeOption' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Used an option to `.getMetadata` to specify the depth.
16 | public struct ScopeOption: Hashable {
| `- note: consider making struct 'ScopeOption' conform to the 'Sendable' protocol
17 | /// No entries below the specified entry are returned
18 | public static let zero = Self(_backing: .zero)
:
22 |
23 | /// All entries below the specified entry are returned
24 | public static let infinity = Self(_backing: .infinity)
| |- warning: static property 'infinity' is not concurrency-safe because non-'Sendable' type 'ScopeOption' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | enum _Backing: String {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/SectionSpec.swift:43:23: warning: static property 'complete' is not concurrency-safe because non-'Sendable' type 'SectionSpecifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Use `SectionSpecifier.complete` for an empty section specifier (i.e. the complete message).
22 | public struct SectionSpecifier: Hashable {
| `- note: consider making struct 'SectionSpecifier' conform to the 'Sendable' protocol
23 | /// The part of the body.
24 | public let part: Part
:
41 | extension SectionSpecifier {
42 | /// Corresponds to no specifier, i.e. the complete message (including its headers).
43 | public static let complete = SectionSpecifier(kind: .complete)
| |- warning: static property 'complete' is not concurrency-safe because non-'Sendable' type 'SectionSpecifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'complete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// `Header` -- RFC 2822 header of the message
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/SectionSpec.swift:46:23: warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'SectionSpecifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Use `SectionSpecifier.complete` for an empty section specifier (i.e. the complete message).
22 | public struct SectionSpecifier: Hashable {
| `- note: consider making struct 'SectionSpecifier' conform to the 'Sendable' protocol
23 | /// The part of the body.
24 | public let part: Part
:
44 |
45 | /// `Header` -- RFC 2822 header of the message
46 | public static let header = SectionSpecifier(kind: .header)
| |- warning: static property 'header' is not concurrency-safe because non-'Sendable' type 'SectionSpecifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'header' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// `TEXT` -- text body of the message, omitting the RFC 2822 header.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/SectionSpec.swift:49:23: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'SectionSpecifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Use `SectionSpecifier.complete` for an empty section specifier (i.e. the complete message).
22 | public struct SectionSpecifier: Hashable {
| `- note: consider making struct 'SectionSpecifier' conform to the 'Sendable' protocol
23 | /// The part of the body.
24 | public let part: Part
:
47 |
48 | /// `TEXT` -- text body of the message, omitting the RFC 2822 header.
49 | public static let text = SectionSpecifier(kind: .text)
| |- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'SectionSpecifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// `HEADER.FIELDS` -- a subset of the RFC 2822 header of the message
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/URLAuthenticationMechanism.swift:18:23: warning: static property 'internal' is not concurrency-safe because non-'Sendable' type 'URLAuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// The name of the algorithm used to generate and verify a URLAUTH.
16 | public struct URLAuthenticationMechanism: Hashable {
| `- note: consider making struct 'URLAuthenticationMechanism' conform to the 'Sendable' protocol
17 | /// Uses a token generation algorithm of the server's choosing
18 | public static let `internal` = Self("INTERNAL")
| |- warning: static property 'internal' is not concurrency-safe because non-'Sendable' type 'URLAuthenticationMechanism' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'internal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// The raw name of the generation algorithm.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/UseAttribute.swift:23:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The raw `String` value is lower-cased on initialisation to ensure
20 | /// case-insensitive comparison.
21 | public struct UseAttribute: Hashable {
| `- note: consider making struct 'UseAttribute' conform to the 'Sendable' protocol
22 | /// A mailbox that presents all messages in the user's store.
23 | public static let all = Self("\\All")
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' 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 | /// Used to archive messages - note that the meaning of "archived" will vary from server to server.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/UseAttribute.swift:26:23: warning: static property 'archive' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The raw `String` value is lower-cased on initialisation to ensure
20 | /// case-insensitive comparison.
21 | public struct UseAttribute: Hashable {
| `- note: consider making struct 'UseAttribute' conform to the 'Sendable' protocol
22 | /// A mailbox that presents all messages in the user's store.
23 | public static let all = Self("\\All")
24 |
25 | /// Used to archive messages - note that the meaning of "archived" will vary from server to server.
26 | public static let archive = Self("\\Archive")
| |- warning: static property 'archive' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'archive' with '@MainActor' 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 | /// Used to store draft messages that have not been sent.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/UseAttribute.swift:29:23: warning: static property 'drafts' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The raw `String` value is lower-cased on initialisation to ensure
20 | /// case-insensitive comparison.
21 | public struct UseAttribute: Hashable {
| `- note: consider making struct 'UseAttribute' conform to the 'Sendable' protocol
22 | /// A mailbox that presents all messages in the user's store.
23 | public static let all = Self("\\All")
:
27 |
28 | /// Used to store draft messages that have not been sent.
29 | public static let drafts = Self("\\Drafts")
| |- warning: static property 'drafts' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'drafts' with '@MainActor' 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 | /// Stores messages that have been marked as "important" for some reason.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/UseAttribute.swift:32:23: warning: static property 'flagged' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The raw `String` value is lower-cased on initialisation to ensure
20 | /// case-insensitive comparison.
21 | public struct UseAttribute: Hashable {
| `- note: consider making struct 'UseAttribute' conform to the 'Sendable' protocol
22 | /// A mailbox that presents all messages in the user's store.
23 | public static let all = Self("\\All")
:
30 |
31 | /// Stores messages that have been marked as "important" for some reason.
32 | public static let flagged = Self("\\Flagged")
| |- warning: static property 'flagged' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flagged' with '@MainActor' 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 | /// Stores messages deemed to be spam of junk mail, e.g. from a mailing list.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/UseAttribute.swift:35:23: warning: static property 'junk' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The raw `String` value is lower-cased on initialisation to ensure
20 | /// case-insensitive comparison.
21 | public struct UseAttribute: Hashable {
| `- note: consider making struct 'UseAttribute' conform to the 'Sendable' protocol
22 | /// A mailbox that presents all messages in the user's store.
23 | public static let all = Self("\\All")
:
33 |
34 | /// Stores messages deemed to be spam of junk mail, e.g. from a mailing list.
35 | public static let junk = Self("\\Junk")
| |- warning: static property 'junk' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'junk' with '@MainActor' 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 | /// Holds copies of messages that have been sent.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/UseAttribute.swift:38:23: warning: static property 'sent' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The raw `String` value is lower-cased on initialisation to ensure
20 | /// case-insensitive comparison.
21 | public struct UseAttribute: Hashable {
| `- note: consider making struct 'UseAttribute' conform to the 'Sendable' protocol
22 | /// A mailbox that presents all messages in the user's store.
23 | public static let all = Self("\\All")
:
36 |
37 | /// Holds copies of messages that have been sent.
38 | public static let sent = Self("\\Sent")
| |- warning: static property 'sent' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sent' with '@MainActor' 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 | /// Holds messages that have been deleted or marked for deletion.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/UseAttribute.swift:41:23: warning: static property 'trash' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// The raw `String` value is lower-cased on initialisation to ensure
20 | /// case-insensitive comparison.
21 | public struct UseAttribute: Hashable {
| `- note: consider making struct 'UseAttribute' conform to the 'Sendable' protocol
22 | /// A mailbox that presents all messages in the user's store.
23 | public static let all = Self("\\All")
:
39 |
40 | /// Holds messages that have been deleted or marked for deletion.
41 | public static let trash = Self("\\Trash")
| |- warning: static property 'trash' is not concurrency-safe because non-'Sendable' type 'UseAttribute' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trash' with '@MainActor' 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 | internal let stringValue: String
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Parser/Grammar/GrammarParser.swift:29:16: warning: static property 'defaultParsedStringCache' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
27 |
28 | struct GrammarParser {
29 | static let defaultParsedStringCache: (String) -> String = { str in
| |- warning: static property 'defaultParsedStringCache' is not concurrency-safe because non-'Sendable' type '(String) -> String' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultParsedStringCache' with '@MainActor' 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 | str
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Pipelining.swift:59:23: warning: static property 'noFlagChangesToAnyMessage' is not concurrency-safe because non-'Sendable' type 'PipeliningRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// to run in parallel. It’s ok for this logic not to be perfect as long as it errs on the
38 | /// side of caution.
39 | public enum PipeliningRequirement: Hashable {
| `- note: consider making enum 'PipeliningRequirement' conform to the 'Sendable' protocol
40 | /// No command that depend on the _Selected State_ must be running.
41 | case noMailboxCommandsRunning
:
57 | extension PipeliningRequirement {
58 | /// No flags are being changed.
59 | public static let noFlagChangesToAnyMessage = PipeliningRequirement.noFlagChanges(.all)
| |- warning: static property 'noFlagChangesToAnyMessage' is not concurrency-safe because non-'Sendable' type 'PipeliningRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noFlagChangesToAnyMessage' with '@MainActor' 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 | /// No command is running that retrieves flags.
61 | public static let noFlagReadsFromAnyMessage = PipeliningRequirement.noFlagReads(.all)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Pipelining.swift:61:23: warning: static property 'noFlagReadsFromAnyMessage' is not concurrency-safe because non-'Sendable' type 'PipeliningRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// to run in parallel. It’s ok for this logic not to be perfect as long as it errs on the
38 | /// side of caution.
39 | public enum PipeliningRequirement: Hashable {
| `- note: consider making enum 'PipeliningRequirement' conform to the 'Sendable' protocol
40 | /// No command that depend on the _Selected State_ must be running.
41 | case noMailboxCommandsRunning
:
59 | public static let noFlagChangesToAnyMessage = PipeliningRequirement.noFlagChanges(.all)
60 | /// No command is running that retrieves flags.
61 | public static let noFlagReadsFromAnyMessage = PipeliningRequirement.noFlagReads(.all)
| |- warning: static property 'noFlagReadsFromAnyMessage' is not concurrency-safe because non-'Sendable' type 'PipeliningRequirement' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noFlagReadsFromAnyMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Pipelining.swift:100:23: warning: static property 'changesFlagsOnAnyMessage' is not concurrency-safe because non-'Sendable' type 'PipeliningBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
65 | ///
66 | /// See `PipeliningRequirement`.
67 | public enum PipeliningBehavior: Hashable {
| `- note: consider making enum 'PipeliningBehavior' conform to the 'Sendable' protocol
68 | /// This command changes the _mailbox selection_.
69 | case changesMailboxSelection
:
98 | extension PipeliningBehavior {
99 | /// This command is changing flags on messages.
100 | public static let changesFlagsOnAnyMessage = PipeliningBehavior.changesFlags(.all)
| |- warning: static property 'changesFlagsOnAnyMessage' is not concurrency-safe because non-'Sendable' type 'PipeliningBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'changesFlagsOnAnyMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | /// This command is querying flags
102 | public static let readsFlagsFromAnyMessage = PipeliningBehavior.readsFlags(.all)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Pipelining.swift:102:23: warning: static property 'readsFlagsFromAnyMessage' is not concurrency-safe because non-'Sendable' type 'PipeliningBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
65 | ///
66 | /// See `PipeliningRequirement`.
67 | public enum PipeliningBehavior: Hashable {
| `- note: consider making enum 'PipeliningBehavior' conform to the 'Sendable' protocol
68 | /// This command changes the _mailbox selection_.
69 | case changesMailboxSelection
:
100 | public static let changesFlagsOnAnyMessage = PipeliningBehavior.changesFlags(.all)
101 | /// This command is querying flags
102 | public static let readsFlagsFromAnyMessage = PipeliningBehavior.readsFlags(.all)
| |- warning: static property 'readsFlagsFromAnyMessage' is not concurrency-safe because non-'Sendable' type 'PipeliningBehavior' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'readsFlagsFromAnyMessage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | }
104 |
[1114/1137] Compiling NIOIMAP ResponseDecoder.swift
[1115/1138] Compiling NIOIMAP NIOIMAP.swift
[1116/1138] Compiling NIOIMAP CommandEncoder.swift
[1117/1138] Compiling NIOIMAP IMAPServerHandler.swift
[1118/1138] Compiling NIOIMAP CommandDecoder.swift
[1119/1138] Compiling NIOIMAP IMAPClientHandler.swift
[1120/1138] Compiling NIOIMAP FrameDecoder.swift
[1121/1138] Compiling NIOIMAP FramingParser.swift
[1122/1138] Compiling NIOIMAP ClientStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAP/Coders/ClientStateMachine.swift:47:16: warning: stored property 'command' of 'Sendable'-conforming struct 'InvalidCommandForState' has non-sendable type 'CommandStreamPart'; this is an error in the Swift 6 language mode
45 |
46 | public struct InvalidCommandForState: Error, Equatable {
47 | public var command: CommandStreamPart
| `- warning: stored property 'command' of 'Sendable'-conforming struct 'InvalidCommandForState' has non-sendable type 'CommandStreamPart'; this is an error in the Swift 6 language mode
48 |
49 | public init(_ command: CommandStreamPart) {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Command/CommandStreamPart.swift:98:13: note: enum 'CommandStreamPart' does not conform to the 'Sendable' protocol
96 | /// session started by a previous idle `TaggedCommand`, and `.append(AppendCommand)`
97 | /// which is used to manage the lifecycle of appending multiple messages sequentially.
98 | public enum CommandStreamPart: Hashable {
| `- note: enum 'CommandStreamPart' does not conform to the 'Sendable' protocol
99 | /// Signals that a previous `idle` command has finished, and more
100 | /// commands will now be sent.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAP/Coders/ClientStateMachine.swift:16:24: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOIMAPCore'
14 |
15 | import NIO
16 | @_spi(NIOIMAPInternal) import NIOIMAPCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOIMAPCore'
17 |
18 | public struct InvalidClientState: Error {
[1123/1138] Compiling NIOIMAP AppendStateMachine.swift
[1124/1138] Compiling NIOIMAP AuthenticationStateMachine.swift
[1125/1138] Emitting module NIOIMAP
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAP/Coders/ClientStateMachine.swift:47:16: warning: stored property 'command' of 'Sendable'-conforming struct 'InvalidCommandForState' has non-sendable type 'CommandStreamPart'; this is an error in the Swift 6 language mode
45 |
46 | public struct InvalidCommandForState: Error, Equatable {
47 | public var command: CommandStreamPart
| `- warning: stored property 'command' of 'Sendable'-conforming struct 'InvalidCommandForState' has non-sendable type 'CommandStreamPart'; this is an error in the Swift 6 language mode
48 |
49 | public init(_ command: CommandStreamPart) {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPCore/Grammar/Command/CommandStreamPart.swift:98:13: note: enum 'CommandStreamPart' does not conform to the 'Sendable' protocol
96 | /// session started by a previous idle `TaggedCommand`, and `.append(AppendCommand)`
97 | /// which is used to manage the lifecycle of appending multiple messages sequentially.
98 | public enum CommandStreamPart: Hashable {
| `- note: enum 'CommandStreamPart' does not conform to the 'Sendable' protocol
99 | /// Signals that a previous `idle` command has finished, and more
100 | /// commands will now be sent.
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAP/Coders/ClientStateMachine.swift:16:24: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOIMAPCore'
14 |
15 | import NIO
16 | @_spi(NIOIMAPInternal) import NIOIMAPCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOIMAPCore'
17 |
18 | public struct InvalidClientState: Error {
[1126/1138] Compiling NIOIMAP IdleStateMachine.swift
[1127/1153] Emitting module NIOIMAPFuzzer
[1128/1153] Compiling NIOIMAPFuzzer main.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPFuzzer/main.swift:21:5: error: main actor-isolated var 'buffer' can not be mutated from a nonisolated context
16 | import NIOIMAP
17 |
18 | var buffer = ByteBufferAllocator().buffer(capacity: 1000)
| `- note: mutation of this var is only permitted within the actor
19 |
20 | @_cdecl("LLVMFuzzerTestOneInput") public func fuzzMe(data: UnsafePointer<CChar>, size: CInt) -> CInt {
| `- note: add '@MainActor' to make global function 'fuzzMe(data:size:)' part of global actor 'MainActor'
21 | buffer.clear()
| `- error: main actor-isolated var 'buffer' can not be mutated from a nonisolated context
22 | buffer.writeBytes(UnsafeRawBufferPointer(start: UnsafeRawPointer(data), count: Int(size)))
23 | var parser = CommandParser()
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPFuzzer/main.swift:22:5: error: main actor-isolated var 'buffer' can not be mutated from a nonisolated context
16 | import NIOIMAP
17 |
18 | var buffer = ByteBufferAllocator().buffer(capacity: 1000)
| `- note: mutation of this var is only permitted within the actor
19 |
20 | @_cdecl("LLVMFuzzerTestOneInput") public func fuzzMe(data: UnsafePointer<CChar>, size: CInt) -> CInt {
| `- note: add '@MainActor' to make global function 'fuzzMe(data:size:)' part of global actor 'MainActor'
21 | buffer.clear()
22 | buffer.writeBytes(UnsafeRawBufferPointer(start: UnsafeRawPointer(data), count: Int(size)))
| `- error: main actor-isolated var 'buffer' can not be mutated from a nonisolated context
23 | var parser = CommandParser()
24 | do {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPFuzzer/main.swift:25:31: error: main actor-isolated var 'buffer' can not be referenced from a nonisolated context
16 | import NIOIMAP
17 |
18 | var buffer = ByteBufferAllocator().buffer(capacity: 1000)
| `- note: var declared here
19 |
20 | @_cdecl("LLVMFuzzerTestOneInput") public func fuzzMe(data: UnsafePointer<CChar>, size: CInt) -> CInt {
| `- note: add '@MainActor' to make global function 'fuzzMe(data:size:)' part of global actor 'MainActor'
21 | buffer.clear()
22 | buffer.writeBytes(UnsafeRawBufferPointer(start: UnsafeRawPointer(data), count: Int(size)))
23 | var parser = CommandParser()
24 | do {
25 | var oldBytesRemaing = buffer.readableBytes
| `- error: main actor-isolated var 'buffer' can not be referenced from a nonisolated context
26 | var newBytesRemaining = 0
27 | while newBytesRemaining < oldBytesRemaing {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPFuzzer/main.swift:28:31: error: main actor-isolated var 'buffer' can not be referenced from a nonisolated context
16 | import NIOIMAP
17 |
18 | var buffer = ByteBufferAllocator().buffer(capacity: 1000)
| `- note: var declared here
19 |
20 | @_cdecl("LLVMFuzzerTestOneInput") public func fuzzMe(data: UnsafePointer<CChar>, size: CInt) -> CInt {
| `- note: add '@MainActor' to make global function 'fuzzMe(data:size:)' part of global actor 'MainActor'
21 | buffer.clear()
22 | buffer.writeBytes(UnsafeRawBufferPointer(start: UnsafeRawPointer(data), count: Int(size)))
:
26 | var newBytesRemaining = 0
27 | while newBytesRemaining < oldBytesRemaing {
28 | oldBytesRemaing = buffer.readableBytes
| `- error: main actor-isolated var 'buffer' can not be referenced from a nonisolated context
29 | _ = try parser.parseCommandStream(buffer: &buffer)
30 | newBytesRemaining = buffer.readableBytes
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPFuzzer/main.swift:29:56: error: main actor-isolated var 'buffer' can not be used 'inout' from a nonisolated context
16 | import NIOIMAP
17 |
18 | var buffer = ByteBufferAllocator().buffer(capacity: 1000)
| `- note: mutation of this var is only permitted within the actor
19 |
20 | @_cdecl("LLVMFuzzerTestOneInput") public func fuzzMe(data: UnsafePointer<CChar>, size: CInt) -> CInt {
| `- note: add '@MainActor' to make global function 'fuzzMe(data:size:)' part of global actor 'MainActor'
21 | buffer.clear()
22 | buffer.writeBytes(UnsafeRawBufferPointer(start: UnsafeRawPointer(data), count: Int(size)))
:
27 | while newBytesRemaining < oldBytesRemaing {
28 | oldBytesRemaing = buffer.readableBytes
29 | _ = try parser.parseCommandStream(buffer: &buffer)
| `- error: main actor-isolated var 'buffer' can not be used 'inout' from a nonisolated context
30 | newBytesRemaining = buffer.readableBytes
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/NIOIMAPFuzzer/main.swift:30:33: error: main actor-isolated var 'buffer' can not be referenced from a nonisolated context
16 | import NIOIMAP
17 |
18 | var buffer = ByteBufferAllocator().buffer(capacity: 1000)
| `- note: var declared here
19 |
20 | @_cdecl("LLVMFuzzerTestOneInput") public func fuzzMe(data: UnsafePointer<CChar>, size: CInt) -> CInt {
| `- note: add '@MainActor' to make global function 'fuzzMe(data:size:)' part of global actor 'MainActor'
21 | buffer.clear()
22 | buffer.writeBytes(UnsafeRawBufferPointer(start: UnsafeRawPointer(data), count: Int(size)))
:
28 | oldBytesRemaing = buffer.readableBytes
29 | _ = try parser.parseCommandStream(buffer: &buffer)
30 | newBytesRemaining = buffer.readableBytes
| `- error: main actor-isolated var 'buffer' can not be referenced from a nonisolated context
31 | }
32 | } catch {
[1129/1153] Emitting module CLILib
[1130/1153] Compiling CLILib ResponseRoundtripHandler.swift
[1131/1153] Compiling NIOIMAPPerformanceTester Benchmark.swift
[1132/1153] Compiling NIOIMAPPerformanceTester CommandTester.swift
BUILD FAILURE 6.0 macosSpm