The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of DNSClient, reference 2.4.4 (551fbd), with Swift 6.0 for Linux on 6 Feb 2025 20:46:35 UTC.

Swift 6 data race errors: 17

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: 2.4.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/orlandos-nl/DNSClient
 * tag               2.4.4      -> FETCH_HEAD
HEAD is now at 551fbdd Merge tag '2.4.3'
Cloned https://github.com/orlandos-nl/DNSClient.git
Revision (git rev-parse @):
551fbddbf4fa728d4cd86f6a5208fe4f925f0549
SUCCESS checkout https://github.com/orlandos-nl/DNSClient.git at 2.4.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.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-4609320-0":/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
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.26s)
[1/73558] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.48s)
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 (0.50s)
Fetching https://github.com/apple/swift-atomics.git
[1/1569] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.80.0 (0.73s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4051] Fetching swift-system
[1500/19682] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.87s)
Fetched https://github.com/apple/swift-collections.git from cache (0.89s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.1
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/24] Write sources
[14/24] Compiling CNIOWindows WSAStartup.c
[15/24] Compiling CNIOWASI CNIOWASI.c
[16/24] Compiling CNIOWindows shim.c
[16/24] Compiling CNIOLinux liburing_shims.c
[18/24] Compiling CNIODarwin shim.c
[19/24] Compiling _AtomicsShims.c
[20/24] Compiling CNIOLinux shim.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 Atomics
[27/76] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/76] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[30/76] Compiling InternalCollectionsUtilities Specialize.swift
[31/76] Compiling _NIODataStructures _TinyArray.swift
[34/76] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[35/76] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[36/76] Emitting module _NIOBase64
[37/76] Compiling _NIOBase64 Base64.swift
[38/77] Compiling Atomics IntegerOperations.swift
[39/77] Compiling Atomics Unmanaged extensions.swift
[43/77] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[44/77] Emitting module NIOConcurrencyHelpers
[45/77] Compiling InternalCollectionsUtilities UInt+reversed.swift
[46/77] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[47/77] Compiling InternalCollectionsUtilities Debugging.swift
[48/77] Compiling InternalCollectionsUtilities Descriptions.swift
[49/77] Compiling InternalCollectionsUtilities _SortedCollection.swift
[50/77] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[53/77] Compiling _NIODataStructures PriorityQueue.swift
[60/77] Compiling Atomics OptionalRawRepresentable.swift
[61/77] Compiling Atomics RawRepresentable.swift
[62/77] Compiling Atomics AtomicBool.swift
[66/77] Compiling Atomics IntegerConformances.swift
[67/77] Compiling Atomics PointerConformances.swift
[68/77] Compiling Atomics Primitives.native.swift
[74/94] Compiling NIOConcurrencyHelpers atomics.swift
[75/94] Compiling DequeModule _DequeBuffer.swift
[76/94] Compiling DequeModule _DequeBufferHeader.swift
[77/95] Compiling NIOConcurrencyHelpers NIOLock.swift
[78/96] Emitting module _NIODataStructures
[79/96] Compiling _NIODataStructures Heap.swift
[80/97] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[81/97] Compiling NIOConcurrencyHelpers lock.swift
[82/98] Compiling DequeModule Deque+Equatable.swift
[83/98] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[84/98] Compiling DequeModule Deque+Extras.swift
[85/98] Compiling DequeModule Deque+Hashable.swift
[86/98] Compiling DequeModule Deque+CustomReflectable.swift
[87/98] Compiling DequeModule Deque+Descriptions.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 SingleStepByteToMessageDecoder.swift
[109/166] Compiling NIOCore SocketAddresses.swift
[110/166] Compiling NIOCore SocketOptionProvider.swift
[111/166] Compiling NIOCore SystemCallHelpers.swift
[112/166] Compiling NIOCore TimeAmount+Duration.swift
[113/166] Compiling NIOCore TypeAssistedChannelHandler.swift
[114/166] Compiling NIOCore UniversalBootstrapSupport.swift
[115/166] Compiling NIOCore Utilities.swift
[116/166] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[117/166] Compiling NIOCore BSDSocketAPI.swift
[118/166] Compiling NIOCore ByteBuffer-aux.swift
[119/166] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[120/166] Compiling NIOCore ByteBuffer-conversions.swift
[121/166] Compiling NIOCore ByteBuffer-core.swift
[122/166] Compiling NIOCore ByteBuffer-hex.swift
[123/166] Compiling NIOCore ByteBuffer-int.swift
[124/166] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[125/166] Compiling NIOCore GlobalSingletons.swift
[126/166] Compiling NIOCore IO.swift
[127/166] Compiling NIOCore IOData.swift
[128/166] Compiling NIOCore IPProtocol.swift
[129/166] Compiling NIOCore IntegerBitPacking.swift
[130/166] Compiling NIOCore IntegerTypes.swift
[131/166] Compiling NIOCore Interfaces.swift
[132/166] Compiling NIOCore Linux.swift
[133/166] Compiling NIOCore ChannelPipeline.swift
[134/166] Compiling NIOCore CircularBuffer.swift
[135/166] Compiling NIOCore Codec.swift
[136/166] Compiling NIOCore ConvenienceOptionSupport.swift
[137/166] Compiling NIOCore DeadChannel.swift
[138/166] Compiling NIOCore DispatchQueue+WithFuture.swift
[139/166] Compiling NIOCore EventLoop+Deprecated.swift
[140/166] Compiling NIOCore EventLoop+SerialExecutor.swift
[141/166] Compiling NIOCore EventLoop.swift
[142/166] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[143/166] Compiling NIOCore EventLoopFuture+Deprecated.swift
[144/166] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[145/166] Compiling NIOCore EventLoopFuture.swift
[146/166] Compiling NIOCore FileDescriptor.swift
[147/166] Compiling NIOCore FileHandle.swift
[148/166] Compiling NIOCore FileRegion.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 ByteBuffer-multi-int.swift
[159/166] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[160/166] Compiling NIOCore ByteBuffer-views.swift
[161/166] Compiling NIOCore Channel.swift
[162/166] Compiling NIOCore ChannelHandler.swift
[163/166] Compiling NIOCore ChannelHandlers.swift
[164/166] Compiling NIOCore ChannelInvoker.swift
[165/166] Compiling NIOCore ChannelOption.swift
[166/166] Emitting module NIOCore
[168/218] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[169/218] Compiling NIOEmbedded AsyncTestingChannel.swift
[170/218] Emitting module NIOEmbedded
[171/218] Compiling NIOEmbedded Embedded.swift
[173/219] Compiling NIOPosix IO.swift
[174/219] Compiling NIOPosix IntegerBitPacking.swift
[175/219] Compiling NIOPosix IntegerTypes.swift
[176/219] Compiling NIOPosix Linux.swift
[177/219] Compiling NIOPosix LinuxCPUSet.swift
[178/219] Compiling NIOPosix LinuxUring.swift
[179/219] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[180/225] Compiling NIOPosix SelectableChannel.swift
[181/225] Compiling NIOPosix SelectableEventLoop.swift
[182/225] Compiling NIOPosix SelectorEpoll.swift
[183/225] Compiling NIOPosix SelectorGeneric.swift
[184/225] Compiling NIOPosix SelectorKqueue.swift
[185/225] Compiling NIOPosix SelectorUring.swift
[186/225] Compiling NIOPosix PooledRecvBufferAllocator.swift
[187/225] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[188/225] Compiling NIOPosix PosixSingletons.swift
[189/225] Compiling NIOPosix RawSocketBootstrap.swift
[190/225] Compiling NIOPosix Resolver.swift
[191/225] Compiling NIOPosix Selectable.swift
[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 ServerSocket.swift
[199/225] Compiling NIOPosix Socket.swift
[200/225] Compiling NIOPosix SocketChannel.swift
[201/225] Compiling NIOPosix SocketProtocols.swift
[202/225] Compiling NIOPosix System.swift
[203/225] Compiling NIOPosix Thread.swift
[204/225] Emitting module NIOPosix
[205/225] Compiling NIOPosix BSDSocketAPICommon.swift
[206/225] Compiling NIOPosix BSDSocketAPIPosix.swift
[207/225] Compiling NIOPosix BSDSocketAPIWindows.swift
[208/225] Compiling NIOPosix BaseSocket.swift
[209/225] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[210/225] Compiling NIOPosix BaseSocketChannel.swift
[211/225] Compiling NIOPosix BaseStreamSocketChannel.swift
[212/225] Compiling NIOPosix Bootstrap.swift
[213/225] Compiling NIOPosix ControlMessage.swift
[214/225] Compiling NIOPosix DatagramVectorReadManager.swift
[215/225] Compiling NIOPosix Errors+Any.swift
[216/225] Compiling NIOPosix FileDescriptor.swift
[217/225] Compiling NIOPosix GetaddrinfoResolver.swift
[218/225] Compiling NIOPosix HappyEyeballs.swift
[219/225] Compiling NIOPosix NIOThreadPool.swift
[220/225] Compiling NIOPosix NonBlockingFileIO.swift
[221/225] Compiling NIOPosix PendingDatagramWritesManager.swift
[222/225] Compiling NIOPosix PendingWritesManager.swift
[223/225] Compiling NIOPosix PipeChannel.swift
[224/225] Compiling NIOPosix PipePair.swift
[225/225] Compiling NIOPosix Pool.swift
[227/228] Compiling NIO Exports.swift
[228/228] Emitting module NIO
[230/240] Emitting module NIOTLS
[231/240] Compiling NIOTLS TLSEvents.swift
[232/240] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[233/240] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[234/240] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[235/240] Compiling NIOTLS SNIHandler.swift
[237/241] Emitting module NIOFoundationCompat
[238/241] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[239/241] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[240/241] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[241/241] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[243/264] Compiling NIOTransportServices NIOTSBootstraps.swift
[244/264] Compiling NIOTransportServices NIOTSChannelOptions.swift
[245/264] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[246/264] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[247/264] Compiling NIOTransportServices NIOTSSingletons.swift
[248/264] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[249/266] Compiling NIOTransportServices StateManagedChannel.swift
[250/266] Compiling NIOTransportServices StateManagedListenerChannel.swift
[251/266] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[252/266] Emitting module NIOTransportServices
[253/266] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[254/266] Compiling NIOTransportServices NIOTSErrors.swift
[255/266] Compiling NIOTransportServices NIOTSEventLoop.swift
[256/266] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[257/266] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[258/266] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[259/266] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[260/266] Compiling NIOTransportServices NIOTSListenerChannel.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 DNSEncoder.swift
[270/280] Compiling DNSClient Errors.swift
[271/280] Compiling DNSClient PTR.swift
[272/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 {
[273/280] Compiling DNSClient SRV.swift
[274/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
[275/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
[276/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 {
[277/280] Compiling DNSClient Helpers.swift
[278/280] Compiling DNSClient Message.swift
[279/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
[280/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
Build complete! (50.03s)
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.