The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of DNSClient, reference 2.4.4 (551fbd), with Swift 6.1 for Linux on 30 Apr 2025 12:22:20 UTC.

Swift 6 data race errors: 17

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/DNSClient.git
Reference: 2.4.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/orlandos-nl/DNSClient
 * tag               2.4.4      -> FETCH_HEAD
HEAD is now at 551fbdd Merge tag '2.4.3'
Cloned https://github.com/orlandos-nl/DNSClient.git
Revision (git rev-parse @):
551fbddbf4fa728d4cd86f6a5208fe4f925f0549
SUCCESS checkout https://github.com/orlandos-nl/DNSClient.git at 2.4.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/orlandos-nl/DNSClient.git
https://github.com/orlandos-nl/DNSClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-transport-services",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.19.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-transport-services.git"
    }
  ],
  "manifest_display_name" : "DNSClient",
  "name" : "DNSClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "DNSClient",
      "targets" : [
        "DNSClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DNSClientTests",
      "module_type" : "SwiftTarget",
      "name" : "DNSClientTests",
      "path" : "Tests/DNSClientTests",
      "product_dependencies" : [
        "NIO"
      ],
      "sources" : [
        "DNSTCPClientTests.swift",
        "DNSUDPClientTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DNSClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DNSClient",
      "module_type" : "SwiftTarget",
      "name" : "DNSClient",
      "path" : "Sources/DNSClient",
      "product_dependencies" : [
        "NIOTransportServices",
        "NIO"
      ],
      "product_memberships" : [
        "DNSClient"
      ],
      "sources" : [
        "Client.swift",
        "DNSClient+Connect.swift",
        "DNSClient+Query.swift",
        "DNSDecoder.swift",
        "DNSEncoder.swift",
        "Errors.swift",
        "Helpers.swift",
        "Messages/Message.swift",
        "Messages/MessageOptions.swift",
        "PTR.swift",
        "ResolvConf/ConfigParser.swift",
        "SRV.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[27/2619] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.36s)
[1/75566] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.53s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (6.20s)
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (1.62s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/16269] Fetching swift-collections
[2/20636] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.78s)
[4393/16269] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.15s)
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.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.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
Building for debugging...
[0/24] Write sources
[13/24] Compiling CNIOWindows shim.c
[14/24] Compiling CNIOWindows WSAStartup.c
[15/24] Compiling CNIOWASI CNIOWASI.c
[16/24] Write sources
[17/24] Compiling CNIODarwin shim.c
[17/24] Compiling _AtomicsShims.c
[19/24] Compiling CNIOLinux liburing_shims.c
[20/24] Compiling CNIOLinux shim.c
[21/24] Write swift-version-24593BA9C3E375BF.txt
[22/66] Compiling c-atomics.c
[24/66] Emitting module _NIOBase64
[25/66] Compiling _NIOBase64 Base64.swift
[26/67] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/67] Compiling InternalCollectionsUtilities Specialize.swift
[27/67] Compiling c-nioatomics.c
[29/69] Compiling Atomics UnsafeAtomic.swift
[30/69] Compiling Atomics UnsafeAtomicLazyReference.swift
[32/69] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[33/69] Compiling InternalCollectionsUtilities Debugging.swift
[34/69] Compiling InternalCollectionsUtilities Descriptions.swift
[35/69] Compiling InternalCollectionsUtilities UInt+reversed.swift
[36/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[37/69] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/69] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/69] Compiling InternalCollectionsUtilities _SortedCollection.swift
[42/77] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[43/77] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[44/77] Compiling _NIODataStructures PriorityQueue.swift
[45/77] Compiling _NIODataStructures _TinyArray.swift
[46/77] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[47/77] Compiling InternalCollectionsUtilities Integer rank.swift
[48/77] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[55/77] Emitting module InternalCollectionsUtilities
[56/77] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[57/77] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[58/77] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[64/78] Emitting module Atomics
[68/78] Compiling Atomics IntegerOperations.swift
[69/78] Compiling Atomics Unmanaged extensions.swift
[72/79] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[73/79] Emitting module NIOConcurrencyHelpers
[74/79] Compiling _NIODataStructures Heap.swift
[75/79] Emitting module _NIODataStructures
[76/80] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[77/80] Compiling NIOConcurrencyHelpers lock.swift
[78/80] Compiling NIOConcurrencyHelpers atomics.swift
[79/80] Compiling NIOConcurrencyHelpers NIOLock.swift
[82/96] Compiling DequeModule Deque+Testing.swift
[83/96] Compiling DequeModule Deque._Storage.swift
[84/98] Compiling DequeModule Deque+Extras.swift
[85/98] Compiling DequeModule Deque+Hashable.swift
[86/98] Compiling DequeModule _DequeBuffer.swift
[87/98] Compiling DequeModule _DequeBufferHeader.swift
[88/98] Compiling DequeModule _DequeSlot.swift
[89/98] Compiling DequeModule _UnsafeWrappedBuffer.swift
[90/98] Compiling DequeModule Deque+Equatable.swift
[91/98] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[92/98] Compiling DequeModule Deque+Codable.swift
[93/98] Compiling DequeModule Deque+Collection.swift
[94/98] Compiling DequeModule Deque+CustomReflectable.swift
[95/98] Compiling DequeModule Deque+Descriptions.swift
[96/98] Emitting module DequeModule
[97/98] Compiling DequeModule Deque._UnsafeHandle.swift
[98/98] Compiling DequeModule Deque.swift
[100/158] Compiling NIOCore ChannelPipeline.swift
[101/158] Compiling NIOCore CircularBuffer.swift
[102/158] Compiling NIOCore Codec.swift
[103/158] Compiling NIOCore ConvenienceOptionSupport.swift
[104/158] Compiling NIOCore DeadChannel.swift
[105/158] Compiling NIOCore DispatchQueue+WithFuture.swift
[106/158] Compiling NIOCore EventLoop+Deprecated.swift
[107/158] Compiling NIOCore EventLoop+SerialExecutor.swift
[108/158] Compiling NIOCore MarkedCircularBuffer.swift
[109/158] Compiling NIOCore MulticastChannel.swift
[110/158] Compiling NIOCore NIOAny.swift
[111/158] Compiling NIOCore NIOCloseOnErrorHandler.swift
[112/158] Compiling NIOCore NIOLoopBound.swift
[113/158] Compiling NIOCore NIOScheduledCallback.swift
[114/158] Compiling NIOCore NIOSendable.swift
[115/158] Compiling NIOCore RecvByteBufferAllocator.swift
[116/158] Compiling NIOCore GlobalSingletons.swift
[117/158] Compiling NIOCore IO.swift
[118/158] Compiling NIOCore IOData.swift
[119/158] Compiling NIOCore IPProtocol.swift
[120/158] Compiling NIOCore IntegerBitPacking.swift
[121/158] Compiling NIOCore IntegerTypes.swift
[122/158] Compiling NIOCore Interfaces.swift
[123/158] Compiling NIOCore Linux.swift
[124/166] Compiling NIOCore EventLoop.swift
[125/166] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[126/166] Compiling NIOCore EventLoopFuture+Deprecated.swift
[127/166] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[128/166] Compiling NIOCore EventLoopFuture.swift
[129/166] Compiling NIOCore FileDescriptor.swift
[130/166] Compiling NIOCore FileHandle.swift
[131/166] Compiling NIOCore FileRegion.swift
[132/166] Compiling NIOCore AddressedEnvelope.swift
[133/166] Compiling NIOCore AsyncAwaitSupport.swift
[134/166] Compiling NIOCore AsyncChannel.swift
[135/166] Compiling NIOCore AsyncChannelHandler.swift
[136/166] Compiling NIOCore AsyncChannelInboundStream.swift
[137/166] Compiling NIOCore AsyncChannelOutboundWriter.swift
[138/166] Compiling NIOCore NIOAsyncSequenceProducer.swift
[139/166] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[140/166] Compiling NIOCore NIOAsyncWriter.swift
[141/166] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[142/166] Compiling NIOCore SocketAddresses.swift
[143/166] Compiling NIOCore SocketOptionProvider.swift
[144/166] Compiling NIOCore SystemCallHelpers.swift
[145/166] Compiling NIOCore TimeAmount+Duration.swift
[146/166] Compiling NIOCore TypeAssistedChannelHandler.swift
[147/166] Compiling NIOCore UniversalBootstrapSupport.swift
[148/166] Compiling NIOCore Utilities.swift
[149/166] Compiling NIOCore ByteBuffer-multi-int.swift
[150/166] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[151/166] Compiling NIOCore ByteBuffer-views.swift
[152/166] Compiling NIOCore Channel.swift
[153/166] Compiling NIOCore ChannelHandler.swift
[154/166] Compiling NIOCore ChannelHandlers.swift
[155/166] Compiling NIOCore ChannelInvoker.swift
[156/166] Compiling NIOCore ChannelOption.swift
[157/166] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[158/166] Compiling NIOCore BSDSocketAPI.swift
[159/166] Compiling NIOCore ByteBuffer-aux.swift
[160/166] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[161/166] Compiling NIOCore ByteBuffer-conversions.swift
[162/166] Compiling NIOCore ByteBuffer-core.swift
[163/166] Compiling NIOCore ByteBuffer-hex.swift
[164/166] Compiling NIOCore ByteBuffer-int.swift
[165/166] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[166/166] Emitting module NIOCore
[168/218] Compiling NIOPosix PooledRecvBufferAllocator.swift
[169/218] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[170/218] Compiling NIOPosix PosixSingletons.swift
[171/218] Compiling NIOPosix RawSocketBootstrap.swift
[172/218] Compiling NIOPosix Resolver.swift
[173/218] Compiling NIOPosix Selectable.swift
[174/218] Compiling NIOEmbedded Embedded.swift
[175/218] Emitting module NIOEmbedded
[176/218] Compiling NIOEmbedded AsyncTestingChannel.swift
[177/218] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[179/225] Compiling NIOPosix ThreadPosix.swift
[180/225] Compiling NIOPosix ThreadWindows.swift
[181/225] Compiling NIOPosix UnsafeTransfer.swift
[182/225] Compiling NIOPosix Utilities.swift
[183/225] Compiling NIOPosix VsockAddress.swift
[184/225] Compiling NIOPosix VsockChannelEvents.swift
[185/225] Emitting module NIOPosix
[186/225] Compiling NIOPosix SelectableChannel.swift
[187/225] Compiling NIOPosix SelectableEventLoop.swift
[188/225] Compiling NIOPosix SelectorEpoll.swift
[189/225] Compiling NIOPosix SelectorGeneric.swift
[190/225] Compiling NIOPosix SelectorKqueue.swift
[191/225] Compiling NIOPosix SelectorUring.swift
[192/225] Compiling NIOPosix ServerSocket.swift
[193/225] Compiling NIOPosix Socket.swift
[194/225] Compiling NIOPosix SocketChannel.swift
[195/225] Compiling NIOPosix SocketProtocols.swift
[196/225] Compiling NIOPosix System.swift
[197/225] Compiling NIOPosix Thread.swift
[198/225] Compiling NIOPosix Bootstrap.swift
[199/225] Compiling NIOPosix ControlMessage.swift
[200/225] Compiling NIOPosix DatagramVectorReadManager.swift
[201/225] Compiling NIOPosix Errors+Any.swift
[202/225] Compiling NIOPosix FileDescriptor.swift
[203/225] Compiling NIOPosix GetaddrinfoResolver.swift
[204/225] Compiling NIOPosix HappyEyeballs.swift
[205/225] Compiling NIOPosix BSDSocketAPICommon.swift
[206/225] Compiling NIOPosix BSDSocketAPIPosix.swift
[207/225] Compiling NIOPosix BSDSocketAPIWindows.swift
[208/225] Compiling NIOPosix BaseSocket.swift
[209/225] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[210/225] Compiling NIOPosix BaseSocketChannel.swift
[211/225] Compiling NIOPosix BaseStreamSocketChannel.swift
[212/225] Compiling NIOPosix IO.swift
[213/225] Compiling NIOPosix IntegerBitPacking.swift
[214/225] Compiling NIOPosix IntegerTypes.swift
[215/225] Compiling NIOPosix Linux.swift
[216/225] Compiling NIOPosix LinuxCPUSet.swift
[217/225] Compiling NIOPosix LinuxUring.swift
[218/225] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[219/225] Compiling NIOPosix NIOThreadPool.swift
[220/225] Compiling NIOPosix NonBlockingFileIO.swift
[221/225] Compiling NIOPosix PendingDatagramWritesManager.swift
[222/225] Compiling NIOPosix PendingWritesManager.swift
[223/225] Compiling NIOPosix PipeChannel.swift
[224/225] Compiling NIOPosix PipePair.swift
[225/225] Compiling NIOPosix Pool.swift
[227/228] Compiling NIO Exports.swift
[228/228] Emitting module NIO
[230/240] Compiling NIOTLS TLSEvents.swift
[231/240] Emitting module NIOTLS
[232/240] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[233/240] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[234/240] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[235/240] Compiling NIOTLS SNIHandler.swift
[237/241] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[238/241] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[239/241] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[240/241] Emitting module NIOFoundationCompat
[241/241] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[243/264] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[244/264] Compiling NIOTransportServices NIOTSErrors.swift
[245/264] Compiling NIOTransportServices NIOTSEventLoop.swift
[246/266] Emitting module NIOTransportServices
[247/266] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[248/266] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[249/266] Compiling NIOTransportServices NIOTSListenerChannel.swift
[250/266] Compiling NIOTransportServices StateManagedChannel.swift
[251/266] Compiling NIOTransportServices StateManagedListenerChannel.swift
[252/266] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[253/266] Compiling NIOTransportServices AcceptHandler.swift
[254/266] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[255/266] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[256/266] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[257/266] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[258/266] Compiling NIOTransportServices NIOTSBootstraps.swift
[259/266] Compiling NIOTransportServices NIOTSChannelOptions.swift
[260/266] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[261/266] Compiling NIOTransportServices NIOTSDatagramListener.swift
[262/266] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[263/266] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[264/266] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[265/266] Compiling NIOTransportServices NIOTSSingletons.swift
[266/266] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[268/279] Compiling DNSClient ConfigParser.swift
[269/280] Compiling DNSClient PTR.swift
[270/280] Compiling DNSClient SRV.swift
[271/280] Compiling DNSClient MessageOptions.swift
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:16:23: warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
14 |     }
15 |
16 |     public static let answer: MessageOptions = 0b10000000_00000000
   |                       |- warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'answer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:17:23: warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
15 |
16 |     public static let answer: MessageOptions = 0b10000000_00000000
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
   |                       |- warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'authorativeAnswer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
19 |     public static let recursionDesired: MessageOptions = 0b00000001_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:18:23: warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
16 |     public static let answer: MessageOptions = 0b10000000_00000000
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
   |                       |- warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'truncated' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:19:23: warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
19 |     public static let recursionDesired: MessageOptions = 0b00000001_00000000
   |                       |- warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'recursionDesired' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:20:23: warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
19 |     public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
   |                       |- warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'recursionAvailable' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |     public static let standardQuery: MessageOptions = 0b00000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:22:23: warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
22 |     public static let standardQuery: MessageOptions = 0b00000000_00000000
   |                       |- warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'standardQuery' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:23:23: warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
21 |
22 |     public static let standardQuery: MessageOptions = 0b00000000_00000000
23 |     public static let inverseQuery: MessageOptions = 0b00001000_00000000
   |                       |- warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'inverseQuery' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:24:23: warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
22 |     public static let standardQuery: MessageOptions = 0b00000000_00000000
23 |     public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
   |                       |- warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'serverStatusQuery' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:26:23: warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
26 |     public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
   |                       |- warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeSuccess' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |     public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:27:23: warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
25 |
26 |     public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 |     public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
   |                       |- warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeFormatError' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:28:23: warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
26 |     public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 |     public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
   |                       |- warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeServerfailure' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 |     public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:29:23: warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
27 |     public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
   |                       |- warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeNameError' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 |     public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:30:23: warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 |     public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
   |                       |- warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeNotImplemented' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:31:23: warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 |     public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 |     public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
   |                       |- warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeNotRefused' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 |     public static let multicastResponse: MessageOptions = 0b10000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:33:23: warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
31 |     public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
33 |     public static let multicastResponse: MessageOptions = 0b10000000_00000000
   |                       |- warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'multicastResponse' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
35 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:34:23: warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
32 |
33 |     public static let multicastResponse: MessageOptions = 0b10000000_00000000
34 |     public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
   |                       |- warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'mutlicastUnauthenticatedDataAcceptable' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     public var isAnswer: Bool {
[272/280] Compiling DNSClient Client.swift
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:93:17: warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
 91 |         if let remoteAddress = remoteAddress {
 92 |             return channel.pipeline.addHandlers(
 93 |                 EnvelopeInboundChannel(),
    |                 `- warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
 94 |                 context.decoder,
 95 |                 EnvelopeOutboundChannel(address: remoteAddress),
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:4:13: note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  2 | import NIOConcurrencyHelpers
  3 |
  4 | final class EnvelopeInboundChannel: ChannelInboundHandler {
    |             `- note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  5 |     typealias InboundIn = AddressedEnvelope<ByteBuffer>
  6 |     typealias InboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:95:17: warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
 93 |                 EnvelopeInboundChannel(),
 94 |                 context.decoder,
 95 |                 EnvelopeOutboundChannel(address: remoteAddress),
    |                 `- warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
 96 |                 DNSEncoder()
 97 |             )
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:3:13: note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  1 | import NIO
  2 |
  3 | final class EnvelopeOutboundChannel: ChannelOutboundHandler {
    |             `- note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  4 |     typealias OutboundIn = ByteBuffer
  5 |     typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:96:17: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
 94 |                 context.decoder,
 95 |                 EnvelopeOutboundChannel(address: remoteAddress),
 96 |                 DNSEncoder()
    |                 `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
 97 |             )
 98 |         } else {
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:99:66: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
 97 |             )
 98 |         } else {
 99 |             return channel.pipeline.addHandlers(context.decoder, DNSEncoder())
    |                                                                  `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
100 |         }
101 |     }
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:120:21: warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
118 |             .channelInitializer { channel in
119 |                 return channel.pipeline.addHandlers(
120 |                     EnvelopeInboundChannel(),
    |                     `- warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:4:13: note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  2 | import NIOConcurrencyHelpers
  3 |
  4 | final class EnvelopeInboundChannel: ChannelInboundHandler {
    |             `- note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  5 |     typealias InboundIn = AddressedEnvelope<ByteBuffer>
  6 |     typealias InboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:122:21: warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
120 |                     EnvelopeInboundChannel(),
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
    |                     `- warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
123 |                     DNSEncoder()
124 |                 )
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:3:13: note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  1 | import NIO
  2 |
  3 | final class EnvelopeOutboundChannel: ChannelOutboundHandler {
    |             `- note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  4 |     typealias OutboundIn = ByteBuffer
  5 |     typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:123:21: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
123 |                     DNSEncoder()
    |                     `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
124 |                 )
125 |         }
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:156:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
154 |             .channelInitializer { channel in
155 |                 return channel.pipeline.addHandlers(
156 |                     ByteToMessageHandler(UInt16FrameDecoder()),
    |                     `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
157 |                     MessageToByteHandler(UInt16FrameEncoder()),
158 |                     dnsDecoder,
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
    | `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:157:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
155 |                 return channel.pipeline.addHandlers(
156 |                     ByteToMessageHandler(UInt16FrameDecoder()),
157 |                     MessageToByteHandler(UInt16FrameEncoder()),
    |                     `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
158 |                     dnsDecoder,
159 |                     DNSEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
    | `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:159:21: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
157 |                     MessageToByteHandler(UInt16FrameEncoder()),
158 |                     dnsDecoder,
159 |                     DNSEncoder()
    |                     `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
160 |                 )
161 |             }
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
[273/280] Compiling DNSClient DNSClient+Connect.swift
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:93:17: warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
 91 |         if let remoteAddress = remoteAddress {
 92 |             return channel.pipeline.addHandlers(
 93 |                 EnvelopeInboundChannel(),
    |                 `- warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
 94 |                 context.decoder,
 95 |                 EnvelopeOutboundChannel(address: remoteAddress),
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:4:13: note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  2 | import NIOConcurrencyHelpers
  3 |
  4 | final class EnvelopeInboundChannel: ChannelInboundHandler {
    |             `- note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  5 |     typealias InboundIn = AddressedEnvelope<ByteBuffer>
  6 |     typealias InboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:95:17: warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
 93 |                 EnvelopeInboundChannel(),
 94 |                 context.decoder,
 95 |                 EnvelopeOutboundChannel(address: remoteAddress),
    |                 `- warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
 96 |                 DNSEncoder()
 97 |             )
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:3:13: note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  1 | import NIO
  2 |
  3 | final class EnvelopeOutboundChannel: ChannelOutboundHandler {
    |             `- note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  4 |     typealias OutboundIn = ByteBuffer
  5 |     typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:96:17: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
 94 |                 context.decoder,
 95 |                 EnvelopeOutboundChannel(address: remoteAddress),
 96 |                 DNSEncoder()
    |                 `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
 97 |             )
 98 |         } else {
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:99:66: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
 97 |             )
 98 |         } else {
 99 |             return channel.pipeline.addHandlers(context.decoder, DNSEncoder())
    |                                                                  `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
100 |         }
101 |     }
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:120:21: warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
118 |             .channelInitializer { channel in
119 |                 return channel.pipeline.addHandlers(
120 |                     EnvelopeInboundChannel(),
    |                     `- warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:4:13: note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  2 | import NIOConcurrencyHelpers
  3 |
  4 | final class EnvelopeInboundChannel: ChannelInboundHandler {
    |             `- note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  5 |     typealias InboundIn = AddressedEnvelope<ByteBuffer>
  6 |     typealias InboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:122:21: warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
120 |                     EnvelopeInboundChannel(),
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
    |                     `- warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
123 |                     DNSEncoder()
124 |                 )
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:3:13: note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  1 | import NIO
  2 |
  3 | final class EnvelopeOutboundChannel: ChannelOutboundHandler {
    |             `- note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  4 |     typealias OutboundIn = ByteBuffer
  5 |     typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:123:21: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
123 |                     DNSEncoder()
    |                     `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
124 |                 )
125 |         }
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:156:21: warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
154 |             .channelInitializer { channel in
155 |                 return channel.pipeline.addHandlers(
156 |                     ByteToMessageHandler(UInt16FrameDecoder()),
    |                     `- warning: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
157 |                     MessageToByteHandler(UInt16FrameEncoder()),
158 |                     dnsDecoder,
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:507:1: note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
505 |
506 | @available(*, unavailable)
507 | extension ByteToMessageHandler: Sendable {}
    | `- note: conformance of 'ByteToMessageHandler<Decoder>' to 'Sendable' has been explicitly marked unavailable here
508 |
509 | // MARK: ByteToMessageHandler: Test Helpers
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:157:21: warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
155 |                 return channel.pipeline.addHandlers(
156 |                     ByteToMessageHandler(UInt16FrameDecoder()),
157 |                     MessageToByteHandler(UInt16FrameEncoder()),
    |                     `- warning: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
158 |                     dnsDecoder,
159 |                     DNSEncoder()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/Codec.swift:810:1: note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
808 |
809 | @available(*, unavailable)
810 | extension MessageToByteHandler: Sendable {}
    | `- note: conformance of 'MessageToByteHandler<Encoder>' to 'Sendable' has been explicitly marked unavailable here
811 |
812 | extension MessageToByteHandler {
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:159:21: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
157 |                     MessageToByteHandler(UInt16FrameEncoder()),
158 |                     dnsDecoder,
159 |                     DNSEncoder()
    |                     `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
160 |                 )
161 |             }
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
[274/280] Compiling DNSClient DNSEncoder.swift
[275/280] Compiling DNSClient Errors.swift
[276/280] Compiling DNSClient DNSClient+Query.swift
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:89:27: warning: type 'Message' does not conform to the 'Sendable' protocol
 87 |     /// - returns: A future with the response message
 88 |     public func sendQuery(forHost address: String, type: DNSResourceType, additionalOptions: MessageOptions? = nil) -> EventLoopFuture<Message> {
 89 |         channel.eventLoop.flatSubmit {
    |                           `- warning: type 'Message' does not conform to the 'Sendable' protocol
 90 |             let messageID = self.messageID.withLockedValue { id in
 91 |                 let newID = id &+ 1
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:102:40: warning: capture of 'additionalOptions' with non-sendable type 'MessageOptions?' in a '@Sendable' closure
100 |             }
101 |
102 |             if let additionalOptions = additionalOptions {
    |                                        `- warning: capture of 'additionalOptions' with non-sendable type 'MessageOptions?' in a '@Sendable' closure
103 |                 options.insert(additionalOptions)
104 |             }
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:5:15: note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:108:66: warning: capture of 'type' with non-sendable type 'DNSResourceType' in a '@Sendable' closure
106 |             let header = DNSMessageHeader(id: messageID, options: options, questionCount: 1, answerCount: 0, authorityCount: 0, additionalRecordCount: 0)
107 |             let labels = address.split(separator: ".").map(String.init).map(DNSLabel.init)
108 |             let question = QuestionSection(labels: labels, type: type, questionClass: .internet)
    |                                                                  `- warning: capture of 'type' with non-sendable type 'DNSResourceType' in a '@Sendable' closure
109 |             let message = Message(header: header, questions: [question], answers: [], authorities: [], additionalData: [])
110 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:66:13: note: consider making enum 'DNSResourceType' conform to the 'Sendable' protocol
 64 | ///
 65 | /// The official standard list of all Resource Record (RR) Types. [IANA](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4)
 66 | public enum DNSResourceType: UInt16 {
    |             `- note: consider making enum 'DNSResourceType' conform to the 'Sendable' protocol
 67 |     /// A request for an IPv4 address
 68 |     case a = 1
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:118:21: warning: type 'Message' does not conform to the 'Sendable' protocol
116 |         let promise: EventLoopPromise<Message> = loop.makePromise()
117 |
118 |         return loop.flatSubmit {
    |                     `- warning: type 'Message' does not conform to the 'Sendable' protocol
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:122:26: warning: type 'Message' does not conform to the 'Sendable' protocol
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
    |                          `- warning: type 'Message' does not conform to the 'Sendable' protocol
123 |
124 |             struct DNSTimeoutError: Error {}
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
118 |         return loop.flatSubmit {
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
    |                       `- warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
118 |         return loop.flatSubmit {
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
    |                       `- warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:48:27: warning: type 'Message' does not conform to the 'Sendable' protocol
 46 |             }
 47 |
 48 |             query.promise.succeed(message)
    |                           `- warning: type 'Message' does not conform to the 'Sendable' protocol
 49 |             cache[message.header.id] = nil
 50 |         }
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
[277/280] Compiling DNSClient DNSDecoder.swift
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:89:27: warning: type 'Message' does not conform to the 'Sendable' protocol
 87 |     /// - returns: A future with the response message
 88 |     public func sendQuery(forHost address: String, type: DNSResourceType, additionalOptions: MessageOptions? = nil) -> EventLoopFuture<Message> {
 89 |         channel.eventLoop.flatSubmit {
    |                           `- warning: type 'Message' does not conform to the 'Sendable' protocol
 90 |             let messageID = self.messageID.withLockedValue { id in
 91 |                 let newID = id &+ 1
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:102:40: warning: capture of 'additionalOptions' with non-sendable type 'MessageOptions?' in a '@Sendable' closure
100 |             }
101 |
102 |             if let additionalOptions = additionalOptions {
    |                                        `- warning: capture of 'additionalOptions' with non-sendable type 'MessageOptions?' in a '@Sendable' closure
103 |                 options.insert(additionalOptions)
104 |             }
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:5:15: note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:108:66: warning: capture of 'type' with non-sendable type 'DNSResourceType' in a '@Sendable' closure
106 |             let header = DNSMessageHeader(id: messageID, options: options, questionCount: 1, answerCount: 0, authorityCount: 0, additionalRecordCount: 0)
107 |             let labels = address.split(separator: ".").map(String.init).map(DNSLabel.init)
108 |             let question = QuestionSection(labels: labels, type: type, questionClass: .internet)
    |                                                                  `- warning: capture of 'type' with non-sendable type 'DNSResourceType' in a '@Sendable' closure
109 |             let message = Message(header: header, questions: [question], answers: [], authorities: [], additionalData: [])
110 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:66:13: note: consider making enum 'DNSResourceType' conform to the 'Sendable' protocol
 64 | ///
 65 | /// The official standard list of all Resource Record (RR) Types. [IANA](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4)
 66 | public enum DNSResourceType: UInt16 {
    |             `- note: consider making enum 'DNSResourceType' conform to the 'Sendable' protocol
 67 |     /// A request for an IPv4 address
 68 |     case a = 1
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:118:21: warning: type 'Message' does not conform to the 'Sendable' protocol
116 |         let promise: EventLoopPromise<Message> = loop.makePromise()
117 |
118 |         return loop.flatSubmit {
    |                     `- warning: type 'Message' does not conform to the 'Sendable' protocol
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:122:26: warning: type 'Message' does not conform to the 'Sendable' protocol
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
    |                          `- warning: type 'Message' does not conform to the 'Sendable' protocol
123 |
124 |             struct DNSTimeoutError: Error {}
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
118 |         return loop.flatSubmit {
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
    |                       `- warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
118 |         return loop.flatSubmit {
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
    |                       `- warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:48:27: warning: type 'Message' does not conform to the 'Sendable' protocol
 46 |             }
 47 |
 48 |             query.promise.succeed(message)
    |                           `- warning: type 'Message' does not conform to the 'Sendable' protocol
 49 |             cache[message.header.id] = nil
 50 |         }
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
[278/280] Compiling DNSClient Helpers.swift
[279/280] Compiling DNSClient Message.swift
[280/280] Emitting module DNSClient
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:120:21: warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
118 |             .channelInitializer { channel in
119 |                 return channel.pipeline.addHandlers(
120 |                     EnvelopeInboundChannel(),
    |                     `- warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:4:13: note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  2 | import NIOConcurrencyHelpers
  3 |
  4 | final class EnvelopeInboundChannel: ChannelInboundHandler {
    |             `- note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
  5 |     typealias InboundIn = AddressedEnvelope<ByteBuffer>
  6 |     typealias InboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:122:21: warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
120 |                     EnvelopeInboundChannel(),
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
    |                     `- warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
123 |                     DNSEncoder()
124 |                 )
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:3:13: note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  1 | import NIO
  2 |
  3 | final class EnvelopeOutboundChannel: ChannelOutboundHandler {
    |             `- note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
  4 |     typealias OutboundIn = ByteBuffer
  5 |     typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:123:21: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
121 |                     dnsDecoder,
122 |                     EnvelopeOutboundChannel(address: address),
123 |                     DNSEncoder()
    |                     `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
124 |                 )
125 |         }
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 48 | }
 49 |
 50 | public final class DNSEncoder: ChannelOutboundHandler {
    |                    `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
 51 |     public typealias OutboundIn = Message
 52 |     public typealias OutboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:118:21: warning: type 'Message' does not conform to the 'Sendable' protocol
116 |         let promise: EventLoopPromise<Message> = loop.makePromise()
117 |
118 |         return loop.flatSubmit {
    |                     `- warning: type 'Message' does not conform to the 'Sendable' protocol
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:122:26: warning: type 'Message' does not conform to the 'Sendable' protocol
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
    |                          `- warning: type 'Message' does not conform to the 'Sendable' protocol
123 |
124 |             struct DNSTimeoutError: Error {}
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
118 |         return loop.flatSubmit {
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
    |                       `- warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
118 |         return loop.flatSubmit {
119 |             self.dnsDecoder.messageCache.withLockedValue { cache in
120 |                 cache[message.header.id] = SentQuery(message: message, promise: promise)
    |                       `- warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
121 |             }
122 |             self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
    |               `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 |     public internal(set) var header: DNSMessageHeader
477 |     public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:16:23: warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
14 |     }
15 |
16 |     public static let answer: MessageOptions = 0b10000000_00000000
   |                       |- warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'answer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:17:23: warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
15 |
16 |     public static let answer: MessageOptions = 0b10000000_00000000
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
   |                       |- warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'authorativeAnswer' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
19 |     public static let recursionDesired: MessageOptions = 0b00000001_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:18:23: warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
16 |     public static let answer: MessageOptions = 0b10000000_00000000
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
   |                       |- warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'truncated' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:19:23: warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
19 |     public static let recursionDesired: MessageOptions = 0b00000001_00000000
   |                       |- warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'recursionDesired' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:20:23: warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
19 |     public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
   |                       |- warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'recursionAvailable' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |     public static let standardQuery: MessageOptions = 0b00000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:22:23: warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
22 |     public static let standardQuery: MessageOptions = 0b00000000_00000000
   |                       |- warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'standardQuery' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:23:23: warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
21 |
22 |     public static let standardQuery: MessageOptions = 0b00000000_00000000
23 |     public static let inverseQuery: MessageOptions = 0b00001000_00000000
   |                       |- warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'inverseQuery' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:24:23: warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
22 |     public static let standardQuery: MessageOptions = 0b00000000_00000000
23 |     public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
   |                       |- warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'serverStatusQuery' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:26:23: warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
26 |     public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
   |                       |- warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeSuccess' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |     public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:27:23: warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
25 |
26 |     public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 |     public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
   |                       |- warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeFormatError' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:28:23: warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
26 |     public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 |     public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
   |                       |- warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeServerfailure' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 |     public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:29:23: warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
27 |     public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
   |                       |- warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeNameError' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 |     public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:30:23: warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
28 |     public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 |     public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
   |                       |- warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeNotImplemented' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:31:23: warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
29 |     public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 |     public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 |     public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
   |                       |- warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'resultCodeNotRefused' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 |     public static let multicastResponse: MessageOptions = 0b10000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:33:23: warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
31 |     public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
33 |     public static let multicastResponse: MessageOptions = 0b10000000_00000000
   |                       |- warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'multicastResponse' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
35 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:34:23: warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 3 |
 4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
 5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
   |               `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
 6 |     public var rawValue: UInt16
 7 |
   :
32 |
33 |     public static let multicastResponse: MessageOptions = 0b10000000_00000000
34 |     public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
   |                       |- warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'mutlicastUnauthenticatedDataAcceptable' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     public var isAnswer: Bool {
Build complete! (63.89s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-nio-transport-services",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.19.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-transport-services.git"
    }
  ],
  "manifest_display_name" : "DNSClient",
  "name" : "DNSClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "DNSClient",
      "targets" : [
        "DNSClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DNSClientTests",
      "module_type" : "SwiftTarget",
      "name" : "DNSClientTests",
      "path" : "Tests/DNSClientTests",
      "product_dependencies" : [
        "NIO"
      ],
      "sources" : [
        "DNSTCPClientTests.swift",
        "DNSUDPClientTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "DNSClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DNSClient",
      "module_type" : "SwiftTarget",
      "name" : "DNSClient",
      "path" : "Sources/DNSClient",
      "product_dependencies" : [
        "NIOTransportServices",
        "NIO"
      ],
      "product_memberships" : [
        "DNSClient"
      ],
      "sources" : [
        "Client.swift",
        "DNSClient+Connect.swift",
        "DNSClient+Query.swift",
        "DNSDecoder.swift",
        "DNSEncoder.swift",
        "Errors.swift",
        "Helpers.swift",
        "Messages/Message.swift",
        "Messages/MessageOptions.swift",
        "PTR.swift",
        "ResolvConf/ConfigParser.swift",
        "SRV.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.