Build Information
Successful build of DNSClient, reference 2.4.4 (551fbd
), with Swift 6.0 for macOS (SPM) on 6 Feb 2025 20:47:26 UTC.
Swift 6 data race errors: 17
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/DNSClient.git
Reference: 2.4.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/15631] Fetching swift-collections
[2190/17949] Fetching swift-collections, swift-nio-transport-services
[2683/91507] Fetching swift-collections, swift-nio-transport-services, swift-nio
[2753/93076] Fetching swift-collections, swift-nio-transport-services, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (6.39s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (6.39s)
Fetched https://github.com/apple/swift-nio.git from cache (6.39s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-collections.git from cache (6.39s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.19.0 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.58.0 (0.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.55s)
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.19.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.1.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.58.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.0.4
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "dnsclient",
"name": "DNSClient",
"url": "https://github.com/orlandos-nl/DNSClient.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DNSClient",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.80.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-transport-services",
"name": "swift-nio-transport-services",
"url": "https://github.com/apple/swift-nio-transport-services.git",
"version": "1.23.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-transport-services",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.80.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/orlandos-nl/DNSClient.git
[1/1045] Fetching dnsclient
Fetched https://github.com/orlandos-nl/DNSClient.git from cache (0.99s)
Fetching https://github.com/apple/swift-nio-transport-services.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.86s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.86s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.23.1 (0.43s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.80.0 (0.64s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git
[1/4051] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.03s)
Fetched https://github.com/apple/swift-collections.git from cache (1.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.63s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.80.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.23.1
Creating working copy for https://github.com/orlandos-nl/DNSClient.git
Working copy of https://github.com/orlandos-nl/DNSClient.git resolved at 2.4.4 (551fbdd)
warning: '.resolve-product-dependencies': dependency 'dnsclient' is not used by any target
Found 2 product dependencies
- swift-nio
- swift-nio-transport-services
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/orlandos-nl/DNSClient.git
https://github.com/orlandos-nl/DNSClient.git
{
"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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/21] Write sources
[12/21] Compiling CNIOWindows shim.c
[12/21] Compiling CNIOWindows WSAStartup.c
[14/21] Compiling CNIOLinux liburing_shims.c
[15/21] Compiling CNIOLinux shim.c
[16/21] Write swift-version-5BDAB9E9C0126B9D.txt
[17/21] Compiling _AtomicsShims.c
[18/59] Compiling CNIODarwin shim.c
[19/59] Compiling c-nioatomics.c
[20/59] Compiling c-atomics.c
[22/65] Compiling Atomics Primitives.native.swift
[23/66] Compiling DequeModule _DequeBufferHeader.swift
[24/66] Compiling DequeModule _DequeSlot.swift
[25/67] Compiling Atomics Unmanaged extensions.swift
[26/67] Compiling Atomics AtomicBool.swift
[27/67] Compiling Atomics AtomicValue.swift
[28/67] Compiling Atomics DoubleWord.swift
[29/67] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[30/67] Compiling DequeModule _DequeBuffer.swift
[31/67] Compiling _NIODataStructures PriorityQueue.swift
[32/67] Compiling DequeModule _UnsafeWrappedBuffer.swift
[33/67] Compiling Atomics AtomicInteger.swift
[34/67] Compiling Atomics AtomicMemoryOrderings.swift
[35/67] Emitting module DequeModule
[38/67] Compiling Atomics AtomicOptional.swift
[39/67] Compiling Atomics AtomicOptionalRawRepresentable.swift
[40/67] Compiling Atomics AtomicRawRepresentable.swift
[41/67] Compiling Atomics AtomicStrongReference.swift
[50/67] Compiling Atomics AtomicLazyReference.swift
[51/67] Compiling Atomics HighLevelTypes.swift
[52/67] Compiling DequeModule Deque._UnsafeHandle.swift
[53/67] Compiling DequeModule Deque.swift
[54/67] Emitting module _NIODataStructures
[55/67] Compiling _NIODataStructures Heap.swift
[56/67] Compiling Atomics PointerConformances.swift
[57/67] Emitting module Atomics
[58/67] Compiling Atomics IntegerConformances.swift
[61/67] Compiling NIOConcurrencyHelpers lock.swift
[62/67] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[63/67] Compiling NIOConcurrencyHelpers atomics.swift
[64/67] Emitting module NIOConcurrencyHelpers
[65/67] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[66/67] Compiling NIOConcurrencyHelpers NIOLock.swift
[67/67] Compiling Atomics Primitives.shims.swift
[68/126] Compiling NIOCore ActorExecutor.swift
[69/126] Compiling NIOCore AddressedEnvelope.swift
[70/126] Compiling NIOCore AsyncAwaitSupport.swift
[71/126] Compiling NIOCore AsyncChannel.swift
[72/126] Compiling NIOCore AsyncChannelInboundStream.swift
[73/126] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[74/126] Compiling NIOCore AsyncChannelOutboundWriter.swift
[75/132] Compiling NIOCore SocketOptionProvider.swift
[76/132] Compiling NIOCore SystemCallHelpers.swift
[77/132] Compiling NIOCore TimeAmount+Duration.swift
[78/132] Compiling NIOCore TypeAssistedChannelHandler.swift
[79/132] Compiling NIOCore UniversalBootstrapSupport.swift
[80/132] Compiling NIOCore Utilities.swift
[81/132] Compiling NIOCore Interfaces.swift
[82/132] Compiling NIOCore Linux.swift
[83/132] Compiling NIOCore MarkedCircularBuffer.swift
[84/132] Compiling NIOCore MulticastChannel.swift
[85/132] Compiling NIOCore NIOAny.swift
[86/132] Compiling NIOCore NIOCloseOnErrorHandler.swift
[87/132] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[88/132] Compiling NIOCore CloseRatchet.swift
[89/132] Compiling NIOCore NIOAsyncSequenceProducer.swift
[90/132] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[91/132] Compiling NIOCore NIOAsyncWriter.swift
[92/132] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[93/132] Compiling NIOCore BSDSocketAPI.swift
[94/132] Compiling NIOCore NIOLoopBound.swift
[95/132] Compiling NIOCore NIOSendable.swift
[96/132] Compiling NIOCore PointerHelpers.swift
[97/132] Compiling NIOCore RecvByteBufferAllocator.swift
[98/132] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[99/132] Compiling NIOCore SocketAddresses.swift
[100/132] Compiling NIOCore GlobalSingletons.swift
[101/132] Compiling NIOCore IO.swift
[102/132] Compiling NIOCore IOData.swift
[103/132] Compiling NIOCore IPProtocol.swift
[104/132] Compiling NIOCore IntegerBitPacking.swift
[105/132] Compiling NIOCore IntegerTypes.swift
[106/132] Compiling NIOCore Codec.swift
[107/132] Compiling NIOCore ConvenienceOptionSupport.swift
[108/132] Compiling NIOCore DeadChannel.swift
[109/132] Compiling NIOCore DispatchQueue+WithFuture.swift
[110/132] Compiling NIOCore EventLoop+Deprecated.swift
[111/132] Compiling NIOCore EventLoop.swift
[112/132] Compiling NIOCore EventLoopFuture+Deprecated.swift
[113/132] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[114/132] Compiling NIOCore EventLoopFuture.swift
[115/132] Compiling NIOCore FileDescriptor.swift
[116/132] Compiling NIOCore FileHandle.swift
[117/132] Compiling NIOCore FileRegion.swift
[118/132] Compiling NIOCore Channel.swift
[119/132] Compiling NIOCore ChannelHandler.swift
[120/132] Compiling NIOCore ChannelHandlers.swift
[121/132] Compiling NIOCore ChannelInvoker.swift
[122/132] Compiling NIOCore ChannelOption.swift
[123/132] Compiling NIOCore ChannelPipeline.swift
[124/132] Compiling NIOCore CircularBuffer.swift
[125/132] Compiling NIOCore ByteBuffer-aux.swift
[126/132] Compiling NIOCore ByteBuffer-conversions.swift
[127/132] Compiling NIOCore ByteBuffer-core.swift
[128/132] Compiling NIOCore ByteBuffer-int.swift
[129/132] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[130/132] Compiling NIOCore ByteBuffer-multi-int.swift
[131/132] Compiling NIOCore ByteBuffer-views.swift
[132/132] Emitting module NIOCore
[133/182] Emitting module NIOEmbedded
[134/182] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[135/182] Compiling NIOEmbedded AsyncTestingChannel.swift
[136/182] Compiling NIOEmbedded Embedded.swift
[137/182] Compiling NIOPosix FileDescriptor.swift
[138/182] Compiling NIOPosix GetaddrinfoResolver.swift
[139/182] Compiling NIOPosix HappyEyeballs.swift
[140/182] Compiling NIOPosix IO.swift
[141/182] Compiling NIOPosix IntegerBitPacking.swift
[142/187] Compiling NIOPosix PipePair.swift
[143/187] Compiling NIOPosix PointerHelpers.swift
[144/187] Compiling NIOPosix Pool.swift
[145/187] Compiling NIOPosix PooledRecvBufferAllocator.swift
[146/187] Compiling NIOPosix PosixSingletons.swift
[147/187] Compiling NIOPosix BSDSocketAPICommon.swift
[148/187] Compiling NIOPosix BSDSocketAPIPosix.swift
[149/187] Compiling NIOPosix BSDSocketAPIWindows.swift
[150/187] Compiling NIOPosix BaseSocket.swift
[151/187] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[152/187] Compiling NIOPosix RawSocketBootstrap.swift
[153/187] Compiling NIOPosix Resolver.swift
[154/187] Compiling NIOPosix Selectable.swift
[155/187] Compiling NIOPosix SelectableChannel.swift
[156/187] Compiling NIOPosix SelectableEventLoop.swift
[157/187] Compiling NIOPosix ThreadPosix.swift
[158/187] Compiling NIOPosix ThreadWindows.swift
[159/187] Compiling NIOPosix Utilities.swift
[160/187] Compiling NIOPosix VsockAddress.swift
[161/187] Compiling NIOPosix VsockChannelEvents.swift
[162/187] Compiling NIOPosix SelectorEpoll.swift
[163/187] Compiling NIOPosix SelectorGeneric.swift
[164/187] Compiling NIOPosix SelectorKqueue.swift
[165/187] Compiling NIOPosix SelectorUring.swift
[166/187] Compiling NIOPosix ServerSocket.swift
[167/187] Compiling NIOPosix Socket.swift
[168/187] Compiling NIOPosix SocketChannel.swift
[169/187] Compiling NIOPosix SocketProtocols.swift
[170/187] Compiling NIOPosix System.swift
[171/187] Compiling NIOPosix Thread.swift
[172/187] Emitting module NIOPosix
[173/187] Compiling NIOPosix IntegerTypes.swift
[174/187] Compiling NIOPosix Linux.swift
[175/187] Compiling NIOPosix LinuxCPUSet.swift
[176/187] Compiling NIOPosix LinuxUring.swift
[177/187] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[178/187] Compiling NIOPosix NIOThreadPool.swift
[179/187] Compiling NIOPosix NonBlockingFileIO.swift
[180/187] Compiling NIOPosix PendingDatagramWritesManager.swift
[181/187] Compiling NIOPosix PendingWritesManager.swift
[182/187] Compiling NIOPosix PipeChannel.swift
[183/187] Compiling NIOPosix BaseSocketChannel.swift
[184/187] Compiling NIOPosix BaseStreamSocketChannel.swift
[185/187] Compiling NIOPosix Bootstrap.swift
[186/187] Compiling NIOPosix ControlMessage.swift
[187/187] Compiling NIOPosix DatagramVectorReadManager.swift
[188/189] Compiling NIO Exports.swift
[189/189] Emitting module NIO
[190/199] Compiling NIOTLS NIOTypedApplicationProtocolNegotiationHandler.swift
[191/199] Compiling NIOTLS ApplicationProtocolNegotiationHandler.swift
[192/199] Emitting module NIOTLS
[193/199] Compiling NIOTLS TLSEvents.swift
[194/199] Compiling NIOTLS ProtocolNegotiationHandlerStateMachine.swift
[195/199] Compiling NIOTLS SNIHandler.swift
[196/199] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[197/199] Emitting module NIOFoundationCompat
[198/199] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[199/199] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[200/221] Compiling NIOTransportServices NIOTSNetworkEvents.swift
[201/221] Compiling NIOTransportServices NIOTSSingletons.swift
[202/221] Compiling NIOTransportServices NIOTSDatagramListener.swift
[203/221] Compiling NIOTransportServices NIOTSDatagramListenerChannel.swift
[204/221] Compiling NIOTransportServices NIOFilterEmptyWritesHandler.swift
[205/223] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[206/223] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[207/223] Emitting module NIOTransportServices
[208/223] Compiling NIOTransportServices NIOTSEventLoop.swift
[209/223] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[210/223] Compiling NIOTransportServices NIOTSListenerBootstrap.swift
[211/223] Compiling NIOTransportServices NIOTSListenerChannel.swift
[212/223] Compiling NIOTransportServices SocketAddress+NWEndpoint.swift
[213/223] Compiling NIOTransportServices StateManagedChannel.swift
[214/223] Compiling NIOTransportServices NIOTSConnectionChannel.swift
[215/223] Compiling NIOTransportServices NIOTSErrors.swift
[216/223] Compiling NIOTransportServices AcceptHandler.swift
[217/223] Compiling NIOTransportServices NIOTSDatagramBootstrap.swift
[218/223] Compiling NIOTransportServices NIOTSDatagramChannel.swift
[219/223] Compiling NIOTransportServices NIOTSBootstraps.swift
[220/223] Compiling NIOTransportServices NIOTSChannelOptions.swift
[221/223] Compiling NIOTransportServices NIOTSConnectionBootstrap.swift
[222/223] Compiling NIOTransportServices StateManagedListenerChannel.swift
[223/223] Compiling NIOTransportServices StateManagedNWConnectionChannel.swift
[224/235] Compiling DNSClient ConfigParser.swift
[225/235] Compiling DNSClient PTR.swift
[226/236] Compiling DNSClient SRV.swift
[227/236] Compiling DNSClient DNSEncoder.swift
[228/236] Compiling DNSClient MessageOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:16:23: warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
14 | }
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
| |- warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'answer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:17:23: warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
| |- warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authorativeAnswer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:18:23: warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
16 | public static let answer: MessageOptions = 0b10000000_00000000
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
| |- warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'truncated' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:19:23: warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
| |- warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recursionDesired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:20:23: warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
| |- warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recursionAvailable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:22:23: warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
| |- warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardQuery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:23:23: warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
| |- warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inverseQuery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:24:23: warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
| |- warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serverStatusQuery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:26:23: warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
| |- warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeSuccess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:27:23: warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
| |- warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeFormatError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:28:23: warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
| |- warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeServerfailure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:29:23: warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
| |- warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeNameError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:30:23: warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
| |- warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeNotImplemented' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:31:23: warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
| |- warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeNotRefused' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:33:23: warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
| |- warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multicastResponse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:34:23: warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
34 | public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
| |- warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mutlicastUnauthenticatedDataAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isAnswer: Bool {
[229/236] Compiling DNSClient Message.swift
[230/236] Compiling DNSClient Helpers.swift
[231/236] Compiling DNSClient Errors.swift
[232/236] Compiling DNSClient DNSClient+Query.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:22:23: warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
| |- warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardQuery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:19:23: warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
| |- warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recursionDesired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/Users/admin/builder/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)
/Users/admin/builder/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]
/Users/admin/builder/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)
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:16:23: warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
14 | }
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
| |- warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'answer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
[233/236] Compiling DNSClient DNSDecoder.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:22:23: warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
| |- warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardQuery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:19:23: warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
| |- warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recursionDesired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/Users/admin/builder/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)
/Users/admin/builder/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]
/Users/admin/builder/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)
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:16:23: warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
14 | }
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
| |- warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'answer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
[234/236] Emitting module DNSClient
/Users/admin/builder/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)
/Users/admin/builder/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]
/Users/admin/builder/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)
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:16:23: warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
14 | }
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
| |- warning: static property 'answer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'answer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:17:23: warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
15 |
16 | public static let answer: MessageOptions = 0b10000000_00000000
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
| |- warning: static property 'authorativeAnswer' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'authorativeAnswer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:18:23: warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
16 | public static let answer: MessageOptions = 0b10000000_00000000
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
| |- warning: static property 'truncated' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'truncated' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:19:23: warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
17 | public static let authorativeAnswer: MessageOptions = 0b00000100_00000000
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
| |- warning: static property 'recursionDesired' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recursionDesired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:20:23: warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
18 | public static let truncated: MessageOptions = 0b00000010_00000000
19 | public static let recursionDesired: MessageOptions = 0b00000001_00000000
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
| |- warning: static property 'recursionAvailable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'recursionAvailable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:22:23: warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
20 | public static let recursionAvailable: MessageOptions = 0b00000000_10000000
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
| |- warning: static property 'standardQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standardQuery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:23:23: warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
21 |
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
| |- warning: static property 'inverseQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'inverseQuery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:24:23: warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
22 | public static let standardQuery: MessageOptions = 0b00000000_00000000
23 | public static let inverseQuery: MessageOptions = 0b00001000_00000000
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
| |- warning: static property 'serverStatusQuery' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'serverStatusQuery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:26:23: warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
24 | public static let serverStatusQuery: MessageOptions = 0b00010000_00000000
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
| |- warning: static property 'resultCodeSuccess' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeSuccess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:27:23: warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
25 |
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
| |- warning: static property 'resultCodeFormatError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeFormatError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:28:23: warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
26 | public static let resultCodeSuccess: MessageOptions = 0b00000000_00000000
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
| |- warning: static property 'resultCodeServerfailure' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeServerfailure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:29:23: warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
27 | public static let resultCodeFormatError: MessageOptions = 0b00000000_00000001
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
| |- warning: static property 'resultCodeNameError' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeNameError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:30:23: warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
28 | public static let resultCodeServerfailure: MessageOptions = 0b00000000_00000010
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
| |- warning: static property 'resultCodeNotImplemented' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeNotImplemented' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:31:23: warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
29 | public static let resultCodeNameError: MessageOptions = 0b00000000_00000011
30 | public static let resultCodeNotImplemented: MessageOptions = 0b00000000_00000100
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
| |- warning: static property 'resultCodeNotRefused' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'resultCodeNotRefused' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:33:23: warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
31 | public static let resultCodeNotRefused: MessageOptions = 0b00000000_00000101
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
| |- warning: static property 'multicastResponse' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'multicastResponse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
35 |
/Users/admin/builder/spi-builder-workspace/Sources/DNSClient/Messages/MessageOptions.swift:34:23: warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// The options for a DNS message. These are used to specify the type of query, whether the message is an answer, and the result code.
5 | public struct MessageOptions: OptionSet, ExpressibleByIntegerLiteral {
| `- note: consider making struct 'MessageOptions' conform to the 'Sendable' protocol
6 | public var rawValue: UInt16
7 |
:
32 |
33 | public static let multicastResponse: MessageOptions = 0b10000000_00000000
34 | public static let mutlicastUnauthenticatedDataAcceptable: MessageOptions = 0b00000000_00010000
| |- warning: static property 'mutlicastUnauthenticatedDataAcceptable' is not concurrency-safe because non-'Sendable' type 'MessageOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mutlicastUnauthenticatedDataAcceptable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public var isAnswer: Bool {
[235/236] Compiling DNSClient Client.swift
[236/236] Compiling DNSClient DNSClient+Connect.swift
Build complete! (37.81s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-transport-services",
"requirement" : {
"range" : [
{
"lower_bound" : "1.19.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
}
],
"manifest_display_name" : "DNSClient",
"name" : "DNSClient",
"path" : "/Users/admin/builder/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"
}
Done.