Build Information
Successful build of swift-nio-irc, reference 0.8.2 (782e6d
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 18:30:49 UTC.
Swift 6 data race errors: 33
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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 from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.98s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (1.73s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.68s)
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
Fetched https://github.com/apple/swift-collections.git from cache (0.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.71s)
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.0
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.2
========================================
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.82.0",
"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.2",
"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/314] Fetching swift-nio-irc
Fetched https://github.com/SwiftNIOExtras/swift-nio-irc.git from cache (0.67s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.74s)
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-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-system.git from cache (0.52s)
Fetched https://github.com/apple/swift-collections.git from cache (0.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.59s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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/SwiftNIOExtras/swift-nio-irc.git
Working copy of https://github.com/SwiftNIOExtras/swift-nio-irc.git resolved at 0.8.2 (782e6d3)
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.1
Building package at path: $PWD
https://github.com/SwiftNIOExtras/swift-nio-irc.git
https://github.com/SwiftNIOExtras/swift-nio-irc.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/22] Write sources
[9/22] Copying PrivacyInfo.xcprivacy
[9/22] Write sources
[11/22] Compiling CNIOWindows shim.c
[11/22] Compiling CNIOWindows WSAStartup.c
[13/22] Write sources
[14/22] Compiling CNIOWASI CNIOWASI.c
[15/22] Compiling CNIOLinux liburing_shims.c
[16/22] Compiling CNIOLinux shim.c
[17/22] Write swift-version-2F0A5646E1D333AE.txt
[18/22] Compiling _AtomicsShims.c
[19/65] Compiling CNIODarwin shim.c
[21/65] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[22/66] Compiling Atomics UnsafeAtomic.swift
[23/66] Compiling Atomics UnsafeAtomicLazyReference.swift
[24/66] Compiling Atomics AtomicStorage.swift
[25/66] Compiling Atomics AtomicValue.swift
[26/66] Compiling Atomics AtomicMemoryOrderings.swift
[27/66] Compiling Atomics DoubleWord.swift
[28/66] Emitting module _NIOBase64
[29/66] Compiling _NIOBase64 Base64.swift
[34/68] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[35/68] Compiling Atomics ManagedAtomic.swift
[36/68] Compiling Atomics ManagedAtomicLazyReference.swift
[39/68] Compiling Atomics Primitives.shims.swift
[40/68] Compiling Atomics AtomicInteger.swift
[41/68] Compiling Atomics OptionalRawRepresentable.swift
[42/68] Compiling Atomics RawRepresentable.swift
[43/68] Compiling Atomics AtomicOptionalWrappable.swift
[44/68] Compiling Atomics AtomicReference.swift
[45/68] Compiling Atomics IntegerOperations.swift
[46/68] Compiling Atomics Unmanaged extensions.swift
[49/68] Emitting module InternalCollectionsUtilities
[50/68] Compiling Atomics PointerConformances.swift
[51/68] Compiling Atomics Primitives.native.swift
[54/68] Compiling Atomics AtomicBool.swift
[55/68] Compiling Atomics IntegerConformances.swift
[62/83] Compiling _NIODataStructures _TinyArray.swift
[63/84] Emitting module Atomics
[64/84] Compiling DequeModule _DequeSlot.swift
[65/85] Compiling DequeModule _DequeBufferHeader.swift
[66/85] Compiling DequeModule _DequeBuffer.swift
[67/85] Compiling _NIODataStructures PriorityQueue.swift
[68/85] Emitting module _NIODataStructures
[69/85] Compiling _NIODataStructures Heap.swift
[70/85] Compiling DequeModule _UnsafeWrappedBuffer.swift
[71/85] Compiling DequeModule Deque+Extras.swift
[72/85] Compiling DequeModule Deque+Hashable.swift
[73/85] Compiling DequeModule Deque._UnsafeHandle.swift
[74/85] Compiling DequeModule Deque.swift
[74/85] Compiling c-nioatomics.c
[76/85] Compiling DequeModule Deque+CustomReflectable.swift
[77/85] Compiling DequeModule Deque+Descriptions.swift
[78/85] Compiling DequeModule Deque+Testing.swift
[79/85] Compiling DequeModule Deque._Storage.swift
[80/85] Compiling DequeModule Deque+Equatable.swift
[81/85] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[82/85] Compiling DequeModule Deque+Codable.swift
[83/85] Compiling DequeModule Deque+Collection.swift
[84/85] Emitting module DequeModule
[84/85] Compiling c-atomics.c
[86/91] Compiling NIOConcurrencyHelpers lock.swift
[87/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[88/91] Compiling NIOConcurrencyHelpers atomics.swift
[89/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[90/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[91/91] Emitting module NIOConcurrencyHelpers
[92/152] Compiling NIOCore NIOLoopBound.swift
[93/152] Compiling NIOCore NIOScheduledCallback.swift
[94/152] Compiling NIOCore NIOSendable.swift
[95/152] Compiling NIOCore RecvByteBufferAllocator.swift
[96/152] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[97/152] Compiling NIOCore SocketAddresses.swift
[98/158] Compiling NIOCore AddressedEnvelope.swift
[99/158] Compiling NIOCore AsyncAwaitSupport.swift
[100/158] Compiling NIOCore AsyncChannel.swift
[101/158] Compiling NIOCore AsyncChannelHandler.swift
[102/158] Compiling NIOCore AsyncChannelInboundStream.swift
[103/158] Compiling NIOCore AsyncChannelOutboundWriter.swift
[104/158] Compiling NIOCore NIOAsyncSequenceProducer.swift
[105/158] Compiling NIOCore SocketOptionProvider.swift
[106/158] Compiling NIOCore SystemCallHelpers.swift
[107/158] Compiling NIOCore TimeAmount+Duration.swift
[108/158] Compiling NIOCore TypeAssistedChannelHandler.swift
[109/158] Compiling NIOCore UniversalBootstrapSupport.swift
[110/158] Compiling NIOCore Utilities.swift
[111/158] Compiling NIOCore Codec.swift
[112/158] Compiling NIOCore ConvenienceOptionSupport.swift
[113/158] Compiling NIOCore DeadChannel.swift
[114/158] Compiling NIOCore DispatchQueue+WithFuture.swift
[115/158] Compiling NIOCore EventLoop+Deprecated.swift
[116/158] Compiling NIOCore EventLoop+SerialExecutor.swift
[117/158] Compiling NIOCore EventLoop.swift
[118/158] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[119/158] Compiling NIOCore NIOAsyncWriter.swift
[120/158] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[121/158] Compiling NIOCore BSDSocketAPI.swift
[122/158] Compiling NIOCore ByteBuffer-aux.swift
[123/158] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[124/158] Compiling NIOCore ByteBuffer-conversions.swift
[125/158] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[126/158] Compiling NIOCore EventLoopFuture+Deprecated.swift
[127/158] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[128/158] Compiling NIOCore EventLoopFuture.swift
[129/158] Compiling NIOCore FileDescriptor.swift
[130/158] Compiling NIOCore FileHandle.swift
[131/158] Compiling NIOCore FileRegion.swift
[132/158] Compiling NIOCore GlobalSingletons.swift
[133/158] Compiling NIOCore IO.swift
[134/158] Compiling NIOCore IOData.swift
[135/158] Compiling NIOCore IPProtocol.swift
[136/158] Compiling NIOCore IntegerBitPacking.swift
[137/158] Compiling NIOCore IntegerTypes.swift
[138/158] Compiling NIOCore Channel.swift
[139/158] Compiling NIOCore ChannelHandler.swift
[140/158] Compiling NIOCore ChannelHandlers.swift
[141/158] Compiling NIOCore ChannelInvoker.swift
[142/158] Compiling NIOCore ChannelOption.swift
[143/158] Compiling NIOCore ChannelPipeline.swift
[144/158] Compiling NIOCore CircularBuffer.swift
[145/158] Compiling NIOCore Interfaces.swift
[146/158] Compiling NIOCore Linux.swift
[147/158] Compiling NIOCore MarkedCircularBuffer.swift
[148/158] Compiling NIOCore MulticastChannel.swift
[149/158] Compiling NIOCore NIOAny.swift
[150/158] Compiling NIOCore NIOCloseOnErrorHandler.swift
[151/158] Compiling NIOCore ByteBuffer-core.swift
[152/158] Compiling NIOCore ByteBuffer-hex.swift
[153/158] Compiling NIOCore ByteBuffer-int.swift
[154/158] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[155/158] Compiling NIOCore ByteBuffer-multi-int.swift
[156/158] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[157/158] Compiling NIOCore ByteBuffer-views.swift
[158/158] Emitting module NIOCore
[159/211] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[160/211] Compiling NIOEmbedded Embedded.swift
[161/211] Compiling NIOEmbedded AsyncTestingChannel.swift
[162/211] Emitting module NIOEmbedded
[163/211] Emitting module NIOPosix
[164/216] Compiling NIOPosix LinuxCPUSet.swift
[165/216] Compiling NIOPosix LinuxUring.swift
[166/216] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[167/216] Compiling NIOPosix NIOThreadPool.swift
[168/216] Compiling NIOPosix NonBlockingFileIO.swift
[169/216] Compiling NIOPosix SocketProtocols.swift
[170/216] Compiling NIOPosix System.swift
[171/216] Compiling NIOPosix Thread.swift
[172/216] Compiling NIOPosix ThreadPosix.swift
[173/216] Compiling NIOPosix ThreadWindows.swift
[174/216] Compiling NIOPosix SelectorKqueue.swift
[175/216] Compiling NIOPosix SelectorUring.swift
[176/216] Compiling NIOPosix ServerSocket.swift
[177/216] Compiling NIOPosix Socket.swift
[178/216] Compiling NIOPosix SocketChannel.swift
[179/216] Compiling NIOPosix BSDSocketAPICommon.swift
[180/216] Compiling NIOPosix BSDSocketAPIPosix.swift
[181/216] Compiling NIOPosix BSDSocketAPIWindows.swift
[182/216] Compiling NIOPosix BaseSocket.swift
[183/216] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[184/216] Compiling NIOPosix BaseSocketChannel.swift
[185/216] Compiling NIOPosix GetaddrinfoResolver.swift
[186/216] Compiling NIOPosix HappyEyeballs.swift
[187/216] Compiling NIOPosix IO.swift
[188/216] Compiling NIOPosix IntegerBitPacking.swift
[189/216] Compiling NIOPosix IntegerTypes.swift
[190/216] Compiling NIOPosix Linux.swift
[191/216] Compiling NIOPosix PooledRecvBufferAllocator.swift
[192/216] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[193/216] Compiling NIOPosix PosixSingletons.swift
[194/216] Compiling NIOPosix RawSocketBootstrap.swift
[195/216] Compiling NIOPosix Resolver.swift
[196/216] Compiling NIOPosix Selectable.swift
[197/216] Compiling NIOPosix SelectableChannel.swift
[198/216] Compiling NIOPosix SelectableEventLoop.swift
[199/216] Compiling NIOPosix SelectorEpoll.swift
[200/216] Compiling NIOPosix SelectorGeneric.swift
[201/216] Compiling NIOPosix BaseStreamSocketChannel.swift
[202/216] Compiling NIOPosix Bootstrap.swift
[203/216] Compiling NIOPosix ControlMessage.swift
[204/216] Compiling NIOPosix DatagramVectorReadManager.swift
[205/216] Compiling NIOPosix Errors+Any.swift
[206/216] Compiling NIOPosix FileDescriptor.swift
[207/216] Compiling NIOPosix PendingDatagramWritesManager.swift
[208/216] Compiling NIOPosix PendingWritesManager.swift
[209/216] Compiling NIOPosix PipeChannel.swift
[210/216] Compiling NIOPosix PipePair.swift
[211/216] Compiling NIOPosix Pool.swift
[212/216] Compiling NIOPosix UnsafeTransfer.swift
[213/216] Compiling NIOPosix Utilities.swift
[214/216] Compiling NIOPosix VsockAddress.swift
[215/216] Compiling NIOPosix VsockChannelEvents.swift
[216/216] Compiling NIOPosix resource_bundle_accessor.swift
[217/218] Emitting module NIO
[218/218] Compiling NIO Exports.swift
[219/236] Compiling NIOIRC IRCUserInfo.swift
[220/236] Compiling NIOIRC IRCCommandCodes.swift
[221/236] Compiling NIOIRC IRCMessage.swift
[222/236] 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: add '@MainActor' to make static property 'allowStartingDigit' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'strictLengthLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[223/236] 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: add '@MainActor' to make static property 'allowStartingDigit' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'strictLengthLimit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
[224/236] Compiling NIOIRC IRCServerName.swift
[225/236] Compiling NIOIRC IRCUserID.swift
[226/237] Compiling NIOIRC IRCChannelName.swift
[227/237] Compiling NIOIRC IRCCommand.swift
[228/237] 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: add '@MainActor' to make static property 'channelOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'private' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'secret' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inviteOnly' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'topicOnlyByOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'noOutsideClients' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'moderated' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'userLimit' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'banMask' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'speakControl' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | @inlinable
[229/237] 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: add '@MainActor' to make static property 'channelOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'private' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'secret' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inviteOnly' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'topicOnlyByOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'noOutsideClients' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'moderated' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'userLimit' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'banMask' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'speakControl' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | @inlinable
[230/237] 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
[231/237] 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
[232/237] Compiling NIOIRC IRCChannelHandler.swift
[233/237] Compiling NIOIRC IRCCommandParser.swift
[234/237] 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: add '@MainActor' to make static property 'receivesWallOps' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'away' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'restrictedConnection' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'operator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'localOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'receivesServerNotices' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ignoreUnknown' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'disableForwarding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'blockUnidentified' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'connectedSecurely' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hideHostname' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | @inlinable
[235/237] Compiling NIOIRC ByteBufferExtras.swift
[236/237] Compiling NIOIRC Scandinavian.swift
[237/237] Emitting module NIOIRC
/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: add '@MainActor' to make static property 'channelOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'private' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'secret' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'inviteOnly' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'topicOnlyByOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'noOutsideClients' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'moderated' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'userLimit' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'banMask' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'speakControl' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'password' part of global actor 'MainActor'
| `- 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: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: add '@MainActor' to make static property 'allowStartingDigit' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'strictLengthLimit' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'receivesWallOps' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'invisible' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'away' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'restrictedConnection' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'operator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'localOperator' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'receivesServerNotices' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'ignoreUnknown' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'disableForwarding' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'blockUnidentified' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'connectedSecurely' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'hideHostname' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | @inlinable
Build complete! (12.69s)
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.