Build Information
Failed to build DNSClient, reference 2.4.4 (551fbd
), with Swift 6.1 for Android on 30 May 2025 08:20:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/orlandos-nl/DNSClient.git
https://github.com/orlandos-nl/DNSClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-transport-services",
"requirement" : {
"range" : [
{
"lower_bound" : "1.19.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
}
],
"manifest_display_name" : "DNSClient",
"name" : "DNSClient",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DNSClient",
"targets" : [
"DNSClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DNSClientTests",
"module_type" : "SwiftTarget",
"name" : "DNSClientTests",
"path" : "Tests/DNSClientTests",
"product_dependencies" : [
"NIO"
],
"sources" : [
"DNSTCPClientTests.swift",
"DNSUDPClientTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DNSClient"
],
"type" : "test"
},
{
"c99name" : "DNSClient",
"module_type" : "SwiftTarget",
"name" : "DNSClient",
"path" : "Sources/DNSClient",
"product_dependencies" : [
"NIOTransportServices",
"NIO"
],
"product_memberships" : [
"DNSClient"
],
"sources" : [
"Client.swift",
"DNSClient+Connect.swift",
"DNSClient+Query.swift",
"DNSDecoder.swift",
"DNSEncoder.swift",
"Errors.swift",
"Helpers.swift",
"Messages/Message.swift",
"Messages/MessageOptions.swift",
"PTR.swift",
"ResolvConf/ConfigParser.swift",
"SRV.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
[2668/78775] Fetching swift-nio-transport-services, swift-nio
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (7.09s)
Fetched https://github.com/apple/swift-nio.git from cache (7.24s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (8.02s)
Fetching https://github.com/apple/swift-atomics.git
[1/1710] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (2.77s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[4392/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.84s)
[11614/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.25s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.85s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (1.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.93s)
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Building for debugging...
[0/24] Write sources
[13/24] Compiling CNIOWindows WSAStartup.c
[14/24] Compiling CNIOWASI CNIOWASI.c
[15/24] Compiling CNIODarwin shim.c
[16/24] Write sources
[17/24] Compiling CNIOLinux liburing_shims.c
[18/24] Compiling _AtomicsShims.c
[19/24] Compiling CNIOWindows shim.c
[20/24] Compiling CNIOLinux shim.c
[21/24] Write swift-version-24593BA9C3E375BF.txt
[22/63] Compiling c-nioatomics.c
[24/63] Compiling _NIODataStructures PriorityQueue.swift
[25/63] Compiling _NIODataStructures _TinyArray.swift
[26/63] Compiling Atomics ManagedAtomic.swift
[27/63] Compiling Atomics ManagedAtomicLazyReference.swift
[28/65] Emitting module _NIOBase64
[29/65] Compiling _NIOBase64 Base64.swift
[30/66] Compiling Atomics AtomicMemoryOrderings.swift
[31/66] Compiling Atomics DoubleWord.swift
[31/66] Compiling c-atomics.c
[33/66] Compiling Atomics PointerConformances.swift
[34/66] Compiling Atomics Primitives.native.swift
[35/66] Compiling Atomics Primitives.shims.swift
[36/66] Compiling Atomics AtomicInteger.swift
[37/67] Emitting module _NIODataStructures
[39/67] Compiling _NIODataStructures Heap.swift
[40/68] Compiling Atomics AtomicBool.swift
[41/68] Compiling Atomics IntegerConformances.swift
[42/68] Compiling Atomics AtomicStorage.swift
[43/68] Compiling Atomics AtomicValue.swift
[44/68] Compiling Atomics AtomicOptionalWrappable.swift
[45/68] Compiling Atomics AtomicReference.swift
[46/68] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/68] Compiling Atomics UnsafeAtomic.swift
[48/68] Compiling Atomics UnsafeAtomicLazyReference.swift
[58/68] Compiling Atomics OptionalRawRepresentable.swift
[59/68] Compiling Atomics RawRepresentable.swift
[61/68] Emitting module Atomics
[62/68] Emitting module InternalCollectionsUtilities
[66/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[68/75] Compiling Atomics IntegerOperations.swift
[69/75] Compiling Atomics Unmanaged extensions.swift
[71/76] Compiling NIOConcurrencyHelpers lock.swift
[72/91] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[73/91] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[74/91] Emitting module NIOConcurrencyHelpers
[75/91] Compiling NIOConcurrencyHelpers NIOLock.swift
[76/91] Compiling NIOConcurrencyHelpers atomics.swift
[77/92] Compiling DequeModule _DequeBuffer.swift
[78/92] Compiling DequeModule _DequeBufferHeader.swift
[80/94] Compiling DequeModule Deque+Equatable.swift
[81/94] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[82/94] Compiling DequeModule Deque+CustomReflectable.swift
[83/94] Compiling DequeModule Deque+Descriptions.swift
[84/94] Compiling DequeModule _DequeSlot.swift
[85/94] Compiling DequeModule _UnsafeWrappedBuffer.swift
[86/94] Compiling DequeModule Deque+Testing.swift
[87/94] Compiling DequeModule Deque._Storage.swift
[88/94] Compiling DequeModule Deque+Extras.swift
[89/94] Compiling DequeModule Deque+Hashable.swift
[90/94] Compiling DequeModule Deque._UnsafeHandle.swift
[91/94] Compiling DequeModule Deque.swift
[92/94] Emitting module DequeModule
[93/94] Compiling DequeModule Deque+Codable.swift
[94/94] Compiling DequeModule Deque+Collection.swift
[96/155] Compiling NIOCore MulticastChannel.swift
[97/155] Compiling NIOCore NIOAny.swift
[98/155] Compiling NIOCore NIOCloseOnErrorHandler.swift
[99/155] Compiling NIOCore NIOLoopBound.swift
[100/155] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[101/155] Compiling NIOCore NIOScheduledCallback.swift
[102/155] Compiling NIOCore NIOSendable.swift
[103/155] Compiling NIOCore RecvByteBufferAllocator.swift
[104/163] Compiling NIOCore CircularBuffer.swift
[105/163] Compiling NIOCore Codec.swift
[106/163] Compiling NIOCore ConvenienceOptionSupport.swift
[107/163] Compiling NIOCore DeadChannel.swift
[108/163] Compiling NIOCore DispatchQueue+WithFuture.swift
[109/163] Compiling NIOCore EventLoop+Deprecated.swift
[110/163] Compiling NIOCore EventLoop+SerialExecutor.swift
[111/163] Compiling NIOCore EventLoop.swift
[112/163] Compiling NIOCore AddressedEnvelope.swift
[113/163] Compiling NIOCore AsyncAwaitSupport.swift
[114/163] Compiling NIOCore AsyncChannel.swift
[115/163] Compiling NIOCore AsyncChannelHandler.swift
[116/163] Compiling NIOCore AsyncChannelInboundStream.swift
[117/163] Compiling NIOCore AsyncChannelOutboundWriter.swift
[118/163] Compiling NIOCore NIOAsyncSequenceProducer.swift
[119/163] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[120/163] Compiling NIOCore NIOAsyncWriter.swift
[121/163] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[122/163] Compiling NIOCore SocketAddresses.swift
[123/163] Compiling NIOCore SocketOptionProvider.swift
[124/163] Compiling NIOCore SystemCallHelpers.swift
[125/163] Compiling NIOCore TimeAmount+Duration.swift
[126/163] Compiling NIOCore TypeAssistedChannelHandler.swift
[127/163] Compiling NIOCore UniversalBootstrapSupport.swift
[128/163] Compiling NIOCore Utilities.swift
[129/163] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[130/163] Compiling NIOCore BSDSocketAPI.swift
[131/163] Compiling NIOCore ByteBuffer-aux.swift
[132/163] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[133/163] Compiling NIOCore ByteBuffer-conversions.swift
[134/163] Compiling NIOCore ByteBuffer-core.swift
[135/163] Compiling NIOCore ByteBuffer-hex.swift
[136/163] Compiling NIOCore ByteBuffer-int.swift
[137/163] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[138/163] Emitting module NIOCore
[139/163] Compiling NIOCore IO.swift
[140/163] Compiling NIOCore IOData.swift
[141/163] Compiling NIOCore IPProtocol.swift
[142/163] Compiling NIOCore IntegerBitPacking.swift
[143/163] Compiling NIOCore IntegerTypes.swift
[144/163] Compiling NIOCore Interfaces.swift
[145/163] Compiling NIOCore Linux.swift
[146/163] Compiling NIOCore MarkedCircularBuffer.swift
[147/163] Compiling NIOCore ByteBuffer-multi-int.swift
[148/163] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[149/163] Compiling NIOCore ByteBuffer-views.swift
[150/163] Compiling NIOCore Channel.swift
[151/163] Compiling NIOCore ChannelHandler.swift
[152/163] Compiling NIOCore ChannelHandlers.swift
[153/163] Compiling NIOCore ChannelInvoker.swift
[154/163] Compiling NIOCore ChannelOption.swift
[155/163] Compiling NIOCore ChannelPipeline.swift
[156/163] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[157/163] Compiling NIOCore EventLoopFuture+Deprecated.swift
[158/163] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[159/163] Compiling NIOCore EventLoopFuture.swift
[160/163] Compiling NIOCore FileDescriptor.swift
[161/163] Compiling NIOCore FileHandle.swift
[162/163] Compiling NIOCore FileRegion.swift
[163/163] Compiling NIOCore GlobalSingletons.swift
[165/214] Emitting module NIOEmbedded
[166/214] Compiling NIOEmbedded AsyncTestingChannel.swift
[167/214] Compiling NIOEmbedded Embedded.swift
[168/214] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[170/215] Emitting module NIOPosix
[171/221] Compiling NIOPosix SelectableChannel.swift
[172/221] Compiling NIOPosix SelectableEventLoop.swift
[173/221] Compiling NIOPosix SelectorEpoll.swift
[174/221] Compiling NIOPosix SelectorGeneric.swift
[175/221] Compiling NIOPosix SelectorKqueue.swift
[176/221] Compiling NIOPosix SelectorUring.swift
[177/221] Compiling NIOPosix ThreadPosix.swift
[178/221] Compiling NIOPosix ThreadWindows.swift
[179/221] Compiling NIOPosix UnsafeTransfer.swift
[180/221] Compiling NIOPosix Utilities.swift
[181/221] Compiling NIOPosix VsockAddress.swift
[182/221] Compiling NIOPosix VsockChannelEvents.swift
[183/221] Compiling NIOPosix IO.swift
[184/221] Compiling NIOPosix IntegerBitPacking.swift
[185/221] Compiling NIOPosix IntegerTypes.swift
[186/221] Compiling NIOPosix Linux.swift
[187/221] Compiling NIOPosix LinuxCPUSet.swift
[188/221] Compiling NIOPosix LinuxUring.swift
[189/221] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[190/221] Compiling NIOPosix NIOThreadPool.swift
[191/221] Compiling NIOPosix NonBlockingFileIO.swift
[192/221] Compiling NIOPosix PendingDatagramWritesManager.swift
[193/221] Compiling NIOPosix PendingWritesManager.swift
[194/221] Compiling NIOPosix PipeChannel.swift
[195/221] Compiling NIOPosix PipePair.swift
[196/221] Compiling NIOPosix ServerSocket.swift
[197/221] Compiling NIOPosix Socket.swift
[198/221] Compiling NIOPosix SocketChannel.swift
[199/221] Compiling NIOPosix SocketProtocols.swift
[200/221] Compiling NIOPosix System.swift
[201/221] Compiling NIOPosix Thread.swift
[202/221] Compiling NIOPosix Pool.swift
[203/221] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[204/221] Compiling NIOPosix PosixSingletons.swift
[205/221] Compiling NIOPosix RawSocketBootstrap.swift
[206/221] Compiling NIOPosix Resolver.swift
[207/221] Compiling NIOPosix Selectable.swift
[208/221] Compiling NIOPosix BSDSocketAPICommon.swift
[209/221] Compiling NIOPosix BSDSocketAPIPosix.swift
[210/221] Compiling NIOPosix BSDSocketAPIWindows.swift
[211/221] Compiling NIOPosix BaseSocket.swift
[212/221] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[213/221] Compiling NIOPosix BaseSocketChannel.swift
[214/221] Compiling NIOPosix BaseStreamSocketChannel.swift
[215/221] Compiling NIOPosix Bootstrap.swift
[216/221] Compiling NIOPosix ControlMessage.swift
[217/221] Compiling NIOPosix DatagramVectorReadManager.swift
[218/221] Compiling NIOPosix Errors+Any.swift
[219/221] Compiling NIOPosix FileDescriptor.swift
[220/221] Compiling NIOPosix GetaddrinfoResolver.swift
[221/221] Compiling NIOPosix HappyEyeballs.swift
[223/224] Emitting module NIO
[224/224] Compiling NIO Exports.swift
[226/236] Compiling NIOTLS TLSEvents.swift
[227/236] Emitting module NIOTLS
[228/236] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[229/236] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[230/236] Compiling NIOTLS SNIHandler.swift
[231/236] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[233/237] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[234/237] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[235/237] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[236/237] Emitting module NIOFoundationCompat
[237/237] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[239/260] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[240/260] Compiling NIOTransportServices NIOTSErrors.swift
[241/260] Compiling NIOTransportServices NIOTSEventLoop.swift
[242/260] Compiling NIOTransportServices NIOTSBootstraps.swift
[243/260] Compiling NIOTransportServices NIOTSChannelOptions.swift
[244/260] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[245/260] Emitting module NIOTransportServices
[246/262] Compiling NIOTransportServices StateManagedChannel.swift
[247/262] Compiling NIOTransportServices StateManagedListenerChannel.swift
[248/262] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[249/262] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[250/262] Compiling NIOTransportServices NIOTSSingletons.swift
[251/262] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[252/262] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[253/262] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[254/262] Compiling NIOTransportServices NIOTSListenerChannel.swift
[255/262] Compiling NIOTransportServices AcceptHandler.swift
[256/262] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[257/262] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[258/262] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[259/262] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[260/262] Compiling NIOTransportServices NIOTSDatagramListener.swift
[261/262] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[262/262] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[264/275] Compiling DNSClient MessageOptions.swift
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:16:23: warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
14 | }
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
| |- warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'answer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:17:23: warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
| |- warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'authorativeAnswer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:18:23: warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
16 | public static let answer: MessageOptions = 0b10000000_00000000
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
| |- warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'truncated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:19:23: warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
| |- warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recursionDesired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:20:23: warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
| |- warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recursionAvailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:22:23: warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
| |- warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standardQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:23:23: warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
| |- warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverseQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:24:23: warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
| |- warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serverStatusQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:26:23: warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
| |- warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeSuccess' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:27:23: warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
| |- warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeFormatError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:28:23: warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
| |- warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeServerfailure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:29:23: warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
| |- warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeNameError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:30:23: warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
| |- warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeNotImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:31:23: warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
| |- warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeNotRefused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:33:23: warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
| |- warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multicastResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
35 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:34:23: warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
34 | public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
| |- warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutlicastUnauthenticatedDataAcceptable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isAnswer: Bool {
[265/275] Compiling DNSClient ConfigParser.swift
[266/276] Compiling DNSClient PTR.swift
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:127:32: error: value of type 'in6_addr' has no member '__u6_addr'
125 | #else
126 | let inAddrArpaDomain = String(format: "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
127 | ipv6Addr.__u6_addr.__u6_addr8.0,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
128 | ipv6Addr.__u6_addr.__u6_addr8.1,
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:128:32: error: value of type 'in6_addr' has no member '__u6_addr'
126 | let inAddrArpaDomain = String(format: "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
127 | ipv6Addr.__u6_addr.__u6_addr8.0,
128 | ipv6Addr.__u6_addr.__u6_addr8.1,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:129:32: error: value of type 'in6_addr' has no member '__u6_addr'
127 | ipv6Addr.__u6_addr.__u6_addr8.0,
128 | ipv6Addr.__u6_addr.__u6_addr8.1,
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:130:32: error: value of type 'in6_addr' has no member '__u6_addr'
128 | ipv6Addr.__u6_addr.__u6_addr8.1,
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:131:32: error: value of type 'in6_addr' has no member '__u6_addr'
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:132:32: error: value of type 'in6_addr' has no member '__u6_addr'
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:133:32: error: value of type 'in6_addr' has no member '__u6_addr'
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:134:32: error: value of type 'in6_addr' has no member '__u6_addr'
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:135:32: error: value of type 'in6_addr' has no member '__u6_addr'
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:136:32: error: value of type 'in6_addr' has no member '__u6_addr'
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:137:32: error: value of type 'in6_addr' has no member '__u6_addr'
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:138:32: error: value of type 'in6_addr' has no member '__u6_addr'
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:139:32: error: value of type 'in6_addr' has no member '__u6_addr'
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
141 | ipv6Addr.__u6_addr.__u6_addr8.14,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:140:32: error: value of type 'in6_addr' has no member '__u6_addr'
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
141 | ipv6Addr.__u6_addr.__u6_addr8.14,
142 | ipv6Addr.__u6_addr.__u6_addr8.15
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:141:32: error: value of type 'in6_addr' has no member '__u6_addr'
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
141 | ipv6Addr.__u6_addr.__u6_addr8.14,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
142 | ipv6Addr.__u6_addr.__u6_addr8.15
143 | ).reversed()
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:142:32: error: value of type 'in6_addr' has no member '__u6_addr'
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
141 | ipv6Addr.__u6_addr.__u6_addr8.14,
142 | ipv6Addr.__u6_addr.__u6_addr8.15
| `- error: value of type 'in6_addr' has no member '__u6_addr'
143 | ).reversed()
144 | .map { "\($0)" }
[267/276] Compiling DNSClient DNSEncoder.swift
[268/276] Compiling DNSClient Errors.swift
[269/276] Compiling DNSClient DNSClient+Query.swift
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:60:59: error: type 'in6_addr' has no member '__Unnamed_union___u6_addr'
58 | #else
59 | let ipAddress = address.withUnsafeBytes { buffer in
60 | return buffer.bindMemory(to: in6_addr.__Unnamed_union___u6_addr.self).baseAddress!.pointee
| `- error: type 'in6_addr' has no member '__Unnamed_union___u6_addr'
61 | }
62 | let size = MemoryLayout<sockaddr_in6>.size
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:59:41: error: generic parameter 'R' could not be inferred
57 | let sockaddr = sockaddr_in6(sin6_family: sa_family_t(AF_INET6), sin6_port: in_port_t(port), sin6_flowinfo: flowinfo, sin6_addr: in6_addr(__in6_union: ipAddress), sin6_scope_id: scopeID)
58 | #else
59 | let ipAddress = address.withUnsafeBytes { buffer in
| `- error: generic parameter 'R' could not be inferred
60 | return buffer.bindMemory(to: in6_addr.__Unnamed_union___u6_addr.self).baseAddress!.pointee
61 | }
Swift.Array.withUnsafeBytes:2:24: note: in call to function 'withUnsafeBytes'
1 | generic struct Array {
2 | @inlinable public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R}
| `- note: in call to function 'withUnsafeBytes'
3 |
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:89:27: warning: type 'Message' does not conform to the 'Sendable' protocol
87 | /// - returns: A future with the response message
88 | public func sendQuery(forHost address: String, type: DNSResourceType, additionalOptions: MessageOptions? = nil) -> EventLoopFuture<Message> {
89 | channel.eventLoop.flatSubmit {
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
90 | let messageID = self.messageID.withLockedValue { id in
91 | let newID = id &+ 1
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:102:40: warning: capture of 'additionalOptions' with non-sendable type 'MessageOptions?' in a '@Sendable' closure
100 | }
101 |
102 | if let additionalOptions = additionalOptions {
| `- warning: capture of 'additionalOptions' with non-sendable type 'MessageOptions?' in a '@Sendable' closure
103 | options.insert(additionalOptions)
104 | }
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:5:15: note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:108:66: warning: capture of 'type' with non-sendable type 'DNSResourceType' in a '@Sendable' closure
106 | let header = DNSMessageHeader(id: messageID, options: options, questionCount: 1, answerCount: 0, authorityCount: 0, additionalRecordCount: 0)
107 | let labels = address.split(separator: ".").map(String.init).map(DNSLabel.init)
108 | let question = QuestionSection(labels: labels, type: type, questionClass: .internet)
| `- warning: capture of 'type' with non-sendable type 'DNSResourceType' in a '@Sendable' closure
109 | let message = Message(header: header, questions: [question], answers: [], authorities: [], additionalData: [])
110 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:66:13: note: consider making enum 'DNSResourceType' conform to the 'Sendable' protocol
64 | ///
65 | /// The official standard list of all Resource Record (RR) Types. [IANA](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4)
66 | public enum DNSResourceType: UInt16 {
| `- note: consider making enum 'DNSResourceType' conform to the 'Sendable' protocol
67 | /// A request for an IPv4 address
68 | case a = 1
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:118:21: warning: type 'Message' does not conform to the 'Sendable' protocol
116 | let promise: EventLoopPromise<Message> = loop.makePromise()
117 |
118 | return loop.flatSubmit {
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:122:26: warning: type 'Message' does not conform to the 'Sendable' protocol
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
123 |
124 | struct DNSTimeoutError: Error {}
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
118 | return loop.flatSubmit {
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
| `- warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
118 | return loop.flatSubmit {
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
| `- warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:48:27: warning: type 'Message' does not conform to the 'Sendable' protocol
46 | }
47 |
48 | query.promise.succeed(message)
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
49 | cache[message.header.id] = nil
50 | }
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
[270/276] Compiling DNSClient DNSDecoder.swift
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:60:59: error: type 'in6_addr' has no member '__Unnamed_union___u6_addr'
58 | #else
59 | let ipAddress = address.withUnsafeBytes { buffer in
60 | return buffer.bindMemory(to: in6_addr.__Unnamed_union___u6_addr.self).baseAddress!.pointee
| `- error: type 'in6_addr' has no member '__Unnamed_union___u6_addr'
61 | }
62 | let size = MemoryLayout<sockaddr_in6>.size
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:59:41: error: generic parameter 'R' could not be inferred
57 | let sockaddr = sockaddr_in6(sin6_family: sa_family_t(AF_INET6), sin6_port: in_port_t(port), sin6_flowinfo: flowinfo, sin6_addr: in6_addr(__in6_union: ipAddress), sin6_scope_id: scopeID)
58 | #else
59 | let ipAddress = address.withUnsafeBytes { buffer in
| `- error: generic parameter 'R' could not be inferred
60 | return buffer.bindMemory(to: in6_addr.__Unnamed_union___u6_addr.self).baseAddress!.pointee
61 | }
Swift.Array.withUnsafeBytes:2:24: note: in call to function 'withUnsafeBytes'
1 | generic struct Array {
2 | @inlinable public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R}
| `- note: in call to function 'withUnsafeBytes'
3 |
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:89:27: warning: type 'Message' does not conform to the 'Sendable' protocol
87 | /// - returns: A future with the response message
88 | public func sendQuery(forHost address: String, type: DNSResourceType, additionalOptions: MessageOptions? = nil) -> EventLoopFuture<Message> {
89 | channel.eventLoop.flatSubmit {
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
90 | let messageID = self.messageID.withLockedValue { id in
91 | let newID = id &+ 1
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:102:40: warning: capture of 'additionalOptions' with non-sendable type 'MessageOptions?' in a '@Sendable' closure
100 | }
101 |
102 | if let additionalOptions = additionalOptions {
| `- warning: capture of 'additionalOptions' with non-sendable type 'MessageOptions?' in a '@Sendable' closure
103 | options.insert(additionalOptions)
104 | }
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:5:15: note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:108:66: warning: capture of 'type' with non-sendable type 'DNSResourceType' in a '@Sendable' closure
106 | let header = DNSMessageHeader(id: messageID, options: options, questionCount: 1, answerCount: 0, authorityCount: 0, additionalRecordCount: 0)
107 | let labels = address.split(separator: ".").map(String.init).map(DNSLabel.init)
108 | let question = QuestionSection(labels: labels, type: type, questionClass: .internet)
| `- warning: capture of 'type' with non-sendable type 'DNSResourceType' in a '@Sendable' closure
109 | let message = Message(header: header, questions: [question], answers: [], authorities: [], additionalData: [])
110 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:66:13: note: consider making enum 'DNSResourceType' conform to the 'Sendable' protocol
64 | ///
65 | /// The official standard list of all Resource Record (RR) Types. [IANA](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4)
66 | public enum DNSResourceType: UInt16 {
| `- note: consider making enum 'DNSResourceType' conform to the 'Sendable' protocol
67 | /// A request for an IPv4 address
68 | case a = 1
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:118:21: warning: type 'Message' does not conform to the 'Sendable' protocol
116 | let promise: EventLoopPromise<Message> = loop.makePromise()
117 |
118 | return loop.flatSubmit {
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:122:26: warning: type 'Message' does not conform to the 'Sendable' protocol
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
123 |
124 | struct DNSTimeoutError: Error {}
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
118 | return loop.flatSubmit {
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
| `- warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
118 | return loop.flatSubmit {
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
| `- warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:48:27: warning: type 'Message' does not conform to the 'Sendable' protocol
46 | }
47 |
48 | query.promise.succeed(message)
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
49 | cache[message.header.id] = nil
50 | }
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
[271/276] Compiling DNSClient Helpers.swift
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:402:62: error: cannot force unwrap value of non-optional type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
400 | /// Converts the UInt32 to a SocketAddress. This is used for converting the address of a DNS record to a SocketAddress.
401 | func socketAddress(port: Int) throws -> SocketAddress {
402 | let text = inet_ntoa(in_addr(s_addr: self.bigEndian))!
| `- error: cannot force unwrap value of non-optional type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
403 | let host = String(cString: text)
404 |
[272/276] Compiling DNSClient Message.swift
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:402:62: error: cannot force unwrap value of non-optional type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
400 | /// Converts the UInt32 to a SocketAddress. This is used for converting the address of a DNS record to a SocketAddress.
401 | func socketAddress(port: Int) throws -> SocketAddress {
402 | let text = inet_ntoa(in_addr(s_addr: self.bigEndian))!
| `- error: cannot force unwrap value of non-optional type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
403 | let host = String(cString: text)
404 |
[273/276] Compiling DNSClient SRV.swift
[274/276] Emitting module DNSClient
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:120:21: warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
118 | .channelInitializer { channel in
119 | return channel.pipeline.addHandlers(
120 | EnvelopeInboundChannel(),
| `- warning: type 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
121 | dnsDecoder,
122 | EnvelopeOutboundChannel(address: address),
/host/spi-builder-workspace/Sources/DNSClient/DNSDecoder.swift:4:13: note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
2 | import NIOConcurrencyHelpers
3 |
4 | final class EnvelopeInboundChannel: ChannelInboundHandler {
| `- note: class 'EnvelopeInboundChannel' does not conform to the 'Sendable' protocol
5 | typealias InboundIn = AddressedEnvelope<ByteBuffer>
6 | typealias InboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:122:21: warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
120 | EnvelopeInboundChannel(),
121 | dnsDecoder,
122 | EnvelopeOutboundChannel(address: address),
| `- warning: type 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
123 | DNSEncoder()
124 | )
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:3:13: note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
1 | import NIO
2 |
3 | final class EnvelopeOutboundChannel: ChannelOutboundHandler {
| `- note: class 'EnvelopeOutboundChannel' does not conform to the 'Sendable' protocol
4 | typealias OutboundIn = ByteBuffer
5 | typealias OutboundOut = AddressedEnvelope<ByteBuffer>
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Connect.swift:123:21: warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
121 | dnsDecoder,
122 | EnvelopeOutboundChannel(address: address),
123 | DNSEncoder()
| `- warning: type 'DNSEncoder' does not conform to the 'Sendable' protocol
124 | )
125 | }
/host/spi-builder-workspace/Sources/DNSClient/DNSEncoder.swift:50:20: note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
48 | }
49 |
50 | public final class DNSEncoder: ChannelOutboundHandler {
| `- note: class 'DNSEncoder' does not conform to the 'Sendable' protocol
51 | public typealias OutboundIn = Message
52 | public typealias OutboundOut = ByteBuffer
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:118:21: warning: type 'Message' does not conform to the 'Sendable' protocol
116 | let promise: EventLoopPromise<Message> = loop.makePromise()
117 |
118 | return loop.flatSubmit {
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:122:26: warning: type 'Message' does not conform to the 'Sendable' protocol
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
| `- warning: type 'Message' does not conform to the 'Sendable' protocol
123 |
124 | struct DNSTimeoutError: Error {}
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
118 | return loop.flatSubmit {
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
| `- warning: capture of 'message' with non-sendable type 'Message' in a '@Sendable' closure
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:120:23: warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
118 | return loop.flatSubmit {
119 | self.dnsDecoder.messageCache.withLockedValue { cache in
120 | cache[message.header.id] = SentQuery(message: message, promise: promise)
| `- warning: capture of 'message' with non-sendable type 'Message' in an isolated closure; this is an error in the Swift 6 language mode
121 | }
122 | self.channel.writeAndFlush(message, promise: nil)
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:475:15: note: consider making struct 'Message' conform to the 'Sendable' protocol
473 | }
474 |
475 | public struct Message {
| `- note: consider making struct 'Message' conform to the 'Sendable' protocol
476 | public internal(set) var header: DNSMessageHeader
477 | public let questions: [QuestionSection]
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:16:23: warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
14 | }
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
| |- warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'answer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:17:23: warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
| |- warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'authorativeAnswer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:18:23: warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
16 | public static let answer: MessageOptions = 0b10000000_00000000
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
| |- warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'truncated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:19:23: warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
| |- warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recursionDesired' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:20:23: warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
| |- warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recursionAvailable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:22:23: warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
| |- warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standardQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:23:23: warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
| |- warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inverseQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:24:23: warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
| |- warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'serverStatusQuery' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:26:23: warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
| |- warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeSuccess' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:27:23: warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
| |- warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeFormatError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:28:23: warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
| |- warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeServerfailure' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:29:23: warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
| |- warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeNameError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:30:23: warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
| |- warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeNotImplemented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:31:23: warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
| |- warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'resultCodeNotRefused' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:33:23: warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
| |- warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multicastResponse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
35 |
/host/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:34:23: warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
34 | public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
| |- warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mutlicastUnauthenticatedDataAcceptable' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isAnswer: Bool {
[275/276] 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
[276/276] 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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/46] Compiling Atomics Primitives.native.swift
[3/46] Compiling Atomics AtomicReference.swift
[4/47] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[5/47] Compiling Atomics UnsafeAtomic.swift
[6/47] Compiling Atomics UnsafeAtomicLazyReference.swift
[7/49] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[8/49] Compiling Atomics AtomicStorage.swift
[9/49] Compiling Atomics AtomicValue.swift
[10/49] Compiling Atomics ManagedAtomic.swift
[11/49] Compiling Atomics ManagedAtomicLazyReference.swift
[12/49] Compiling Atomics AtomicMemoryOrderings.swift
[13/49] Compiling Atomics DoubleWord.swift
[14/49] Compiling Atomics IntegerOperations.swift
[15/49] Compiling Atomics Unmanaged extensions.swift
[16/49] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[17/49] Compiling Atomics AtomicInteger.swift
[18/49] Compiling Atomics AtomicOptionalWrappable.swift
[19/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[20/49] Emitting module _NIODataStructures
[21/49] Compiling NIOConcurrencyHelpers atomics.swift
[22/49] Compiling NIOConcurrencyHelpers NIOLock.swift
[23/49] Compiling NIOConcurrencyHelpers lock.swift
[24/49] Compiling _NIODataStructures PriorityQueue.swift
[25/49] Compiling _NIODataStructures Heap.swift
[26/49] Compiling _NIODataStructures _TinyArray.swift
[27/49] Compiling _NIOBase64 Base64.swift
[28/49] Emitting module _NIOBase64
[29/51] Emitting module NIOConcurrencyHelpers
[33/52] Compiling Atomics Primitives.shims.swift
[38/52] Emitting module InternalCollectionsUtilities
[40/52] Compiling Atomics OptionalRawRepresentable.swift
[41/52] Compiling Atomics RawRepresentable.swift
[42/52] Compiling Atomics AtomicBool.swift
[44/52] Compiling Atomics IntegerConformances.swift
[45/52] Compiling Atomics PointerConformances.swift
[47/68] Compiling DequeModule Deque+CustomReflectable.swift
[48/68] Compiling DequeModule Deque+Descriptions.swift
[49/70] Compiling DequeModule Deque+Equatable.swift
[50/70] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[51/70] Compiling DequeModule _DequeBuffer.swift
[52/70] Compiling DequeModule _DequeBufferHeader.swift
[53/70] Compiling DequeModule _DequeSlot.swift
[54/70] Compiling DequeModule _UnsafeWrappedBuffer.swift
[55/70] Compiling DequeModule Deque+Extras.swift
[56/70] Compiling DequeModule Deque+Hashable.swift
[57/70] Compiling DequeModule Deque+Testing.swift
[58/70] Compiling DequeModule Deque._Storage.swift
[62/70] Compiling DequeModule Deque+Codable.swift
[63/70] Compiling DequeModule Deque+Collection.swift
[65/70] Compiling DequeModule Deque._UnsafeHandle.swift
[66/70] Compiling DequeModule Deque.swift
[69/70] Emitting module Atomics
[70/71] Emitting module DequeModule
[73/132] Compiling NIOCore MulticastChannel.swift
[74/132] Compiling NIOCore NIOAny.swift
[75/132] Compiling NIOCore NIOCloseOnErrorHandler.swift
[76/132] Compiling NIOCore NIOLoopBound.swift
[77/132] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[78/132] Compiling NIOCore NIOScheduledCallback.swift
[79/132] Compiling NIOCore NIOSendable.swift
[80/132] Compiling NIOCore RecvByteBufferAllocator.swift
[81/140] Compiling NIOCore IO.swift
[82/140] Compiling NIOCore IOData.swift
[83/140] Compiling NIOCore IPProtocol.swift
[84/140] Compiling NIOCore IntegerBitPacking.swift
[85/140] Compiling NIOCore IntegerTypes.swift
[86/140] Compiling NIOCore Interfaces.swift
[87/140] Compiling NIOCore Linux.swift
[88/140] Compiling NIOCore MarkedCircularBuffer.swift
[89/140] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[90/140] Compiling NIOCore EventLoopFuture+Deprecated.swift
[91/140] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[92/140] Compiling NIOCore EventLoopFuture.swift
[93/140] Compiling NIOCore FileDescriptor.swift
[94/140] Compiling NIOCore FileHandle.swift
[95/140] Compiling NIOCore FileRegion.swift
[96/140] Compiling NIOCore GlobalSingletons.swift
[97/140] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[98/140] Compiling NIOCore SocketAddresses.swift
[99/140] Compiling NIOCore SocketOptionProvider.swift
[100/140] Compiling NIOCore SystemCallHelpers.swift
[101/140] Compiling NIOCore TimeAmount+Duration.swift
[102/140] Compiling NIOCore TypeAssistedChannelHandler.swift
[103/140] Compiling NIOCore UniversalBootstrapSupport.swift
[104/140] Compiling NIOCore Utilities.swift
[105/140] Compiling NIOCore AddressedEnvelope.swift
[106/140] Compiling NIOCore AsyncAwaitSupport.swift
[107/140] Compiling NIOCore AsyncChannel.swift
[108/140] Compiling NIOCore AsyncChannelHandler.swift
[109/140] Compiling NIOCore AsyncChannelInboundStream.swift
[110/140] Compiling NIOCore AsyncChannelOutboundWriter.swift
[111/140] Compiling NIOCore NIOAsyncSequenceProducer.swift
[112/140] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[113/140] Compiling NIOCore NIOAsyncWriter.swift
[114/140] Compiling NIOCore CircularBuffer.swift
[115/140] Compiling NIOCore Codec.swift
[116/140] Compiling NIOCore ConvenienceOptionSupport.swift
[117/140] Compiling NIOCore DeadChannel.swift
[118/140] Compiling NIOCore DispatchQueue+WithFuture.swift
[119/140] Compiling NIOCore EventLoop+Deprecated.swift
[120/140] Compiling NIOCore EventLoop+SerialExecutor.swift
[121/140] Compiling NIOCore EventLoop.swift
[122/140] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[123/140] Compiling NIOCore BSDSocketAPI.swift
[124/140] Compiling NIOCore ByteBuffer-aux.swift
[125/140] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[126/140] Compiling NIOCore ByteBuffer-conversions.swift
[127/140] Compiling NIOCore ByteBuffer-core.swift
[128/140] Compiling NIOCore ByteBuffer-hex.swift
[129/140] Compiling NIOCore ByteBuffer-int.swift
[130/140] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[131/140] Compiling NIOCore ByteBuffer-multi-int.swift
[132/140] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[133/140] Compiling NIOCore ByteBuffer-views.swift
[134/140] Compiling NIOCore Channel.swift
[135/140] Compiling NIOCore ChannelHandler.swift
[136/140] Compiling NIOCore ChannelHandlers.swift
[137/140] Compiling NIOCore ChannelInvoker.swift
[138/140] Compiling NIOCore ChannelOption.swift
[139/140] Compiling NIOCore ChannelPipeline.swift
[140/140] Emitting module NIOCore
[142/191] Emitting module NIOEmbedded
[143/191] Compiling NIOEmbedded Embedded.swift
[144/191] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[145/191] Compiling NIOEmbedded AsyncTestingChannel.swift
[147/192] Compiling NIOPosix BSDSocketAPICommon.swift
[148/192] Compiling NIOPosix BSDSocketAPIPosix.swift
[149/192] Compiling NIOPosix BSDSocketAPIWindows.swift
[150/192] Compiling NIOPosix BaseSocket.swift
[151/192] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[152/192] Compiling NIOPosix BaseSocketChannel.swift
[153/192] Compiling NIOPosix BaseStreamSocketChannel.swift
[154/198] Emitting module NIOPosix
[155/198] Compiling NIOPosix IO.swift
[156/198] Compiling NIOPosix IntegerBitPacking.swift
[157/198] Compiling NIOPosix IntegerTypes.swift
[158/198] Compiling NIOPosix Linux.swift
[159/198] Compiling NIOPosix LinuxCPUSet.swift
[160/198] Compiling NIOPosix LinuxUring.swift
[161/198] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[162/198] Compiling NIOPosix NIOThreadPool.swift
[163/198] Compiling NIOPosix NonBlockingFileIO.swift
[164/198] Compiling NIOPosix PendingDatagramWritesManager.swift
[165/198] Compiling NIOPosix PendingWritesManager.swift
[166/198] Compiling NIOPosix PipeChannel.swift
[167/198] Compiling NIOPosix PipePair.swift
[168/198] Compiling NIOPosix SelectableChannel.swift
[169/198] Compiling NIOPosix SelectableEventLoop.swift
[170/198] Compiling NIOPosix SelectorEpoll.swift
[171/198] Compiling NIOPosix SelectorGeneric.swift
[172/198] Compiling NIOPosix SelectorKqueue.swift
[173/198] Compiling NIOPosix SelectorUring.swift
[174/198] Compiling NIOPosix Pool.swift
[175/198] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[176/198] Compiling NIOPosix PosixSingletons.swift
[177/198] Compiling NIOPosix RawSocketBootstrap.swift
[178/198] Compiling NIOPosix Resolver.swift
[179/198] Compiling NIOPosix Selectable.swift
[180/198] Compiling NIOPosix ServerSocket.swift
[181/198] Compiling NIOPosix Socket.swift
[182/198] Compiling NIOPosix SocketChannel.swift
[183/198] Compiling NIOPosix SocketProtocols.swift
[184/198] Compiling NIOPosix System.swift
[185/198] Compiling NIOPosix Thread.swift
[186/198] Compiling NIOPosix Bootstrap.swift
[187/198] Compiling NIOPosix ControlMessage.swift
[188/198] Compiling NIOPosix DatagramVectorReadManager.swift
[189/198] Compiling NIOPosix Errors+Any.swift
[190/198] Compiling NIOPosix FileDescriptor.swift
[191/198] Compiling NIOPosix GetaddrinfoResolver.swift
[192/198] Compiling NIOPosix HappyEyeballs.swift
[193/198] Compiling NIOPosix ThreadPosix.swift
[194/198] Compiling NIOPosix ThreadWindows.swift
[195/198] Compiling NIOPosix UnsafeTransfer.swift
[196/198] Compiling NIOPosix Utilities.swift
[197/198] Compiling NIOPosix VsockAddress.swift
[198/198] Compiling NIOPosix VsockChannelEvents.swift
[200/201] Compiling NIO Exports.swift
[201/201] Emitting module NIO
[203/213] Compiling NIOTLS TLSEvents.swift
[204/213] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[205/213] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[206/213] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[207/213] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[208/213] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[209/213] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[210/213] Emitting module NIOTLS
[211/213] Compiling NIOTLS SNIHandler.swift
[212/214] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[213/214] Emitting module NIOFoundationCompat
[216/237] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[217/237] Compiling NIOTransportServices NIOTSErrors.swift
[218/237] Compiling NIOTransportServices NIOTSEventLoop.swift
[219/239] Compiling NIOTransportServices AcceptHandler.swift
[220/239] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[221/239] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[222/239] Emitting module NIOTransportServices
[223/239] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[224/239] Compiling NIOTransportServices NIOTSSingletons.swift
[225/239] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[226/239] Compiling NIOTransportServices StateManagedChannel.swift
[227/239] Compiling NIOTransportServices StateManagedListenerChannel.swift
[228/239] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[229/239] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[230/239] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[231/239] Compiling NIOTransportServices NIOTSListenerChannel.swift
[232/239] Compiling NIOTransportServices NIOTSBootstraps.swift
[233/239] Compiling NIOTransportServices NIOTSChannelOptions.swift
[234/239] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[235/239] Compiling NIOTransportServices NIOTSDatagramListener.swift
[236/239] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[237/239] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[238/239] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[239/239] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[241/252] Compiling DNSClient MessageOptions.swift
[242/253] Compiling DNSClient ConfigParser.swift
[243/253] Compiling DNSClient DNSClient+Query.swift
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:60:59: error: type 'in6_addr' has no member '__Unnamed_union___u6_addr'
58 | #else
59 | let ipAddress = address.withUnsafeBytes { buffer in
60 | return buffer.bindMemory(to: in6_addr.__Unnamed_union___u6_addr.self).baseAddress!.pointee
| `- error: type 'in6_addr' has no member '__Unnamed_union___u6_addr'
61 | }
62 | let size = MemoryLayout<sockaddr_in6>.size
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:59:41: error: generic parameter 'R' could not be inferred
57 | let sockaddr = sockaddr_in6(sin6_family: sa_family_t(AF_INET6), sin6_port: in_port_t(port), sin6_flowinfo: flowinfo, sin6_addr: in6_addr(__in6_union: ipAddress), sin6_scope_id: scopeID)
58 | #else
59 | let ipAddress = address.withUnsafeBytes { buffer in
| `- error: generic parameter 'R' could not be inferred
60 | return buffer.bindMemory(to: in6_addr.__Unnamed_union___u6_addr.self).baseAddress!.pointee
61 | }
Swift.Array.withUnsafeBytes:2:24: note: in call to function 'withUnsafeBytes'
1 | generic struct Array {
2 | @inlinable public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R}
| `- note: in call to function 'withUnsafeBytes'
3 |
[244/253] Compiling DNSClient DNSDecoder.swift
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:60:59: error: type 'in6_addr' has no member '__Unnamed_union___u6_addr'
58 | #else
59 | let ipAddress = address.withUnsafeBytes { buffer in
60 | return buffer.bindMemory(to: in6_addr.__Unnamed_union___u6_addr.self).baseAddress!.pointee
| `- error: type 'in6_addr' has no member '__Unnamed_union___u6_addr'
61 | }
62 | let size = MemoryLayout<sockaddr_in6>.size
/host/spi-builder-workspace/Sources/DNSClient/DNSClient+Query.swift:59:41: error: generic parameter 'R' could not be inferred
57 | let sockaddr = sockaddr_in6(sin6_family: sa_family_t(AF_INET6), sin6_port: in_port_t(port), sin6_flowinfo: flowinfo, sin6_addr: in6_addr(__in6_union: ipAddress), sin6_scope_id: scopeID)
58 | #else
59 | let ipAddress = address.withUnsafeBytes { buffer in
| `- error: generic parameter 'R' could not be inferred
60 | return buffer.bindMemory(to: in6_addr.__Unnamed_union___u6_addr.self).baseAddress!.pointee
61 | }
Swift.Array.withUnsafeBytes:2:24: note: in call to function 'withUnsafeBytes'
1 | generic struct Array {
2 | @inlinable public func withUnsafeBytes<R>(_ body: (UnsafeRawBufferPointer) throws -> R) rethrows -> R}
| `- note: in call to function 'withUnsafeBytes'
3 |
[245/253] Compiling DNSClient DNSEncoder.swift
[246/253] Compiling DNSClient Errors.swift
[247/253] Compiling DNSClient PTR.swift
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:127:32: error: value of type 'in6_addr' has no member '__u6_addr'
125 | #else
126 | let inAddrArpaDomain = String(format: "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
127 | ipv6Addr.__u6_addr.__u6_addr8.0,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
128 | ipv6Addr.__u6_addr.__u6_addr8.1,
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:128:32: error: value of type 'in6_addr' has no member '__u6_addr'
126 | let inAddrArpaDomain = String(format: "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x",
127 | ipv6Addr.__u6_addr.__u6_addr8.0,
128 | ipv6Addr.__u6_addr.__u6_addr8.1,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:129:32: error: value of type 'in6_addr' has no member '__u6_addr'
127 | ipv6Addr.__u6_addr.__u6_addr8.0,
128 | ipv6Addr.__u6_addr.__u6_addr8.1,
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:130:32: error: value of type 'in6_addr' has no member '__u6_addr'
128 | ipv6Addr.__u6_addr.__u6_addr8.1,
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:131:32: error: value of type 'in6_addr' has no member '__u6_addr'
129 | ipv6Addr.__u6_addr.__u6_addr8.2,
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:132:32: error: value of type 'in6_addr' has no member '__u6_addr'
130 | ipv6Addr.__u6_addr.__u6_addr8.3,
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:133:32: error: value of type 'in6_addr' has no member '__u6_addr'
131 | ipv6Addr.__u6_addr.__u6_addr8.4,
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:134:32: error: value of type 'in6_addr' has no member '__u6_addr'
132 | ipv6Addr.__u6_addr.__u6_addr8.5,
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:135:32: error: value of type 'in6_addr' has no member '__u6_addr'
133 | ipv6Addr.__u6_addr.__u6_addr8.6,
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:136:32: error: value of type 'in6_addr' has no member '__u6_addr'
134 | ipv6Addr.__u6_addr.__u6_addr8.7,
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:137:32: error: value of type 'in6_addr' has no member '__u6_addr'
135 | ipv6Addr.__u6_addr.__u6_addr8.8,
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:138:32: error: value of type 'in6_addr' has no member '__u6_addr'
136 | ipv6Addr.__u6_addr.__u6_addr8.9,
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:139:32: error: value of type 'in6_addr' has no member '__u6_addr'
137 | ipv6Addr.__u6_addr.__u6_addr8.10,
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
141 | ipv6Addr.__u6_addr.__u6_addr8.14,
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:140:32: error: value of type 'in6_addr' has no member '__u6_addr'
138 | ipv6Addr.__u6_addr.__u6_addr8.11,
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
141 | ipv6Addr.__u6_addr.__u6_addr8.14,
142 | ipv6Addr.__u6_addr.__u6_addr8.15
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:141:32: error: value of type 'in6_addr' has no member '__u6_addr'
139 | ipv6Addr.__u6_addr.__u6_addr8.12,
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
141 | ipv6Addr.__u6_addr.__u6_addr8.14,
| `- error: value of type 'in6_addr' has no member '__u6_addr'
142 | ipv6Addr.__u6_addr.__u6_addr8.15
143 | ).reversed()
/host/spi-builder-workspace/Sources/DNSClient/PTR.swift:142:32: error: value of type 'in6_addr' has no member '__u6_addr'
140 | ipv6Addr.__u6_addr.__u6_addr8.13,
141 | ipv6Addr.__u6_addr.__u6_addr8.14,
142 | ipv6Addr.__u6_addr.__u6_addr8.15
| `- error: value of type 'in6_addr' has no member '__u6_addr'
143 | ).reversed()
144 | .map { "\($0)" }
[248/253] Compiling DNSClient SRV.swift
[249/253] Compiling DNSClient Helpers.swift
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:402:62: error: cannot force unwrap value of non-optional type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
400 | /// Converts the UInt32 to a SocketAddress. This is used for converting the address of a DNS record to a SocketAddress.
401 | func socketAddress(port: Int) throws -> SocketAddress {
402 | let text = inet_ntoa(in_addr(s_addr: self.bigEndian))!
| `- error: cannot force unwrap value of non-optional type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
403 | let host = String(cString: text)
404 |
[250/253] Compiling DNSClient Message.swift
/host/spi-builder-workspace/Sources/DNSClient/Messages/Message.swift:402:62: error: cannot force unwrap value of non-optional type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
400 | /// Converts the UInt32 to a SocketAddress. This is used for converting the address of a DNS record to a SocketAddress.
401 | func socketAddress(port: Int) throws -> SocketAddress {
402 | let text = inet_ntoa(in_addr(s_addr: self.bigEndian))!
| `- error: cannot force unwrap value of non-optional type 'UnsafeMutablePointer<CChar>' (aka 'UnsafeMutablePointer<Int8>')
403 | let host = String(cString: text)
404 |
[251/253] Compiling DNSClient Client.swift
/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 {
[252/253] Compiling DNSClient DNSClient+Connect.swift
/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 {
[253/253] Emitting module DNSClient
BUILD FAILURE 6.1 android