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 main (751226), with Swift 6.0 for Linux on 7 Feb 2025 03:30:50 UTC.

Swift 6 data race errors: 17

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/DNSClient.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7512266 Merge branch 'master'
Cloned https://github.com/orlandos-nl/DNSClient.git
Revision (git rev-parse @):
7512266cd5a212fb52596abac63febe77d963b27
SUCCESS checkout https://github.com/orlandos-nl/DNSClient.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
[1/2318] Fetching swift-nio-transport-services
[2018/75876] Fetching swift-nio-transport-services, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (7.63s)
Fetched https://github.com/apple/swift-nio.git from cache (7.79s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.1 (1.22s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (2.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.24s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.80.0 (1.55s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/15648] Fetching swift-collections
[784/19699] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.76s)
[4382/15648] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.90s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (1.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.55s)
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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.80.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.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Building for debugging...
[0/24] Write sources
[13/24] Compiling CNIOWASI CNIOWASI.c
[13/24] Compiling CNIOWindows WSAStartup.c
[15/24] Compiling CNIOLinux liburing_shims.c
[15/24] Write sources
[17/24] Compiling CNIODarwin shim.c
[18/24] Compiling CNIOWindows shim.c
[19/24] Compiling CNIOLinux shim.c
[20/24] Compiling _AtomicsShims.c
[21/24] Write swift-version-24593BA9C3E375BF.txt
[23/66] Emitting module InternalCollectionsUtilities
[23/68] Compiling c-nioatomics.c
[24/68] Compiling c-atomics.c
[26/74] Emitting module NIOConcurrencyHelpers
[27/74] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[28/74] Compiling InternalCollectionsUtilities _SortedCollection.swift
[29/74] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[30/74] Emitting module Atomics
[31/75] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[32/76] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[33/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/76] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[35/76] Compiling InternalCollectionsUtilities Integer rank.swift
[36/76] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[37/76] Compiling InternalCollectionsUtilities UInt+reversed.swift
[38/76] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[39/76] Compiling InternalCollectionsUtilities Debugging.swift
[40/76] Compiling InternalCollectionsUtilities Descriptions.swift
[41/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[42/76] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[43/76] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[44/76] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[45/76] Compiling InternalCollectionsUtilities Specialize.swift
[48/76] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[49/76] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[58/76] Compiling _NIODataStructures _TinyArray.swift
[59/76] Emitting module _NIOBase64
[60/76] Compiling _NIODataStructures PriorityQueue.swift
[61/76] Compiling _NIOBase64 Base64.swift
[72/78] Compiling Atomics IntegerOperations.swift
[73/78] Compiling Atomics Unmanaged extensions.swift
[75/79] Compiling NIOConcurrencyHelpers NIOLock.swift
[76/79] Compiling _NIODataStructures Heap.swift
[77/79] Emitting module _NIODataStructures
[78/79] Compiling NIOConcurrencyHelpers atomics.swift
[79/79] Compiling NIOConcurrencyHelpers lock.swift
[82/96] Compiling DequeModule Deque+CustomReflectable.swift
[83/96] Compiling DequeModule Deque+Descriptions.swift
[84/98] Compiling DequeModule _DequeBuffer.swift
[85/98] Compiling DequeModule _DequeBufferHeader.swift
[86/98] Compiling DequeModule Deque+Extras.swift
[87/98] Compiling DequeModule Deque+Hashable.swift
[88/98] Compiling DequeModule Deque+Equatable.swift
[89/98] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[90/98] Compiling DequeModule _DequeSlot.swift
[91/98] Compiling DequeModule _UnsafeWrappedBuffer.swift
[92/98] Compiling DequeModule Deque+Testing.swift
[93/98] Compiling DequeModule Deque._Storage.swift
[94/98] Compiling DequeModule Deque._UnsafeHandle.swift
[95/98] Compiling DequeModule Deque.swift
[96/98] Compiling DequeModule Deque+Codable.swift
[97/98] Compiling DequeModule Deque+Collection.swift
[98/98] Emitting module DequeModule
[100/158] Compiling NIOCore MarkedCircularBuffer.swift
[101/158] Compiling NIOCore MulticastChannel.swift
[102/158] Compiling NIOCore NIOAny.swift
[103/158] Compiling NIOCore NIOCloseOnErrorHandler.swift
[104/158] Compiling NIOCore NIOLoopBound.swift
[105/158] Compiling NIOCore NIOScheduledCallback.swift
[106/158] Compiling NIOCore NIOSendable.swift
[107/158] Compiling NIOCore RecvByteBufferAllocator.swift
[108/166] Compiling NIOCore GlobalSingletons.swift
[109/166] Compiling NIOCore IO.swift
[110/166] Compiling NIOCore IOData.swift
[111/166] Compiling NIOCore IPProtocol.swift
[112/166] Compiling NIOCore IntegerBitPacking.swift
[113/166] Compiling NIOCore IntegerTypes.swift
[114/166] Compiling NIOCore Interfaces.swift
[115/166] Compiling NIOCore Linux.swift
[116/166] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[117/166] Compiling NIOCore SocketAddresses.swift
[118/166] Compiling NIOCore SocketOptionProvider.swift
[119/166] Compiling NIOCore SystemCallHelpers.swift
[120/166] Compiling NIOCore TimeAmount+Duration.swift
[121/166] Compiling NIOCore TypeAssistedChannelHandler.swift
[122/166] Compiling NIOCore UniversalBootstrapSupport.swift
[123/166] Compiling NIOCore Utilities.swift
[124/166] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[125/166] Compiling NIOCore BSDSocketAPI.swift
[126/166] Compiling NIOCore ByteBuffer-aux.swift
[127/166] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[128/166] Compiling NIOCore ByteBuffer-conversions.swift
[129/166] Compiling NIOCore ByteBuffer-core.swift
[130/166] Compiling NIOCore ByteBuffer-hex.swift
[131/166] Compiling NIOCore ByteBuffer-int.swift
[132/166] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[133/166] Compiling NIOCore EventLoop.swift
[134/166] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[135/166] Compiling NIOCore EventLoopFuture+Deprecated.swift
[136/166] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[137/166] Compiling NIOCore EventLoopFuture.swift
[138/166] Compiling NIOCore FileDescriptor.swift
[139/166] Compiling NIOCore FileHandle.swift
[140/166] Compiling NIOCore FileRegion.swift
[141/166] Compiling NIOCore ByteBuffer-multi-int.swift
[142/166] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[143/166] Compiling NIOCore ByteBuffer-views.swift
[144/166] Compiling NIOCore Channel.swift
[145/166] Compiling NIOCore ChannelHandler.swift
[146/166] Compiling NIOCore ChannelHandlers.swift
[147/166] Compiling NIOCore ChannelInvoker.swift
[148/166] Compiling NIOCore ChannelOption.swift
[149/166] Compiling NIOCore AddressedEnvelope.swift
[150/166] Compiling NIOCore AsyncAwaitSupport.swift
[151/166] Compiling NIOCore AsyncChannel.swift
[152/166] Compiling NIOCore AsyncChannelHandler.swift
[153/166] Compiling NIOCore AsyncChannelInboundStream.swift
[154/166] Compiling NIOCore AsyncChannelOutboundWriter.swift
[155/166] Compiling NIOCore NIOAsyncSequenceProducer.swift
[156/166] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[157/166] Compiling NIOCore NIOAsyncWriter.swift
[158/166] Compiling NIOCore ChannelPipeline.swift
[159/166] Compiling NIOCore CircularBuffer.swift
[160/166] Compiling NIOCore Codec.swift
[161/166] Compiling NIOCore ConvenienceOptionSupport.swift
[162/166] Compiling NIOCore DeadChannel.swift
[163/166] Compiling NIOCore DispatchQueue+WithFuture.swift
[164/166] Compiling NIOCore EventLoop+Deprecated.swift
[165/166] Compiling NIOCore EventLoop+SerialExecutor.swift
[166/166] Emitting module NIOCore
[168/218] Emitting module NIOEmbedded
[169/218] Compiling NIOEmbedded AsyncTestingChannel.swift
[170/218] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[171/218] Compiling NIOEmbedded Embedded.swift
[173/219] Compiling NIOPosix SelectableChannel.swift
[174/219] Compiling NIOPosix SelectableEventLoop.swift
[175/219] Compiling NIOPosix SelectorEpoll.swift
[176/219] Compiling NIOPosix SelectorGeneric.swift
[177/219] Compiling NIOPosix SelectorKqueue.swift
[178/219] Compiling NIOPosix SelectorUring.swift
[179/225] Compiling NIOPosix ServerSocket.swift
[180/225] Compiling NIOPosix Socket.swift
[181/225] Compiling NIOPosix SocketChannel.swift
[182/225] Compiling NIOPosix SocketProtocols.swift
[183/225] Compiling NIOPosix System.swift
[184/225] Compiling NIOPosix Thread.swift
[185/225] Compiling NIOPosix PooledRecvBufferAllocator.swift
[186/225] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[187/225] Compiling NIOPosix PosixSingletons.swift
[188/225] Compiling NIOPosix RawSocketBootstrap.swift
[189/225] Compiling NIOPosix Resolver.swift
[190/225] Compiling NIOPosix Selectable.swift
[191/225] Emitting module NIOPosix
[192/225] Compiling NIOPosix ThreadPosix.swift
[193/225] Compiling NIOPosix ThreadWindows.swift
[194/225] Compiling NIOPosix UnsafeTransfer.swift
[195/225] Compiling NIOPosix Utilities.swift
[196/225] Compiling NIOPosix VsockAddress.swift
[197/225] Compiling NIOPosix VsockChannelEvents.swift
[198/225] Compiling NIOPosix IO.swift
[199/225] Compiling NIOPosix IntegerBitPacking.swift
[200/225] Compiling NIOPosix IntegerTypes.swift
[201/225] Compiling NIOPosix Linux.swift
[202/225] Compiling NIOPosix LinuxCPUSet.swift
[203/225] Compiling NIOPosix LinuxUring.swift
[204/225] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[205/225] Compiling NIOPosix NIOThreadPool.swift
[206/225] Compiling NIOPosix NonBlockingFileIO.swift
[207/225] Compiling NIOPosix PendingDatagramWritesManager.swift
[208/225] Compiling NIOPosix PendingWritesManager.swift
[209/225] Compiling NIOPosix PipeChannel.swift
[210/225] Compiling NIOPosix PipePair.swift
[211/225] Compiling NIOPosix Pool.swift
[212/225] Compiling NIOPosix BSDSocketAPICommon.swift
[213/225] Compiling NIOPosix BSDSocketAPIPosix.swift
[214/225] Compiling NIOPosix BSDSocketAPIWindows.swift
[215/225] Compiling NIOPosix BaseSocket.swift
[216/225] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[217/225] Compiling NIOPosix BaseSocketChannel.swift
[218/225] Compiling NIOPosix BaseStreamSocketChannel.swift
[219/225] Compiling NIOPosix Bootstrap.swift
[220/225] Compiling NIOPosix ControlMessage.swift
[221/225] Compiling NIOPosix DatagramVectorReadManager.swift
[222/225] Compiling NIOPosix Errors+Any.swift
[223/225] Compiling NIOPosix FileDescriptor.swift
[224/225] Compiling NIOPosix GetaddrinfoResolver.swift
[225/225] Compiling NIOPosix HappyEyeballs.swift
[227/228] Compiling NIO Exports.swift
[228/228] Emitting module NIO
[230/240] Compiling NIOTLS TLSEvents.swift
[231/240] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[232/240] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[233/240] Emitting module NIOTLS
[234/240] Compiling NIOTLS SNIHandler.swift
[235/240] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[237/241] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[238/241] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[239/241] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[240/241] Emitting module NIOFoundationCompat
[241/241] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[243/264] Emitting module NIOTransportServices
[244/266] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[245/266] Compiling NIOTransportServices NIOTSSingletons.swift
[246/266] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[247/266] Compiling NIOTransportServices NIOTSBootstraps.swift
[248/266] Compiling NIOTransportServices NIOTSChannelOptions.swift
[249/266] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[250/266] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[251/266] Compiling NIOTransportServices NIOTSErrors.swift
[252/266] Compiling NIOTransportServices NIOTSEventLoop.swift
[253/266] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[254/266] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[255/266] Compiling NIOTransportServices NIOTSListenerChannel.swift
[256/266] Compiling NIOTransportServices StateManagedChannel.swift
[257/266] Compiling NIOTransportServices StateManagedListenerChannel.swift
[258/266] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[259/266] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[260/266] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[261/266] Compiling NIOTransportServices AcceptHandler.swift
[262/266] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[263/266] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[264/266] Compiling NIOTransportServices NIOTSDatagramListener.swift
[265/266] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[266/266] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[268/279] Compiling DNSClient ConfigParser.swift
[269/280] Compiling DNSClient PTR.swift
[270/280] Compiling DNSClient SRV.swift
[271/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
[272/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
[273/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/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: annotate 'standardQuery' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/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: annotate 'recursionDesired' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/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]
/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: annotate 'answer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
[274/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/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: annotate 'standardQuery' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 |     public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/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: annotate 'recursionDesired' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/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]
/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: annotate 'answer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 |     public static let truncated: MessageOptions = 0b00000010_00000000
[275/280] Compiling DNSClient DNSEncoder.swift
[276/280] Compiling DNSClient Errors.swift
[277/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: annotate 'answer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     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: annotate 'authorativeAnswer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     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: annotate 'truncated' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     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: annotate 'recursionDesired' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     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: annotate 'recursionAvailable' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |     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: annotate 'standardQuery' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     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: annotate 'inverseQuery' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     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: annotate 'serverStatusQuery' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     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: annotate 'resultCodeSuccess' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |     public static let 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: annotate 'resultCodeFormatError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let 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: annotate 'resultCodeServerfailure' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     public static let 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: annotate 'resultCodeNameError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static let 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: annotate 'resultCodeNotImplemented' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     public static let 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: annotate 'resultCodeNotRefused' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 |     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: annotate 'multicastResponse' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     public static let 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: annotate 'mutlicastUnauthenticatedDataAcceptable' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     public var isAnswer: Bool {
[278/280] Compiling DNSClient Helpers.swift
[279/280] Compiling DNSClient Message.swift
[280/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: annotate 'answer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     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: annotate 'authorativeAnswer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     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: annotate 'truncated' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |     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: annotate 'recursionDesired' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |     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: annotate 'recursionAvailable' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 |     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: annotate 'standardQuery' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |     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: annotate 'inverseQuery' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     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: annotate 'serverStatusQuery' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 |     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: annotate 'resultCodeSuccess' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |     public static let 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: annotate 'resultCodeFormatError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |     public static let 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: annotate 'resultCodeServerfailure' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     public static let 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: annotate 'resultCodeNameError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |     public static let 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: annotate 'resultCodeNotImplemented' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     public static let 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: annotate 'resultCodeNotRefused' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 |     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: annotate 'multicastResponse' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |     public static let 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: annotate 'mutlicastUnauthenticatedDataAcceptable' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 |     public var isAnswer: Bool {
Build complete! (106.16s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.