Build Information
Successful build of swift-nio-irc, reference 0.8.2 (782e6d
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 12:41:38 UTC.
Swift 6 data race errors: 33
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftNIOExtras/swift-nio-irc.git
Reference: 0.8.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftNIOExtras/swift-nio-irc
* tag 0.8.2 -> FETCH_HEAD
HEAD is now at 782e6d3 Merge branch 'develop' into main
Cloned https://github.com/SwiftNIOExtras/swift-nio-irc.git
Revision (git rev-parse @):
782e6d3bcd892efaedc9c530b2d5c5fbb42a680e
SUCCESS checkout https://github.com/SwiftNIOExtras/swift-nio-irc.git at 0.8.2
Fetching https://github.com/apple/swift-nio.git
[1/71147] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.77s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[17/5470] Fetching swift-atomics, swift-system
[1385/20945] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.79s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.79s)
Fetched https://github.com/apple/swift-collections.git from cache (2.79s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.75s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-nio-irc",
"name": "swift-nio-irc",
"url": "https://github.com/SwiftNIOExtras/swift-nio-irc.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-irc",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.76.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/SwiftNIOExtras/swift-nio-irc.git
[1/313] Fetching swift-nio-irc
Fetched https://github.com/SwiftNIOExtras/swift-nio-irc.git from cache (0.74s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.76.1 (0.03s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-collections.git from cache (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/SwiftNIOExtras/swift-nio-irc.git
Working copy of https://github.com/SwiftNIOExtras/swift-nio-irc.git resolved at 0.8.2 (782e6d3)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.76.1
warning: '.resolve-product-dependencies': dependency 'swift-nio-irc' is not used by any target
Found 1 product dependencies
- swift-nio
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/SwiftNIOExtras/swift-nio-irc.git
Running build ...
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
Building for debugging...
[0/22] Write sources
[6/22] Copying PrivacyInfo.xcprivacy
[6/22] Write sources
[11/22] Compiling CNIOWindows WSAStartup.c
[12/22] Compiling CNIOWindows shim.c
[12/22] Write sources
[14/22] Compiling CNIOWASI CNIOWASI.c
[15/22] Write swift-version--7754E27361AE5C74.txt
[16/22] Compiling CNIOLinux shim.c
[17/22] Compiling CNIOLinux liburing_shims.c
[18/46] Compiling _AtomicsShims.c
[19/65] Compiling CNIODarwin shim.c
[20/65] Compiling c-nioatomics.c
[21/65] Compiling c-atomics.c
[23/71] Compiling Atomics AtomicBool.swift
[24/71] Compiling Atomics IntegerConformances.swift
[25/72] Compiling Atomics AtomicMemoryOrderings.swift
[26/72] Compiling Atomics DoubleWord.swift
[27/72] Compiling Atomics AtomicOptionalWrappable.swift
[28/72] Compiling Atomics AtomicReference.swift
[29/72] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[30/72] Compiling _NIOBase64 Base64.swift
[31/72] Emitting module _NIOBase64
[32/72] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[33/72] Compiling Atomics ManagedAtomic.swift
[34/72] Compiling Atomics ManagedAtomicLazyReference.swift
[37/72] Compiling Atomics UnsafeAtomic.swift
[38/72] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/74] Emitting module InternalCollectionsUtilities
[42/74] Compiling Atomics OptionalRawRepresentable.swift
[43/74] Compiling Atomics RawRepresentable.swift
[46/74] Compiling Atomics PointerConformances.swift
[47/74] Compiling Atomics Primitives.native.swift
[48/74] Compiling Atomics Primitives.shims.swift
[49/74] Compiling Atomics AtomicInteger.swift
[50/74] Compiling _NIODataStructures PriorityQueue.swift
[51/90] Compiling Atomics IntegerOperations.swift
[52/90] Compiling Atomics Unmanaged extensions.swift
[53/90] Compiling _NIODataStructures Heap.swift
[54/90] Emitting module _NIODataStructures
[55/90] Compiling _NIODataStructures _TinyArray.swift
[56/90] Compiling DequeModule _DequeSlot.swift
[57/90] Compiling DequeModule Deque+Testing.swift
[58/90] Compiling DequeModule Deque._Storage.swift
[59/90] Compiling DequeModule _DequeBuffer.swift
[60/90] Compiling DequeModule _DequeBufferHeader.swift
[61/90] Compiling DequeModule Deque._UnsafeHandle.swift
[62/90] Compiling DequeModule Deque.swift
[63/90] Compiling DequeModule Deque+Extras.swift
[64/90] Compiling DequeModule Deque+Hashable.swift
[67/91] Compiling Atomics AtomicStorage.swift
[68/91] Compiling Atomics AtomicValue.swift
[71/91] Compiling DequeModule Deque+Equatable.swift
[72/91] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[73/91] Compiling NIOConcurrencyHelpers atomics.swift
[74/91] Compiling NIOConcurrencyHelpers lock.swift
[75/91] Emitting module NIOConcurrencyHelpers
[76/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[77/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[78/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[79/91] Compiling DequeModule _UnsafeWrappedBuffer.swift
[80/91] Compiling DequeModule Deque+Codable.swift
[81/91] Compiling DequeModule Deque+Collection.swift
[82/91] Emitting module DequeModule
[83/91] Compiling DequeModule Deque+CustomReflectable.swift
[84/91] Compiling DequeModule Deque+Descriptions.swift
[87/91] Emitting module Atomics
[92/153] Compiling NIOCore NIOScheduledCallback.swift
[93/153] Compiling NIOCore NIOSendable.swift
[94/153] Compiling NIOCore PointerHelpers.swift
[95/153] Compiling NIOCore RecvByteBufferAllocator.swift
[96/153] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[97/153] Compiling NIOCore SocketAddresses.swift
[98/159] Compiling NIOCore AddressedEnvelope.swift
[99/159] Compiling NIOCore AsyncAwaitSupport.swift
[100/159] Compiling NIOCore AsyncChannel.swift
[101/159] Compiling NIOCore AsyncChannelHandler.swift
[102/159] Compiling NIOCore AsyncChannelInboundStream.swift
[103/159] Compiling NIOCore AsyncChannelOutboundWriter.swift
[104/159] Compiling NIOCore NIOAsyncSequenceProducer.swift
[105/159] Compiling NIOCore SocketOptionProvider.swift
[106/159] Compiling NIOCore SystemCallHelpers.swift
[107/159] Compiling NIOCore TimeAmount+Duration.swift
[108/159] Compiling NIOCore TypeAssistedChannelHandler.swift
[109/159] Compiling NIOCore UniversalBootstrapSupport.swift
[110/159] Compiling NIOCore Utilities.swift
[111/159] Compiling NIOCore Codec.swift
[112/159] Compiling NIOCore ConvenienceOptionSupport.swift
[113/159] Compiling NIOCore DeadChannel.swift
[114/159] Compiling NIOCore DispatchQueue+WithFuture.swift
[115/159] Compiling NIOCore EventLoop+Deprecated.swift
[116/159] Compiling NIOCore EventLoop+SerialExecutor.swift
[117/159] Compiling NIOCore EventLoop.swift
[118/159] Compiling NIOCore Linux.swift
[119/159] Compiling NIOCore MarkedCircularBuffer.swift
[120/159] Compiling NIOCore MulticastChannel.swift
[121/159] Compiling NIOCore NIOAny.swift
[122/159] Compiling NIOCore NIOCloseOnErrorHandler.swift
[123/159] Compiling NIOCore NIOLoopBound.swift
[124/159] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[125/159] Compiling NIOCore NIOAsyncWriter.swift
[126/159] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[127/159] Compiling NIOCore BSDSocketAPI.swift
[128/159] Compiling NIOCore ByteBuffer-aux.swift
[129/159] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[130/159] Compiling NIOCore ByteBuffer-conversions.swift
[131/159] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[132/159] Compiling NIOCore EventLoopFuture+Deprecated.swift
[133/159] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[134/159] Compiling NIOCore EventLoopFuture.swift
[135/159] Compiling NIOCore FileDescriptor.swift
[136/159] Compiling NIOCore FileHandle.swift
[137/159] Compiling NIOCore FileRegion.swift
[138/159] Compiling NIOCore Channel.swift
[139/159] Compiling NIOCore ChannelHandler.swift
[140/159] Compiling NIOCore ChannelHandlers.swift
[141/159] Compiling NIOCore ChannelInvoker.swift
[142/159] Compiling NIOCore ChannelOption.swift
[143/159] Compiling NIOCore ChannelPipeline.swift
[144/159] Compiling NIOCore CircularBuffer.swift
[145/159] Compiling NIOCore GlobalSingletons.swift
[146/159] Compiling NIOCore IO.swift
[147/159] Compiling NIOCore IOData.swift
[148/159] Compiling NIOCore IPProtocol.swift
[149/159] Compiling NIOCore IntegerBitPacking.swift
[150/159] Compiling NIOCore IntegerTypes.swift
[151/159] Compiling NIOCore Interfaces.swift
[152/159] Compiling NIOCore ByteBuffer-core.swift
[153/159] Compiling NIOCore ByteBuffer-hex.swift
[154/159] Compiling NIOCore ByteBuffer-int.swift
[155/159] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[156/159] Compiling NIOCore ByteBuffer-multi-int.swift
[157/159] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[158/159] Compiling NIOCore ByteBuffer-views.swift
[159/159] Emitting module NIOCore
[160/213] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[161/213] Compiling NIOEmbedded Embedded.swift
[162/213] Compiling NIOEmbedded AsyncTestingChannel.swift
[163/213] Emitting module NIOEmbedded
[164/213] Compiling NIOPosix SocketProtocols.swift
[165/213] Compiling NIOPosix System.swift
[166/213] Compiling NIOPosix Thread.swift
[167/213] Compiling NIOPosix ThreadPosix.swift
[168/213] Compiling NIOPosix ThreadWindows.swift
[169/218] Compiling NIOPosix PendingWritesManager.swift
[170/218] Compiling NIOPosix PipeChannel.swift
[171/218] Compiling NIOPosix PipePair.swift
[172/218] Compiling NIOPosix PointerHelpers.swift
[173/218] Compiling NIOPosix Pool.swift
[174/218] Compiling NIOPosix GetaddrinfoResolver.swift
[175/218] Compiling NIOPosix HappyEyeballs.swift
[176/218] Compiling NIOPosix IO.swift
[177/218] Compiling NIOPosix IntegerBitPacking.swift
[178/218] Compiling NIOPosix IntegerTypes.swift
[179/218] Compiling NIOPosix Linux.swift
[180/218] Compiling NIOPosix PooledRecvBufferAllocator.swift
[181/218] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[182/218] Compiling NIOPosix PosixSingletons.swift
[183/218] Compiling NIOPosix RawSocketBootstrap.swift
[184/218] Compiling NIOPosix Resolver.swift
[185/218] Compiling NIOPosix BSDSocketAPICommon.swift
[186/218] Compiling NIOPosix BSDSocketAPIPosix.swift
[187/218] Compiling NIOPosix BSDSocketAPIWindows.swift
[188/218] Compiling NIOPosix BaseSocket.swift
[189/218] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[190/218] Compiling NIOPosix BaseSocketChannel.swift
[191/218] Compiling NIOPosix BaseStreamSocketChannel.swift
[192/218] Compiling NIOPosix Bootstrap.swift
[193/218] Compiling NIOPosix ControlMessage.swift
[194/218] Compiling NIOPosix DatagramVectorReadManager.swift
[195/218] Compiling NIOPosix Errors+Any.swift
[196/218] Compiling NIOPosix FileDescriptor.swift
[197/218] Compiling NIOPosix SelectorKqueue.swift
[198/218] Compiling NIOPosix SelectorUring.swift
[199/218] Compiling NIOPosix ServerSocket.swift
[200/218] Compiling NIOPosix Socket.swift
[201/218] Compiling NIOPosix SocketChannel.swift
[202/218] Compiling NIOPosix Selectable.swift
[203/218] Compiling NIOPosix SelectableChannel.swift
[204/218] Compiling NIOPosix SelectableEventLoop.swift
[205/218] Compiling NIOPosix SelectorEpoll.swift
[206/218] Compiling NIOPosix SelectorGeneric.swift
[207/218] Compiling NIOPosix LinuxCPUSet.swift
[208/218] Compiling NIOPosix LinuxUring.swift
[209/218] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[210/218] Compiling NIOPosix NIOThreadPool.swift
[211/218] Compiling NIOPosix NonBlockingFileIO.swift
[212/218] Compiling NIOPosix PendingDatagramWritesManager.swift
[213/218] Emitting module NIOPosix
[214/218] Compiling NIOPosix UnsafeTransfer.swift
[215/218] Compiling NIOPosix Utilities.swift
[216/218] Compiling NIOPosix VsockAddress.swift
[217/218] Compiling NIOPosix VsockChannelEvents.swift
[218/218] Compiling NIOPosix resource_bundle_accessor.swift
[219/220] Compiling NIO Exports.swift
[220/220] Emitting module NIO
[221/238] Compiling NIOIRC IRCUserInfo.swift
[222/239] Compiling NIOIRC IRCMessageRecipient.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:39:23: warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
37 | * As per issue #6, thanks @gbeaman.
38 | */
39 | public static let allowStartingDigit = ValidationFlags(rawValue: 1 << 0)
| |- warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowStartingDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:46:23: warning: static property 'strictLengthLimit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
44 | * By default we allow up to 1024 characters.
45 | */
46 | public static let strictLengthLimit = ValidationFlags(rawValue: 1 << 1)
| |- warning: static property 'strictLengthLimit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictLengthLimit' with '@MainActor' 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 |
[223/239] Compiling NIOIRC IRCNickName.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:39:23: warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
37 | * As per issue #6, thanks @gbeaman.
38 | */
39 | public static let allowStartingDigit = ValidationFlags(rawValue: 1 << 0)
| |- warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowStartingDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:46:23: warning: static property 'strictLengthLimit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
44 | * By default we allow up to 1024 characters.
45 | */
46 | public static let strictLengthLimit = ValidationFlags(rawValue: 1 << 1)
| |- warning: static property 'strictLengthLimit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictLengthLimit' with '@MainActor' 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 |
[224/239] Compiling NIOIRC IRCServerName.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:39:23: warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
37 | * As per issue #6, thanks @gbeaman.
38 | */
39 | public static let allowStartingDigit = ValidationFlags(rawValue: 1 << 0)
| |- warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowStartingDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
[225/239] Compiling NIOIRC IRCUserID.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:39:23: warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
37 | * As per issue #6, thanks @gbeaman.
38 | */
39 | public static let allowStartingDigit = ValidationFlags(rawValue: 1 << 0)
| |- warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowStartingDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
[226/239] Compiling NIOIRC IRCCommandCodes.swift
[227/239] Compiling NIOIRC IRCMessage.swift
[228/239] Compiling NIOIRC IRCMessageTarget.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:51:22: warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
49 | guard !recipients.isEmpty else { return }
50 |
51 | let lines = text.components(separatedBy: "\n")
| |- warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
52 | .map { $0.replacingOccurrences(of: "\r", with: "") }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:52:31: warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
50 |
51 | let lines = text.components(separatedBy: "\n")
52 | .map { $0.replacingOccurrences(of: "\r", with: "") }
| |- warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
53 |
54 | let messages = lines.map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:64:22: warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
62 | guard !recipients.isEmpty else { return }
63 |
64 | let lines = text.components(separatedBy: "\n")
| |- warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
65 | .map { $0.replacingOccurrences(of: "\r", with: "") }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:65:31: warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
63 |
64 | let lines = text.components(separatedBy: "\n")
65 | .map { $0.replacingOccurrences(of: "\r", with: "") }
| |- warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
66 |
67 | let messages = lines.map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:24:21: warning: static property 'channelOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
22 | }
23 |
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
| |- warning: static property 'channelOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'channelOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:25:21: warning: static property 'private' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
23 |
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
| |- warning: static property 'private' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:26:21: warning: static property 'secret' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
| |- warning: static property 'secret' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secret' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:27:21: warning: static property 'inviteOnly' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
| |- warning: static property 'inviteOnly' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inviteOnly' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:28:21: warning: static property 'topicOnlyByOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
| |- warning: static property 'topicOnlyByOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topicOnlyByOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:29:21: warning: static property 'noOutsideClients' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
| |- warning: static property 'noOutsideClients' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOutsideClients' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:30:21: warning: static property 'moderated' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
| |- warning: static property 'moderated' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moderated' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:31:21: warning: static property 'userLimit' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
| |- warning: static property 'userLimit' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userLimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:32:21: warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
| |- warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'banMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:33:21: warning: static property 'speakControl' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
| |- warning: static property 'speakControl' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speakControl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:34:21: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' 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 | @inlinable
[229/239] Compiling NIOIRC IRCChannelMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:51:22: warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
49 | guard !recipients.isEmpty else { return }
50 |
51 | let lines = text.components(separatedBy: "\n")
| |- warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
52 | .map { $0.replacingOccurrences(of: "\r", with: "") }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:52:31: warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
50 |
51 | let lines = text.components(separatedBy: "\n")
52 | .map { $0.replacingOccurrences(of: "\r", with: "") }
| |- warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
53 |
54 | let messages = lines.map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:64:22: warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
62 | guard !recipients.isEmpty else { return }
63 |
64 | let lines = text.components(separatedBy: "\n")
| |- warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
65 | .map { $0.replacingOccurrences(of: "\r", with: "") }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:65:31: warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
63 |
64 | let lines = text.components(separatedBy: "\n")
65 | .map { $0.replacingOccurrences(of: "\r", with: "") }
| |- warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
66 |
67 | let messages = lines.map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:24:21: warning: static property 'channelOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
22 | }
23 |
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
| |- warning: static property 'channelOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'channelOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:25:21: warning: static property 'private' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
23 |
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
| |- warning: static property 'private' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:26:21: warning: static property 'secret' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
| |- warning: static property 'secret' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secret' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:27:21: warning: static property 'inviteOnly' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
| |- warning: static property 'inviteOnly' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inviteOnly' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:28:21: warning: static property 'topicOnlyByOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
| |- warning: static property 'topicOnlyByOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topicOnlyByOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:29:21: warning: static property 'noOutsideClients' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
| |- warning: static property 'noOutsideClients' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOutsideClients' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:30:21: warning: static property 'moderated' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
| |- warning: static property 'moderated' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moderated' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:31:21: warning: static property 'userLimit' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
| |- warning: static property 'userLimit' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userLimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:32:21: warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
| |- warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'banMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:33:21: warning: static property 'speakControl' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
| |- warning: static property 'speakControl' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speakControl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:34:21: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' 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 | @inlinable
[230/239] Compiling NIOIRC IRCChannelName.swift
[231/239] Compiling NIOIRC IRCCommand.swift
[232/239] Compiling NIOIRC IRCUserMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:24:21: warning: static property 'receivesWallOps' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
22 | }
23 |
24 | public static let receivesWallOps = IRCUserMode(rawValue: 1 << 2)
| |- warning: static property 'receivesWallOps' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'receivesWallOps' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let invisible = IRCUserMode(rawValue: 1 << 3)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:25:21: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
23 |
24 | public static let receivesWallOps = IRCUserMode(rawValue: 1 << 2)
25 | public static let invisible = IRCUserMode(rawValue: 1 << 3)
| |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invisible' with '@MainActor' 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 | public static let away = IRCUserMode(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:27:21: warning: static property 'away' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
25 | public static let invisible = IRCUserMode(rawValue: 1 << 3)
26 |
27 | public static let away = IRCUserMode(rawValue: 1 << 4)
| |- warning: static property 'away' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'away' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let restrictedConnection = IRCUserMode(rawValue: 1 << 5)
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:28:21: warning: static property 'restrictedConnection' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
26 |
27 | public static let away = IRCUserMode(rawValue: 1 << 4)
28 | public static let restrictedConnection = IRCUserMode(rawValue: 1 << 5)
| |- warning: static property 'restrictedConnection' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'restrictedConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
30 | public static let localOperator = IRCUserMode(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:29:21: warning: static property 'operator' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
27 | public static let away = IRCUserMode(rawValue: 1 << 4)
28 | public static let restrictedConnection = IRCUserMode(rawValue: 1 << 5)
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
| |- warning: static property 'operator' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'operator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let localOperator = IRCUserMode(rawValue: 1 << 7)
31 | public static let receivesServerNotices = IRCUserMode(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:30:21: warning: static property 'localOperator' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
28 | public static let restrictedConnection = IRCUserMode(rawValue: 1 << 5)
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
30 | public static let localOperator = IRCUserMode(rawValue: 1 << 7)
| |- warning: static property 'localOperator' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let receivesServerNotices = IRCUserMode(rawValue: 1 << 8)
32 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:31:21: warning: static property 'receivesServerNotices' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
30 | public static let localOperator = IRCUserMode(rawValue: 1 << 7)
31 | public static let receivesServerNotices = IRCUserMode(rawValue: 1 << 8)
| |- warning: static property 'receivesServerNotices' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'receivesServerNotices' with '@MainActor' 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 | // Freenode
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:34:21: warning: static property 'ignoreUnknown' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
32 |
33 | // Freenode
34 | public static let ignoreUnknown = IRCUserMode(rawValue: 1 << 9)
| |- warning: static property 'ignoreUnknown' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreUnknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let disableForwarding = IRCUserMode(rawValue: 1 << 10)
36 | public static let blockUnidentified = IRCUserMode(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:35:21: warning: static property 'disableForwarding' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
33 | // Freenode
34 | public static let ignoreUnknown = IRCUserMode(rawValue: 1 << 9)
35 | public static let disableForwarding = IRCUserMode(rawValue: 1 << 10)
| |- warning: static property 'disableForwarding' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disableForwarding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let blockUnidentified = IRCUserMode(rawValue: 1 << 11)
37 | public static let connectedSecurely = IRCUserMode(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:36:21: warning: static property 'blockUnidentified' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
34 | public static let ignoreUnknown = IRCUserMode(rawValue: 1 << 9)
35 | public static let disableForwarding = IRCUserMode(rawValue: 1 << 10)
36 | public static let blockUnidentified = IRCUserMode(rawValue: 1 << 11)
| |- warning: static property 'blockUnidentified' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockUnidentified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let connectedSecurely = IRCUserMode(rawValue: 1 << 12)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:37:21: warning: static property 'connectedSecurely' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
35 | public static let disableForwarding = IRCUserMode(rawValue: 1 << 10)
36 | public static let blockUnidentified = IRCUserMode(rawValue: 1 << 11)
37 | public static let connectedSecurely = IRCUserMode(rawValue: 1 << 12)
| |- warning: static property 'connectedSecurely' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'connectedSecurely' with '@MainActor' 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 | // UnrealIRCd https://www.unrealircd.org/docs/User_Modes "x"
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:40:21: warning: static property 'hideHostname' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
38 |
39 | // UnrealIRCd https://www.unrealircd.org/docs/User_Modes "x"
40 | public static let hideHostname = IRCUserMode(rawValue: 1 << 13)
| |- warning: static property 'hideHostname' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hideHostname' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | @inlinable
[233/239] Compiling NIOIRC IRCDispatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:78:8: warning: associated value 'doesNotRespondTo' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCMessage'; this is an error in the Swift 6 language mode
76 | public enum IRCDispatcherError : Swift.Error {
77 |
78 | case doesNotRespondTo(IRCMessage)
| `- warning: associated value 'doesNotRespondTo' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCMessage'; this is an error in the Swift 6 language mode
79 |
80 | case nicknameInUse(IRCNickName)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCMessage.swift:23:15: note: consider making struct 'IRCMessage' conform to the 'Sendable' protocol
21 | * arguments).
22 | */
23 | public struct IRCMessage : Codable, CustomStringConvertible {
| `- note: consider making struct 'IRCMessage' conform to the 'Sendable' protocol
24 |
25 | public enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:80:8: warning: associated value 'nicknameInUse' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
78 | case doesNotRespondTo(IRCMessage)
79 |
80 | case nicknameInUse(IRCNickName)
| `- warning: associated value 'nicknameInUse' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
81 | case noSuchNick (IRCNickName)
82 | case noSuchChannel(IRCChannelName)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:23:15: note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
21 | * future compat.
22 | */
23 | public struct IRCNickName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
24 |
25 | public typealias StringLiteralType = String
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:81:8: warning: associated value 'noSuchNick' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
79 |
80 | case nicknameInUse(IRCNickName)
81 | case noSuchNick (IRCNickName)
| `- warning: associated value 'noSuchNick' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
82 | case noSuchChannel(IRCChannelName)
83 | case alreadyRegistered
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:23:15: note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
21 | * future compat.
22 | */
23 | public struct IRCNickName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
24 |
25 | public typealias StringLiteralType = String
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:82:8: warning: associated value 'noSuchChannel' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCChannelName'; this is an error in the Swift 6 language mode
80 | case nicknameInUse(IRCNickName)
81 | case noSuchNick (IRCNickName)
82 | case noSuchChannel(IRCChannelName)
| `- warning: associated value 'noSuchChannel' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCChannelName'; this is an error in the Swift 6 language mode
83 | case alreadyRegistered
84 | case notRegistered
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelName.swift:28:15: note: consider making struct 'IRCChannelName' conform to the 'Sendable' protocol
26 | * - shall not contain a ','
27 | */
28 | public struct IRCChannelName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCChannelName' conform to the 'Sendable' protocol
29 |
30 | public typealias StringLiteralType = String
[234/239] Compiling NIOIRC IRCMessageParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:78:8: warning: associated value 'doesNotRespondTo' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCMessage'; this is an error in the Swift 6 language mode
76 | public enum IRCDispatcherError : Swift.Error {
77 |
78 | case doesNotRespondTo(IRCMessage)
| `- warning: associated value 'doesNotRespondTo' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCMessage'; this is an error in the Swift 6 language mode
79 |
80 | case nicknameInUse(IRCNickName)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCMessage.swift:23:15: note: consider making struct 'IRCMessage' conform to the 'Sendable' protocol
21 | * arguments).
22 | */
23 | public struct IRCMessage : Codable, CustomStringConvertible {
| `- note: consider making struct 'IRCMessage' conform to the 'Sendable' protocol
24 |
25 | public enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:80:8: warning: associated value 'nicknameInUse' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
78 | case doesNotRespondTo(IRCMessage)
79 |
80 | case nicknameInUse(IRCNickName)
| `- warning: associated value 'nicknameInUse' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
81 | case noSuchNick (IRCNickName)
82 | case noSuchChannel(IRCChannelName)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:23:15: note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
21 | * future compat.
22 | */
23 | public struct IRCNickName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
24 |
25 | public typealias StringLiteralType = String
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:81:8: warning: associated value 'noSuchNick' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
79 |
80 | case nicknameInUse(IRCNickName)
81 | case noSuchNick (IRCNickName)
| `- warning: associated value 'noSuchNick' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
82 | case noSuchChannel(IRCChannelName)
83 | case alreadyRegistered
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:23:15: note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
21 | * future compat.
22 | */
23 | public struct IRCNickName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
24 |
25 | public typealias StringLiteralType = String
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:82:8: warning: associated value 'noSuchChannel' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCChannelName'; this is an error in the Swift 6 language mode
80 | case nicknameInUse(IRCNickName)
81 | case noSuchNick (IRCNickName)
82 | case noSuchChannel(IRCChannelName)
| `- warning: associated value 'noSuchChannel' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCChannelName'; this is an error in the Swift 6 language mode
83 | case alreadyRegistered
84 | case notRegistered
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelName.swift:28:15: note: consider making struct 'IRCChannelName' conform to the 'Sendable' protocol
26 | * - shall not contain a ','
27 | */
28 | public struct IRCChannelName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCChannelName' conform to the 'Sendable' protocol
29 |
30 | public typealias StringLiteralType = String
[235/239] Compiling NIOIRC ByteBufferExtras.swift
[236/239] Compiling NIOIRC Scandinavian.swift
[237/239] Compiling NIOIRC IRCChannelHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:39:23: warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
37 | * As per issue #6, thanks @gbeaman.
38 | */
39 | public static let allowStartingDigit = ValidationFlags(rawValue: 1 << 0)
| |- warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowStartingDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:32:21: warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
| |- warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'banMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
[238/239] Compiling NIOIRC IRCCommandParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:39:23: warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
37 | * As per issue #6, thanks @gbeaman.
38 | */
39 | public static let allowStartingDigit = ValidationFlags(rawValue: 1 << 0)
| |- warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowStartingDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:32:21: warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
| |- warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'banMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
[239/239] Emitting module NIOIRC
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:39:23: warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
37 | * As per issue #6, thanks @gbeaman.
38 | */
39 | public static let allowStartingDigit = ValidationFlags(rawValue: 1 << 0)
| |- warning: static property 'allowStartingDigit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allowStartingDigit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:32:21: warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
| |- warning: static property 'banMask' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'banMask' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:78:8: warning: associated value 'doesNotRespondTo' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCMessage'; this is an error in the Swift 6 language mode
76 | public enum IRCDispatcherError : Swift.Error {
77 |
78 | case doesNotRespondTo(IRCMessage)
| `- warning: associated value 'doesNotRespondTo' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCMessage'; this is an error in the Swift 6 language mode
79 |
80 | case nicknameInUse(IRCNickName)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCMessage.swift:23:15: note: consider making struct 'IRCMessage' conform to the 'Sendable' protocol
21 | * arguments).
22 | */
23 | public struct IRCMessage : Codable, CustomStringConvertible {
| `- note: consider making struct 'IRCMessage' conform to the 'Sendable' protocol
24 |
25 | public enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:80:8: warning: associated value 'nicknameInUse' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
78 | case doesNotRespondTo(IRCMessage)
79 |
80 | case nicknameInUse(IRCNickName)
| `- warning: associated value 'nicknameInUse' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
81 | case noSuchNick (IRCNickName)
82 | case noSuchChannel(IRCChannelName)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:23:15: note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
21 | * future compat.
22 | */
23 | public struct IRCNickName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
24 |
25 | public typealias StringLiteralType = String
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:81:8: warning: associated value 'noSuchNick' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
79 |
80 | case nicknameInUse(IRCNickName)
81 | case noSuchNick (IRCNickName)
| `- warning: associated value 'noSuchNick' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCNickName'; this is an error in the Swift 6 language mode
82 | case noSuchChannel(IRCChannelName)
83 | case alreadyRegistered
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:23:15: note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
21 | * future compat.
22 | */
23 | public struct IRCNickName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCNickName' conform to the 'Sendable' protocol
24 |
25 | public typealias StringLiteralType = String
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCDispatcher.swift:82:8: warning: associated value 'noSuchChannel' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCChannelName'; this is an error in the Swift 6 language mode
80 | case nicknameInUse(IRCNickName)
81 | case noSuchNick (IRCNickName)
82 | case noSuchChannel(IRCChannelName)
| `- warning: associated value 'noSuchChannel' of 'Sendable'-conforming enum 'IRCDispatcherError' has non-sendable type 'IRCChannelName'; this is an error in the Swift 6 language mode
83 | case alreadyRegistered
84 | case notRegistered
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelName.swift:28:15: note: consider making struct 'IRCChannelName' conform to the 'Sendable' protocol
26 | * - shall not contain a ','
27 | */
28 | public struct IRCChannelName : Hashable, CustomStringConvertible {
| `- note: consider making struct 'IRCChannelName' conform to the 'Sendable' protocol
29 |
30 | public typealias StringLiteralType = String
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:51:22: warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
49 | guard !recipients.isEmpty else { return }
50 |
51 | let lines = text.components(separatedBy: "\n")
| |- warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
52 | .map { $0.replacingOccurrences(of: "\r", with: "") }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:52:31: warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
50 |
51 | let lines = text.components(separatedBy: "\n")
52 | .map { $0.replacingOccurrences(of: "\r", with: "") }
| |- warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
53 |
54 | let messages = lines.map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:64:22: warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
62 | guard !recipients.isEmpty else { return }
63 |
64 | let lines = text.components(separatedBy: "\n")
| |- warning: instance method 'components(separatedBy:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
65 | .map { $0.replacingOccurrences(of: "\r", with: "") }
66 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/IRCMessageTarget.swift:65:31: warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
63 |
64 | let lines = text.components(separatedBy: "\n")
65 | .map { $0.replacingOccurrences(of: "\r", with: "") }
| |- warning: instance method 'replacingOccurrences(of:with:options:range:)' cannot be used in an '@inlinable' function because 'Foundation' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'Foundation' will be added implicitly
66 |
67 | let messages = lines.map {
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:24:21: warning: static property 'channelOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
22 | }
23 |
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
| |- warning: static property 'channelOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'channelOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:25:21: warning: static property 'private' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
23 |
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
| |- warning: static property 'private' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:26:21: warning: static property 'secret' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
24 | public static let channelOperator = IRCChannelMode(rawValue: 1 << 0)
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
| |- warning: static property 'secret' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'secret' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:27:21: warning: static property 'inviteOnly' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
25 | public static let `private` = IRCChannelMode(rawValue: 1 << 1)
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
| |- warning: static property 'inviteOnly' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inviteOnly' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:28:21: warning: static property 'topicOnlyByOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
26 | public static let secret = IRCChannelMode(rawValue: 1 << 2)
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
| |- warning: static property 'topicOnlyByOperator' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topicOnlyByOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:29:21: warning: static property 'noOutsideClients' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
27 | public static let inviteOnly = IRCChannelMode(rawValue: 1 << 3)
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
| |- warning: static property 'noOutsideClients' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noOutsideClients' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:30:21: warning: static property 'moderated' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
28 | public static let topicOnlyByOperator = IRCChannelMode(rawValue: 1 << 4)
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
| |- warning: static property 'moderated' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moderated' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:31:21: warning: static property 'userLimit' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
29 | public static let noOutsideClients = IRCChannelMode(rawValue: 1 << 5)
30 | public static let moderated = IRCChannelMode(rawValue: 1 << 6)
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
| |- warning: static property 'userLimit' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userLimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:33:21: warning: static property 'speakControl' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
31 | public static let userLimit = IRCChannelMode(rawValue: 1 << 7)
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
| |- warning: static property 'speakControl' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speakControl' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
35 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCChannelMode.swift:34:21: warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCChannelMode : OptionSet {
| `- note: consider making struct 'IRCChannelMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
32 | public static let banMask = IRCChannelMode(rawValue: 1 << 8)
33 | public static let speakControl = IRCChannelMode(rawValue: 1 << 9)
34 | public static let password = IRCChannelMode(rawValue: 1 << 10)
| |- warning: static property 'password' is not concurrency-safe because non-'Sendable' type 'IRCChannelMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'password' with '@MainActor' 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 | @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCNickName.swift:46:23: warning: static property 'strictLengthLimit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
28 | @usableFromInline let normalized : String
29 |
30 | public struct ValidationFlags: OptionSet {
| `- note: consider making struct 'ValidationFlags' conform to the 'Sendable' protocol
31 | public let rawValue : UInt8
32 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
44 | * By default we allow up to 1024 characters.
45 | */
46 | public static let strictLengthLimit = ValidationFlags(rawValue: 1 << 1)
| |- warning: static property 'strictLengthLimit' is not concurrency-safe because non-'Sendable' type 'IRCNickName.ValidationFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strictLengthLimit' with '@MainActor' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:24:21: warning: static property 'receivesWallOps' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
22 | }
23 |
24 | public static let receivesWallOps = IRCUserMode(rawValue: 1 << 2)
| |- warning: static property 'receivesWallOps' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'receivesWallOps' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let invisible = IRCUserMode(rawValue: 1 << 3)
26 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:25:21: warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
23 |
24 | public static let receivesWallOps = IRCUserMode(rawValue: 1 << 2)
25 | public static let invisible = IRCUserMode(rawValue: 1 << 3)
| |- warning: static property 'invisible' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invisible' with '@MainActor' 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 | public static let away = IRCUserMode(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:27:21: warning: static property 'away' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
25 | public static let invisible = IRCUserMode(rawValue: 1 << 3)
26 |
27 | public static let away = IRCUserMode(rawValue: 1 << 4)
| |- warning: static property 'away' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'away' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let restrictedConnection = IRCUserMode(rawValue: 1 << 5)
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:28:21: warning: static property 'restrictedConnection' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
26 |
27 | public static let away = IRCUserMode(rawValue: 1 << 4)
28 | public static let restrictedConnection = IRCUserMode(rawValue: 1 << 5)
| |- warning: static property 'restrictedConnection' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'restrictedConnection' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
30 | public static let localOperator = IRCUserMode(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:29:21: warning: static property 'operator' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
27 | public static let away = IRCUserMode(rawValue: 1 << 4)
28 | public static let restrictedConnection = IRCUserMode(rawValue: 1 << 5)
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
| |- warning: static property 'operator' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'operator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let localOperator = IRCUserMode(rawValue: 1 << 7)
31 | public static let receivesServerNotices = IRCUserMode(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:30:21: warning: static property 'localOperator' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
28 | public static let restrictedConnection = IRCUserMode(rawValue: 1 << 5)
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
30 | public static let localOperator = IRCUserMode(rawValue: 1 << 7)
| |- warning: static property 'localOperator' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'localOperator' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let receivesServerNotices = IRCUserMode(rawValue: 1 << 8)
32 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:31:21: warning: static property 'receivesServerNotices' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
29 | public static let `operator` = IRCUserMode(rawValue: 1 << 6)
30 | public static let localOperator = IRCUserMode(rawValue: 1 << 7)
31 | public static let receivesServerNotices = IRCUserMode(rawValue: 1 << 8)
| |- warning: static property 'receivesServerNotices' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'receivesServerNotices' with '@MainActor' 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 | // Freenode
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:34:21: warning: static property 'ignoreUnknown' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
32 |
33 | // Freenode
34 | public static let ignoreUnknown = IRCUserMode(rawValue: 1 << 9)
| |- warning: static property 'ignoreUnknown' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ignoreUnknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let disableForwarding = IRCUserMode(rawValue: 1 << 10)
36 | public static let blockUnidentified = IRCUserMode(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:35:21: warning: static property 'disableForwarding' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
33 | // Freenode
34 | public static let ignoreUnknown = IRCUserMode(rawValue: 1 << 9)
35 | public static let disableForwarding = IRCUserMode(rawValue: 1 << 10)
| |- warning: static property 'disableForwarding' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'disableForwarding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let blockUnidentified = IRCUserMode(rawValue: 1 << 11)
37 | public static let connectedSecurely = IRCUserMode(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:36:21: warning: static property 'blockUnidentified' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
34 | public static let ignoreUnknown = IRCUserMode(rawValue: 1 << 9)
35 | public static let disableForwarding = IRCUserMode(rawValue: 1 << 10)
36 | public static let blockUnidentified = IRCUserMode(rawValue: 1 << 11)
| |- warning: static property 'blockUnidentified' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockUnidentified' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let connectedSecurely = IRCUserMode(rawValue: 1 << 12)
38 |
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:37:21: warning: static property 'connectedSecurely' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
35 | public static let disableForwarding = IRCUserMode(rawValue: 1 << 10)
36 | public static let blockUnidentified = IRCUserMode(rawValue: 1 << 11)
37 | public static let connectedSecurely = IRCUserMode(rawValue: 1 << 12)
| |- warning: static property 'connectedSecurely' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'connectedSecurely' with '@MainActor' 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 | // UnrealIRCd https://www.unrealircd.org/docs/User_Modes "x"
/Users/admin/builder/spi-builder-workspace/Sources/NIOIRC/Model/IRCUserMode.swift:40:21: warning: static property 'hideHostname' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
13 | //===----------------------------------------------------------------------===//
14 |
15 | public struct IRCUserMode : OptionSet {
| `- note: consider making struct 'IRCUserMode' conform to the 'Sendable' protocol
16 |
17 | public let rawValue: UInt16
:
38 |
39 | // UnrealIRCd https://www.unrealircd.org/docs/User_Modes "x"
40 | public static let hideHostname = IRCUserMode(rawValue: 1 << 13)
| |- warning: static property 'hideHostname' is not concurrency-safe because non-'Sendable' type 'IRCUserMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hideHostname' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | @inlinable
Build complete! (36.92s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.18.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
}
],
"manifest_display_name" : "swift-nio-irc",
"name" : "swift-nio-irc",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "NIOIRC",
"targets" : [
"NIOIRC"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NIOIRC",
"module_type" : "SwiftTarget",
"name" : "NIOIRC",
"path" : "Sources/NIOIRC",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"NIOIRC"
],
"sources" : [
"Helpers/ByteBufferExtras.swift",
"Helpers/Scandinavian.swift",
"IRCChannelHandler.swift",
"IRCCommandParser.swift",
"IRCDispatcher.swift",
"IRCMessageParser.swift",
"IRCMessageTarget.swift",
"Model/IRCChannelMode.swift",
"Model/IRCChannelName.swift",
"Model/IRCCommand.swift",
"Model/IRCCommandCodes.swift",
"Model/IRCMessage.swift",
"Model/IRCMessageRecipient.swift",
"Model/IRCNickName.swift",
"Model/IRCServerName.swift",
"Model/IRCUserID.swift",
"Model/IRCUserInfo.swift",
"Model/IRCUserMode.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.