This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of aws-xray-sdk-swift with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pokryfka/aws-xray-sdk-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pokryfka/aws-xray-sdk-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c505ac2 docs: bump version in README
Cloned https://github.com/pokryfka/aws-xray-sdk-swift.git
Revision (git rev-parse @):
c505ac2d75ce838311365a40a7725cdfdfdcd2ec
SUCCESS checkout https://github.com/pokryfka/aws-xray-sdk-swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/pokryfka/aws-xray-sdk-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/31] Write sources
[10/31] Copying PrivacyInfo.xcprivacy
[10/31] Write sources
[18/31] Compiling CNIOWindows shim.c
[19/31] Compiling CNIOWindows WSAStartup.c
[20/31] Compiling CNIOLinux shim.c
[21/31] Write sources
[22/31] Compiling CNIOLinux liburing_shims.c
[23/31] Write swift-version-6F35C1178C84523A.txt
[24/55] Compiling _AtomicsShims.c
[25/55] Compiling CNIODarwin shim.c
[26/55] Compiling CNIOLLHTTP c_nio_http.c
[27/55] Compiling CNIOLLHTTP c_nio_api.c
[28/95] Compiling CNIOLLHTTP c_nio_llhttp.c
[29/95] Compiling c-nioatomics.c
[30/95] Compiling c-atomics.c
[32/101] Compiling Atomics AtomicBool.swift
[33/101] Compiling Atomics IntegerConformances.swift
[34/101] Compiling Atomics OptionalRawRepresentable.swift
[35/101] Compiling Atomics RawRepresentable.swift
[36/102] Compiling PureSwiftJSON JSONValue.swift
[37/102] Compiling PureSwiftJSON JSONError+DecodingError.swift
[38/102] Compiling PureSwiftJSON DocumentReader.swift
[39/103] Compiling Baggage BaggageContextCarrier.swift
[40/103] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[41/103] Compiling Atomics AtomicStorage.swift
[42/103] Compiling Atomics AtomicValue.swift
[43/103] Compiling PureSwiftJSON JSONKeyedEncodingContainer.swift
[44/103] Compiling PureSwiftJSON JSONUnkeyedEncodingContainer.swift
[45/103] Compiling PureSwiftJSON JSONSingleValueEncodingContainer.swift
[46/103] Emitting module _NIOBase64
[47/103] Compiling _NIOBase64 Base64.swift
[48/103] Emitting module Baggage
[49/103] Compiling Baggage BaggageContext.swift
[50/103] Compiling Atomics AtomicMemoryOrderings.swift
[51/103] Compiling Atomics DoubleWord.swift
[54/103] Compiling Atomics UnsafeAtomic.swift
[55/103] Compiling Atomics UnsafeAtomicLazyReference.swift
[56/105] Emitting module PureSwiftJSON
[57/105] Compiling Atomics PointerConformances.swift
[58/105] Compiling Atomics Primitives.native.swift
[63/105] Emitting module _CollectionsUtilities
[64/105] Compiling Atomics Primitives.shims.swift
[65/105] Compiling Atomics AtomicInteger.swift
[66/105] Compiling Atomics ManagedAtomic.swift
[67/105] Compiling Atomics ManagedAtomicLazyReference.swift
[68/105] Compiling Atomics AtomicOptionalWrappable.swift
[69/105] Compiling Atomics AtomicReference.swift
[70/105] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[75/122] Emitting module _NIODataStructures
[76/122] Compiling _NIODataStructures Heap.swift
[77/122] Compiling _NIODataStructures _TinyArray.swift
[78/122] Compiling _NIODataStructures PriorityQueue.swift
[79/122] Compiling Atomics IntegerOperations.swift
[80/122] Compiling Atomics Unmanaged extensions.swift
[83/122] Compiling DequeModule Deque.swift
[84/122] Compiling DequeModule _DequeBuffer.swift
[85/122] Compiling DequeModule Deque._Storage.swift
[86/122] Compiling DequeModule Deque._UnsafeHandle.swift
[87/122] Compiling DequeModule Deque+Extras.swift
[88/122] Compiling DequeModule Deque+Hashable.swift
[89/122] Compiling PureSwiftJSON JSONParser.swift
[90/122] Compiling Logging MetadataProvider.swift
[91/122] Emitting module Logging
[92/122] Compiling Logging LogHandler.swift
[93/122] Compiling Logging Locks.swift
[94/122] Compiling Logging Logging.swift
[95/122] Compiling NIOConcurrencyHelpers lock.swift
[96/122] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[97/122] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[98/122] Compiling NIOConcurrencyHelpers NIOLock.swift
[99/122] Compiling NIOConcurrencyHelpers atomics.swift
[100/122] Emitting module NIOConcurrencyHelpers
[101/122] Compiling DequeModule _DequeSlot.swift
[102/122] Compiling DequeModule Deque+Sendable.swift
[103/122] Compiling DequeModule Deque+Testing.swift
[106/122] Compiling DequeModule Deque+Equatable.swift
[107/122] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[112/122] Compiling DequeModule _DequeBufferHeader.swift
[113/123] Compiling DequeModule Deque+Codable.swift
[114/123] Compiling DequeModule Deque+Collection.swift
[115/123] Emitting module Atomics
[116/123] Compiling DequeModule Deque+CustomReflectable.swift
[117/123] Compiling DequeModule Deque+Descriptions.swift
[118/123] Compiling DequeModule _UnsafeWrappedBuffer.swift
[123/123] Emitting module DequeModule
[124/183] Compiling NIOCore ConvenienceOptionSupport.swift
[125/183] Compiling NIOCore DeadChannel.swift
[126/183] Compiling NIOCore DispatchQueue+WithFuture.swift
[127/183] Compiling NIOCore EventLoop+Deprecated.swift
[128/183] Compiling NIOCore EventLoop+SerialExecutor.swift
[129/183] Compiling NIOCore EventLoop.swift
[130/183] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[131/189] Compiling NIOCore GlobalSingletons.swift
[132/189] Compiling NIOCore IO.swift
[133/189] Compiling NIOCore IOData.swift
[134/189] Compiling NIOCore IPProtocol.swift
[135/189] Compiling NIOCore IntegerBitPacking.swift
[136/189] Compiling NIOCore IntegerTypes.swift
[137/189] Compiling NIOCore NIOLoopBound.swift
[138/189] Compiling NIOCore NIOSendable.swift
[139/189] Compiling NIOCore PointerHelpers.swift
[140/189] Compiling NIOCore RecvByteBufferAllocator.swift
[141/189] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[142/189] Compiling NIOCore SocketAddresses.swift
[143/189] Compiling NIOCore SocketOptionProvider.swift
[144/189] Compiling NIOCore SystemCallHelpers.swift
[145/189] Compiling NIOCore TimeAmount+Duration.swift
[146/189] Compiling NIOCore TypeAssistedChannelHandler.swift
[147/189] Compiling NIOCore UniversalBootstrapSupport.swift
[148/189] Compiling NIOCore Utilities.swift
[149/189] Compiling NIOCore Interfaces.swift
[150/189] Compiling NIOCore Linux.swift
[151/189] Compiling NIOCore MarkedCircularBuffer.swift
[152/189] Compiling NIOCore MulticastChannel.swift
[153/189] Compiling NIOCore NIOAny.swift
[154/189] Compiling NIOCore NIOCloseOnErrorHandler.swift
[155/189] Compiling NIOCore NIOAsyncSequenceProducer.swift
[156/189] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[157/189] Compiling NIOCore NIOAsyncWriter.swift
[158/189] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[159/189] Compiling NIOCore BSDSocketAPI.swift
[160/189] Compiling NIOCore ByteBuffer-aux.swift
[161/189] Compiling NIOCore ByteBuffer-conversions.swift
[162/189] Compiling NIOCore EventLoopFuture+Deprecated.swift
[163/189] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[164/189] Compiling NIOCore EventLoopFuture.swift
[165/189] Compiling NIOCore FileDescriptor.swift
[166/189] Compiling NIOCore FileHandle.swift
[167/189] Compiling NIOCore FileRegion.swift
[168/189] Compiling NIOCore ChannelHandler.swift
[169/189] Compiling NIOCore ChannelHandlers.swift
[170/189] Compiling NIOCore ChannelInvoker.swift
[171/189] Compiling NIOCore ChannelOption.swift
[172/189] Compiling NIOCore ChannelPipeline.swift
[173/189] Compiling NIOCore CircularBuffer.swift
[174/189] Compiling NIOCore Codec.swift
[175/189] Compiling NIOCore ByteBuffer-core.swift
[176/189] Compiling NIOCore ByteBuffer-hexdump.swift
[177/189] Compiling NIOCore ByteBuffer-int.swift
[178/189] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[179/189] Compiling NIOCore ByteBuffer-multi-int.swift
[180/189] Compiling NIOCore ByteBuffer-views.swift
[181/189] Compiling NIOCore Channel.swift
[182/189] Emitting module NIOCore
[183/189] Compiling NIOCore AddressedEnvelope.swift
[184/189] Compiling NIOCore AsyncAwaitSupport.swift
[185/189] Compiling NIOCore AsyncChannel.swift
[186/189] Compiling NIOCore AsyncChannelInboundStream.swift
[187/189] Compiling NIOCore AsyncChannelInboundStreamChannelHandler.swift
[188/189] Compiling NIOCore AsyncChannelOutboundWriter.swift
[189/189] Compiling NIOCore AsyncChannelOutboundWriterHandler.swift
[190/242] Compiling NIOEmbedded Embedded.swift
[191/242] Emitting module NIOEmbedded
[192/242] Compiling NIOEmbedded AsyncTestingChannel.swift
[193/242] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[194/242] Compiling NIOPosix SocketProtocols.swift
[195/242] Compiling NIOPosix System.swift
[196/242] Compiling NIOPosix Thread.swift
[197/242] Compiling NIOPosix ThreadPosix.swift
[198/242] Compiling NIOPosix ThreadWindows.swift
[199/247] Compiling NIOPosix SelectorKqueue.swift
[200/247] Compiling NIOPosix SelectorUring.swift
[201/247] Compiling NIOPosix ServerSocket.swift
[202/247] Compiling NIOPosix Socket.swift
[203/247] Compiling NIOPosix SocketChannel.swift
[204/247] Compiling NIOPosix PooledRecvBufferAllocator.swift
[205/247] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[206/247] Compiling NIOPosix PosixSingletons.swift
[207/247] Compiling NIOPosix RawSocketBootstrap.swift
[208/247] Compiling NIOPosix Resolver.swift
[209/247] Compiling NIOPosix PendingWritesManager.swift
[210/247] Compiling NIOPosix PipeChannel.swift
[211/247] Compiling NIOPosix PipePair.swift
[212/247] Compiling NIOPosix PointerHelpers.swift
[213/247] Compiling NIOPosix Pool.swift
[214/247] Compiling NIOPosix BaseStreamSocketChannel.swift
[215/247] Compiling NIOPosix Bootstrap.swift
[216/247] Compiling NIOPosix ControlMessage.swift
[217/247] Compiling NIOPosix DatagramVectorReadManager.swift
[218/247] Compiling NIOPosix FileDescriptor.swift
[219/247] Compiling NIOPosix GetaddrinfoResolver.swift
[220/247] Emitting module NIOPosix
[221/247] Compiling NIOPosix HappyEyeballs.swift
[222/247] Compiling NIOPosix IO.swift
[223/247] Compiling NIOPosix IntegerBitPacking.swift
[224/247] Compiling NIOPosix IntegerTypes.swift
[225/247] Compiling NIOPosix Linux.swift
[226/247] Compiling NIOPosix LinuxCPUSet.swift
[227/247] Compiling NIOPosix BSDSocketAPICommon.swift
[228/247] Compiling NIOPosix BSDSocketAPIPosix.swift
[229/247] Compiling NIOPosix BSDSocketAPIWindows.swift
[230/247] Compiling NIOPosix BaseSocket.swift
[231/247] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[232/247] Compiling NIOPosix BaseSocketChannel.swift
[233/247] Compiling NIOPosix Selectable.swift
[234/247] Compiling NIOPosix SelectableChannel.swift
[235/247] Compiling NIOPosix SelectableEventLoop.swift
[236/247] Compiling NIOPosix SelectorEpoll.swift
[237/247] Compiling NIOPosix SelectorGeneric.swift
[238/247] Compiling NIOPosix LinuxUring.swift
[239/247] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[240/247] Compiling NIOPosix NIOThreadPool.swift
[241/247] Compiling NIOPosix NonBlockingFileIO.swift
[242/247] Compiling NIOPosix PendingDatagramWritesManager.swift
[243/247] Compiling NIOPosix UnsafeTransfer.swift
[244/247] Compiling NIOPosix Utilities.swift
[245/247] Compiling NIOPosix VsockAddress.swift
[246/247] Compiling NIOPosix VsockChannelEvents.swift
[247/247] Compiling NIOPosix resource_bundle_accessor.swift
[248/249] Compiling NIO Exports.swift
[249/249] Emitting module NIO
[250/266] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[251/267] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[252/267] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[253/267] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[254/267] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[255/267] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[256/267] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[257/267] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[258/267] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[259/267] Emitting module NIOHTTP1
[260/267] Compiling NIOHTTP1 HTTPEncoder.swift
[261/267] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[262/267] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[263/267] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[264/267] Compiling NIOHTTP1 HTTPTypes.swift
[265/267] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[266/267] Compiling NIOHTTP1 ByteCollectionUtils.swift
[267/267] Compiling NIOHTTP1 HTTPDecoder.swift
[268/289] Compiling AWSXRayRecorder Recorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:30:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 28 |     private let logger: Logger
 29 |
 30 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 31 |
 32 |     private let segmentsLock = ReadWriteLock()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:80:17: warning: capture of 'self' with non-sendable type 'XRayRecorder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | /// - [AWS X-Ray concepts](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-segments)
 25 | /// - [Sending trace data to AWS X-Ray](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html)
 26 | public class XRayRecorder {
    |              `- note: class 'XRayRecorder' does not conform to the 'Sendable' protocol
 27 |     private let config: Config
 28 |     private let logger: Logger
    :
 78 |             self.emitGroup.enter()
 79 |             self.emitQueue.async {
 80 |                 self.emit(segment: id)
    |                 `- warning: capture of 'self' with non-sendable type 'XRayRecorder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |                 self.emitGroup.leave()
 82 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:80:36: warning: capture of 'id' with non-sendable type 'XRayRecorder.Segment.ID' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             self.emitGroup.enter()
 79 |             self.emitQueue.async {
 80 |                 self.emit(segment: id)
    |                                    `- warning: capture of 'id' with non-sendable type 'XRayRecorder.Segment.ID' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |                 self.emitGroup.leave()
 82 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:34:23: note: consider making struct 'ID' conform to the 'Sendable' protocol
 32 |     public class Segment {
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
    |                       `- note: consider making struct 'ID' conform to the 'Sendable' protocol
 35 |             public let rawValue: String
 36 |             public var description: String { rawValue }
[269/289] Compiling AWSXRayRecorder Segment+NIOHTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:30:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 28 |     private let logger: Logger
 29 |
 30 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 31 |
 32 |     private let segmentsLock = ReadWriteLock()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:80:17: warning: capture of 'self' with non-sendable type 'XRayRecorder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | /// - [AWS X-Ray concepts](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-segments)
 25 | /// - [Sending trace data to AWS X-Ray](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html)
 26 | public class XRayRecorder {
    |              `- note: class 'XRayRecorder' does not conform to the 'Sendable' protocol
 27 |     private let config: Config
 28 |     private let logger: Logger
    :
 78 |             self.emitGroup.enter()
 79 |             self.emitQueue.async {
 80 |                 self.emit(segment: id)
    |                 `- warning: capture of 'self' with non-sendable type 'XRayRecorder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |                 self.emitGroup.leave()
 82 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:80:36: warning: capture of 'id' with non-sendable type 'XRayRecorder.Segment.ID' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 78 |             self.emitGroup.enter()
 79 |             self.emitQueue.async {
 80 |                 self.emit(segment: id)
    |                                    `- warning: capture of 'id' with non-sendable type 'XRayRecorder.Segment.ID' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |                 self.emitGroup.leave()
 82 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:34:23: note: consider making struct 'ID' conform to the 'Sendable' protocol
 32 |     public class Segment {
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
    |                       `- note: consider making struct 'ID' conform to the 'Sendable' protocol
 35 |             public let rawValue: String
 36 |             public var description: String { rawValue }
[270/291] Compiling AWSXRayRecorder Emitter+NIO.swift
[271/291] Compiling AWSXRayRecorder Emitter.swift
[272/291] Compiling AWSXRayRecorder Exception.swift
[273/291] Compiling AWSXRayRecorder Recorder+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:59:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |         return body().always { result in
 58 |             if case Result<T, Error>.failure(let error) = result {
 59 |                 segment.addError(error)
    |                 `- warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 60 |             }
 61 |             segment.end()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:32:18: note: class 'Segment' does not conform to the 'Sendable' protocol
 30 |     /// # References
 31 |     /// - [AWS X-Ray segment documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html)
 32 |     public class Segment {
    |                  `- note: class 'Segment' does not conform to the 'Sendable' protocol
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:83:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         return body().always { result in
 82 |             if case Result<T, Error>.failure(let error) = result {
 83 |                 segment.addError(error)
    |                 `- warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 84 |             }
 85 |             segment.end()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:32:18: note: class 'Segment' does not conform to the 'Sendable' protocol
 30 |     /// # References
 31 |     /// - [AWS X-Ray segment documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html)
 32 |     public class Segment {
    |                  `- note: class 'Segment' does not conform to the 'Sendable' protocol
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:99:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |         whenComplete { result in
 98 |             if case Result<Value, Error>.failure(let error) = result {
 99 |                 segment.addError(error)
    |                 `- warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |             }
101 |             segment.end()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:32:18: note: class 'Segment' does not conform to the 'Sendable' protocol
 30 |     /// # References
 31 |     /// - [AWS X-Ray segment documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html)
 32 |     public class Segment {
    |                  `- note: class 'Segment' does not conform to the 'Sendable' protocol
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:118:17: warning: capture of 'recorder' with non-sendable type 'XRayRecorder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |             .recover { Result<Value, Error>.failure($0) }
117 |             .flatMap { result in
118 |                 recorder.flush(on: self.eventLoop)
    |                 `- warning: capture of 'recorder' with non-sendable type 'XRayRecorder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                     .flatMapResult { recover ? Result<Value, Error>.success(()) : result }
120 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:26:14: note: class 'XRayRecorder' does not conform to the 'Sendable' protocol
 24 | /// - [AWS X-Ray concepts](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-segments)
 25 | /// - [Sending trace data to AWS X-Ray](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html)
 26 | public class XRayRecorder {
    |              `- note: class 'XRayRecorder' does not conform to the 'Sendable' protocol
 27 |     private let config: Config
 28 |     private let logger: Logger
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:30:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 28 |     private let logger: Logger
 29 |
 30 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 31 |
 32 |     private let segmentsLock = ReadWriteLock()
[274/291] Compiling AWSXRayRecorder Recorder+NIO.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:59:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |         return body().always { result in
 58 |             if case Result<T, Error>.failure(let error) = result {
 59 |                 segment.addError(error)
    |                 `- warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 60 |             }
 61 |             segment.end()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:32:18: note: class 'Segment' does not conform to the 'Sendable' protocol
 30 |     /// # References
 31 |     /// - [AWS X-Ray segment documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html)
 32 |     public class Segment {
    |                  `- note: class 'Segment' does not conform to the 'Sendable' protocol
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:83:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         return body().always { result in
 82 |             if case Result<T, Error>.failure(let error) = result {
 83 |                 segment.addError(error)
    |                 `- warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 84 |             }
 85 |             segment.end()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:32:18: note: class 'Segment' does not conform to the 'Sendable' protocol
 30 |     /// # References
 31 |     /// - [AWS X-Ray segment documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html)
 32 |     public class Segment {
    |                  `- note: class 'Segment' does not conform to the 'Sendable' protocol
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:99:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 97 |         whenComplete { result in
 98 |             if case Result<Value, Error>.failure(let error) = result {
 99 |                 segment.addError(error)
    |                 `- warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
100 |             }
101 |             segment.end()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:32:18: note: class 'Segment' does not conform to the 'Sendable' protocol
 30 |     /// # References
 31 |     /// - [AWS X-Ray segment documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html)
 32 |     public class Segment {
    |                  `- note: class 'Segment' does not conform to the 'Sendable' protocol
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:118:17: warning: capture of 'recorder' with non-sendable type 'XRayRecorder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |             .recover { Result<Value, Error>.failure($0) }
117 |             .flatMap { result in
118 |                 recorder.flush(on: self.eventLoop)
    |                 `- warning: capture of 'recorder' with non-sendable type 'XRayRecorder' in a `@Sendable` closure; this is an error in the Swift 6 language mode
119 |                     .flatMapResult { recover ? Result<Value, Error>.success(()) : result }
120 |             }
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:26:14: note: class 'XRayRecorder' does not conform to the 'Sendable' protocol
 24 | /// - [AWS X-Ray concepts](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-segments)
 25 | /// - [Sending trace data to AWS X-Ray](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html)
 26 | public class XRayRecorder {
    |              `- note: class 'XRayRecorder' does not conform to the 'Sendable' protocol
 27 |     private let config: Config
 28 |     private let logger: Logger
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:30:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 28 |     private let logger: Logger
 29 |
 30 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 31 |
 32 |     private let segmentsLock = ReadWriteLock()
[275/291] Compiling AWSXRayRecorder AWS.swift
[276/291] Compiling AWSXRayRecorder AnyCodable.swift
[277/291] Compiling AWSXRayRecorder AnyDecodable.swift
[278/291] Compiling AWSXRayRecorder HTTP.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:30:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 28 |     private let logger: Logger
 29 |
 30 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 31 |
 32 |     private let segmentsLock = ReadWriteLock()
[279/291] Compiling AWSXRayRecorder NoOpRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:30:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 28 |     private let logger: Logger
 29 |
 30 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 31 |
 32 |     private let segmentsLock = ReadWriteLock()
[280/291] Compiling AWSXRayRecorder AnyEncodable.swift
[281/291] Compiling AWSXRayRecorder Baggage.swift
[282/291] Compiling AWSXRayRecorder Config.swift
[283/291] Compiling AWSXRayRecorder Locks+Synchronized.swift
[284/291] Compiling AWSXRayRecorder Locks.swift
[285/291] Compiling AWSXRayRecorder Timestamp.swift
[286/291] Compiling AWSXRayRecorder Trace.swift
[287/291] Compiling AWSXRayRecorder NoOpSegment.swift
[288/291] Compiling AWSXRayRecorder Random.swift
[289/291] Compiling AWSXRayRecorder Segment.swift
[290/291] Compiling AWSXRayRecorder StringCompat.swift
[291/291] Emitting module AWSXRayRecorder
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:59:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 57 |         return body().always { result in
 58 |             if case Result<T, Error>.failure(let error) = result {
 59 |                 segment.addError(error)
    |                 `- warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 60 |             }
 61 |             segment.end()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:32:18: note: class 'Segment' does not conform to the 'Sendable' protocol
 30 |     /// # References
 31 |     /// - [AWS X-Ray segment documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html)
 32 |     public class Segment {
    |                  `- note: class 'Segment' does not conform to the 'Sendable' protocol
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:83:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 81 |         return body().always { result in
 82 |             if case Result<T, Error>.failure(let error) = result {
 83 |                 segment.addError(error)
    |                 `- warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 84 |             }
 85 |             segment.end()
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Segment.swift:32:18: note: class 'Segment' does not conform to the 'Sendable' protocol
 30 |     /// # References
 31 |     /// - [AWS X-Ray segment documents](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html)
 32 |     public class Segment {
    |                  `- note: class 'Segment' does not conform to the 'Sendable' protocol
 33 |         /// A 64-bit identifier in **16 hexadecimal digits**.
 34 |         public struct ID: RawRepresentable, Hashable, Encodable, CustomStringConvertible {
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder.swift:30:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 28 |     private let logger: Logger
 29 |
 30 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 31 |
 32 |     private let segmentsLock = ReadWriteLock()
[292/300] Emitting module AWSXRayUDPEmitter
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:52:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 50 |     private let address: SocketAddress
 51 |
 52 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 53 |
 54 |     private var state = State.disconnected
[293/300] Compiling AWSXRayUDPEmitter NIOHelpers.swift
[294/300] Compiling AWSXRayTesting LogEmitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayTesting/LogEmitter.swift:29:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
27 | /// "Emits" segments by logging them using provided logger instance.
28 | public struct XRayLogEmitter: XRayEmitter {
29 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
   |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
30 |     internal let logger: Logger
31 |
[295/300] Emitting module AWSXRayTesting
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayTesting/LogEmitter.swift:29:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
27 | /// "Emits" segments by logging them using provided logger instance.
28 | public struct XRayLogEmitter: XRayEmitter {
29 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
   |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
30 |     internal let logger: Logger
31 |
[296/300] Compiling AWSXRayUDPEmitter Locks.swift
[297/300] Compiling AWSXRayUDPEmitter UDPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:52:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 50 |     private let address: SocketAddress
 51 |
 52 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 53 |
 54 |     private var state = State.disconnected
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:78:51: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
 72 |     }
 73 |
 74 |     func shutdown(_ callback: @escaping (Error?) -> Void) {
    |                     `- note: parameter 'callback' is implicitly non-sendable
 75 |         switch eventLoopGroupProvider {
 76 |         case .createNew:
 77 |             if isShutdown.compareAndExchange(expected: false, desired: true) {
 78 |                 eventLoopGroup.shutdownGracefully(callback)
    |                                                   `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
 79 |             }
 80 |         case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:94:17: warning: capture of 'self' with non-sendable type 'UDPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 |
 30 | /// UDP Client.
 31 | internal final class UDPClient {
    |                      `- note: class 'UDPClient' does not conform to the 'Sendable' protocol
 32 |     /// A `EventLoopGroupProvider` defines how the underlying `EventLoopGroup` used to create the `EventLoop` is provided.
 33 |     ///
    :
 92 |             lock.unlock()
 93 |             connect(UDPWriter(address: address)).flatMap { channel -> EventLoopFuture<Void> in
 94 |                 self.lock.withLock {
    |                 `- warning: capture of 'self' with non-sendable type 'UDPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 95 |                     guard case .connecting = self.state else {
 96 |                         preconditionFailure("invalid state \(self.state)")
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:95:46: warning: capture of 'self' with non-sendable type 'UDPClient' in an isolated closure; this is an error in the Swift 6 language mode
 29 |
 30 | /// UDP Client.
 31 | internal final class UDPClient {
    |                      `- note: class 'UDPClient' does not conform to the 'Sendable' protocol
 32 |     /// A `EventLoopGroupProvider` defines how the underlying `EventLoopGroup` used to create the `EventLoop` is provided.
 33 |     ///
    :
 93 |             connect(UDPWriter(address: address)).flatMap { channel -> EventLoopFuture<Void> in
 94 |                 self.lock.withLock {
 95 |                     guard case .connecting = self.state else {
    |                                              `- warning: capture of 'self' with non-sendable type 'UDPClient' in an isolated closure; this is an error in the Swift 6 language mode
 96 |                         preconditionFailure("invalid state \(self.state)")
 97 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:96:62: warning: implicit capture of 'self' requires that 'UDPClient' conforms to `Sendable`; this is an error in the Swift 6 language mode
 29 |
 30 | /// UDP Client.
 31 | internal final class UDPClient {
    |                      `- note: class 'UDPClient' does not conform to the 'Sendable' protocol
 32 |     /// A `EventLoopGroupProvider` defines how the underlying `EventLoopGroup` used to create the `EventLoop` is provided.
 33 |     ///
    :
 94 |                 self.lock.withLock {
 95 |                     guard case .connecting = self.state else {
 96 |                         preconditionFailure("invalid state \(self.state)")
    |                                                              `- warning: implicit capture of 'self' requires that 'UDPClient' conforms to `Sendable`; this is an error in the Swift 6 language mode
 97 |                     }
 98 |                     self.state = .connected(channel)
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:105:17: warning: capture of 'self' with non-sendable type 'UDPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 29 |
 30 | /// UDP Client.
 31 | internal final class UDPClient {
    |                      `- note: class 'UDPClient' does not conform to the 'Sendable' protocol
 32 |     /// A `EventLoopGroupProvider` defines how the underlying `EventLoopGroup` used to create the `EventLoop` is provided.
 33 |     ///
    :
103 |         case .connecting(let future):
104 |             let future = future.flatMap {
105 |                 self.emit(value)
    |                 `- warning: capture of 'self' with non-sendable type 'UDPClient' in a `@Sendable` closure; this is an error in the Swift 6 language mode
106 |             }
107 |             state = .connecting(future)
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:124:74: warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 |         let bootstrap = DatagramBootstrap(group: eventLoopGroup)
123 |             .channelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
124 |             .channelInitializer { channel in channel.pipeline.addHandler(handler) }
    |                                                                          `- warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |         // the bind address is local and does not really matter, the remote address is addressed by AddressedEnvelope below
126 |         return bootstrap.bind(host: "0.0.0.0", port: 0)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelHandler.swift:20:17: note: protocol 'ChannelHandler' does not conform to the 'Sendable' protocol
 18 | ///
 19 | /// You should _never_ implement this protocol directly. Please implement one of its sub-protocols.
 20 | public protocol ChannelHandler: AnyObject {
    |                 `- note: protocol 'ChannelHandler' does not conform to the 'Sendable' protocol
 21 |     /// Called when this `ChannelHandler` is added to the `ChannelPipeline`.
 22 |     ///
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
 25 | //===----------------------------------------------------------------------===//
 26 |
 27 | import NIO
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
 28 | import NIOConcurrencyHelpers
 29 |
[298/300] Compiling AWSXRayUDPEmitter Config.swift
[299/300] Compiling AWSXRayUDPEmitter Random.swift
[300/300] Compiling AWSXRayUDPEmitter UDPEmitter.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:98:34: warning: capture of 'self' with non-sendable type 'XRayUDPEmitter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// # References
 24 | /// - [Sending segment documents to the X-Ray daemon](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html#xray-api-daemon)
 25 | public class XRayUDPEmitter: XRayNIOEmitter {
    |              `- note: class 'XRayUDPEmitter' does not conform to the 'Sendable' protocol
 26 |     /// A type representing the ability to encode a `XRayRecorder.Segment` to a String with its JSON representation.
 27 |     public struct SegmentEncoding {
    :
 96 |             lock.withWriterLockVoid { _inFlight[futureId] = future }
 97 |             future.whenComplete { [weak self] result in
 98 |                 guard let self = self else { return }
    |                                  `- warning: capture of 'self' with non-sendable type 'XRayUDPEmitter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 99 |                 switch result {
100 |                 case .failure(let error):
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:117:21: warning: capture of 'self' with non-sendable type 'XRayUDPEmitter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// # References
 24 | /// - [Sending segment documents to the X-Ray daemon](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html#xray-api-daemon)
 25 | public class XRayUDPEmitter: XRayNIOEmitter {
    |              `- note: class 'XRayUDPEmitter' does not conform to the 'Sendable' protocol
 26 |     /// A type representing the ability to encode a `XRayRecorder.Segment` to a String with its JSON representation.
 27 |     public struct SegmentEncoding {
    :
115 |                 switch result {
116 |                 case .failure(let error):
117 |                     self.logger.error("Failed to flush: \(error)")
    |                     `- warning: capture of 'self' with non-sendable type 'XRayUDPEmitter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
118 |                     callback(error)
119 |                 case .success:
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:118:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |                 case .failure(let error):
117 |                     self.logger.error("Failed to flush: \(error)")
118 |                     callback(error)
    |                     |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 |                 case .success:
120 |                     callback(nil)
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:134:28: warning: capture of 'self' with non-sendable type 'XRayUDPEmitter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 | /// # References
 24 | /// - [Sending segment documents to the X-Ray daemon](https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html#xray-api-daemon)
 25 | public class XRayUDPEmitter: XRayNIOEmitter {
    |              `- note: class 'XRayUDPEmitter' does not conform to the 'Sendable' protocol
 26 |     /// A type representing the ability to encode a `XRayRecorder.Segment` to a String with its JSON representation.
 27 |     public struct SegmentEncoding {
    :
132 |         let eventLoop = eventLoop ?? udpClient.eventLoop
133 |         return EventLoopFuture.andAllComplete(futures, on: eventLoop)
134 |             .always { _ in self.logger.info("Done") }
    |                            `- warning: capture of 'self' with non-sendable type 'XRayUDPEmitter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 |     }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:52:30: warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 50 |     private let address: SocketAddress
 51 |
 52 |     private let isShutdown = NIOAtomic<Bool>.makeAtomic(value: false)
    |                              `- warning: 'NIOAtomic' is deprecated: please use ManagedAtomic from https://github.com/apple/swift-atomics instead
 53 |
 54 |     private var state = State.disconnected
[301/303] Compiling AWSXRaySDK DefaultRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRaySDK/DefaultEncoding.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XRayUDPEmitter.SegmentEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
18 | extension XRayUDPEmitter.SegmentEncoding {
19 |     /// Default encoding of `XRayRecorder.Segment` to JSON string.
20 |     public static let `default`: XRayUDPEmitter.SegmentEncoding = {
   |                       `- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XRayUDPEmitter.SegmentEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
21 |         let jsonEncoder = PSJSONEncoder()
22 |         return XRayUDPEmitter.SegmentEncoding { segment in
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:27:19: note: struct 'SegmentEncoding' does not conform to the 'Sendable' protocol
 25 | public class XRayUDPEmitter: XRayNIOEmitter {
 26 |     /// A type representing the ability to encode a `XRayRecorder.Segment` to a String with its JSON representation.
 27 |     public struct SegmentEncoding {
    |                   `- note: struct 'SegmentEncoding' does not conform to the 'Sendable' protocol
 28 |         /// How to encode a segment  to JSON string.
 29 |         public let encode: (XRayRecorder.Segment) throws -> ByteBuffer
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRaySDK/DefaultEncoding.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSXRayUDPEmitter'
12 | //===----------------------------------------------------------------------===//
13 |
14 | import AWSXRayUDPEmitter
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSXRayUDPEmitter'
15 | import NIO
16 | import PureSwiftJSON
   :
18 | extension XRayUDPEmitter.SegmentEncoding {
19 |     /// Default encoding of `XRayRecorder.Segment` to JSON string.
20 |     public static let `default`: XRayUDPEmitter.SegmentEncoding = {
   |                       |- note: annotate 'default' 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 |         let jsonEncoder = PSJSONEncoder()
22 |         return XRayUDPEmitter.SegmentEncoding { segment in
[302/303] Emitting module AWSXRaySDK
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRaySDK/DefaultEncoding.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XRayUDPEmitter.SegmentEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
18 | extension XRayUDPEmitter.SegmentEncoding {
19 |     /// Default encoding of `XRayRecorder.Segment` to JSON string.
20 |     public static let `default`: XRayUDPEmitter.SegmentEncoding = {
   |                       `- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XRayUDPEmitter.SegmentEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
21 |         let jsonEncoder = PSJSONEncoder()
22 |         return XRayUDPEmitter.SegmentEncoding { segment in
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:27:19: note: struct 'SegmentEncoding' does not conform to the 'Sendable' protocol
 25 | public class XRayUDPEmitter: XRayNIOEmitter {
 26 |     /// A type representing the ability to encode a `XRayRecorder.Segment` to a String with its JSON representation.
 27 |     public struct SegmentEncoding {
    |                   `- note: struct 'SegmentEncoding' does not conform to the 'Sendable' protocol
 28 |         /// How to encode a segment  to JSON string.
 29 |         public let encode: (XRayRecorder.Segment) throws -> ByteBuffer
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRaySDK/DefaultEncoding.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSXRayUDPEmitter'
12 | //===----------------------------------------------------------------------===//
13 |
14 | import AWSXRayUDPEmitter
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSXRayUDPEmitter'
15 | import NIO
16 | import PureSwiftJSON
   :
18 | extension XRayUDPEmitter.SegmentEncoding {
19 |     /// Default encoding of `XRayRecorder.Segment` to JSON string.
20 |     public static let `default`: XRayUDPEmitter.SegmentEncoding = {
   |                       |- note: annotate 'default' 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 |         let jsonEncoder = PSJSONEncoder()
22 |         return XRayUDPEmitter.SegmentEncoding { segment in
[303/303] Compiling AWSXRaySDK DefaultEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRaySDK/DefaultEncoding.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XRayUDPEmitter.SegmentEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
18 | extension XRayUDPEmitter.SegmentEncoding {
19 |     /// Default encoding of `XRayRecorder.Segment` to JSON string.
20 |     public static let `default`: XRayUDPEmitter.SegmentEncoding = {
   |                       `- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'XRayUDPEmitter.SegmentEncoding' may have shared mutable state; this is an error in the Swift 6 language mode
21 |         let jsonEncoder = PSJSONEncoder()
22 |         return XRayUDPEmitter.SegmentEncoding { segment in
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:27:19: note: struct 'SegmentEncoding' does not conform to the 'Sendable' protocol
 25 | public class XRayUDPEmitter: XRayNIOEmitter {
 26 |     /// A type representing the ability to encode a `XRayRecorder.Segment` to a String with its JSON representation.
 27 |     public struct SegmentEncoding {
    |                   `- note: struct 'SegmentEncoding' does not conform to the 'Sendable' protocol
 28 |         /// How to encode a segment  to JSON string.
 29 |         public let encode: (XRayRecorder.Segment) throws -> ByteBuffer
/Users/admin/builder/spi-builder-workspace/Sources/AWSXRaySDK/DefaultEncoding.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSXRayUDPEmitter'
12 | //===----------------------------------------------------------------------===//
13 |
14 | import AWSXRayUDPEmitter
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AWSXRayUDPEmitter'
15 | import NIO
16 | import PureSwiftJSON
   :
18 | extension XRayUDPEmitter.SegmentEncoding {
19 |     /// Default encoding of `XRayRecorder.Segment` to JSON string.
20 |     public static let `default`: XRayUDPEmitter.SegmentEncoding = {
   |                       |- note: annotate 'default' 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 |         let jsonEncoder = PSJSONEncoder()
22 |         return XRayUDPEmitter.SegmentEncoding { segment in
Build complete! (76.90s)
Fetching https://github.com/fabianfett/pure-swift-json.git
Fetching https://github.com/slashmo/gsoc-swift-baggage-context.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[6/502] Fetching gsoc-swift-baggage-context
[67/1551] Fetching gsoc-swift-baggage-context, pure-swift-json
[377/4904] Fetching gsoc-swift-baggage-context, pure-swift-json, swift-log
[4905/70489] Fetching gsoc-swift-baggage-context, pure-swift-json, swift-log, swift-nio
Fetched https://github.com/slashmo/gsoc-swift-baggage-context.git from cache (9.79s)
Fetched https://github.com/apple/swift-nio.git from cache (9.79s)
Fetched https://github.com/fabianfett/pure-swift-json.git from cache (9.79s)
Fetched https://github.com/apple/swift-log.git from cache (9.79s)
Computing version for https://github.com/fabianfett/pure-swift-json.git
Computed https://github.com/fabianfett/pure-swift-json.git at 0.4.0 (0.74s)
Computing version for https://github.com/slashmo/gsoc-swift-baggage-context.git
Computed https://github.com/slashmo/gsoc-swift-baggage-context.git at 0.2.0 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.66s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.65.0 (0.64s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1563] Fetching swift-atomics
[48/5081] Fetching swift-atomics, swift-system
[439/19094] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.52s)
Fetched https://github.com/apple/swift-system.git from cache (3.52s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.82s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/fabianfett/pure-swift-json.git
Working copy of https://github.com/fabianfett/pure-swift-json.git resolved at 0.4.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.3.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.65.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.0
Creating working copy for https://github.com/slashmo/gsoc-swift-baggage-context.git
Working copy of https://github.com/slashmo/gsoc-swift-baggage-context.git resolved at 0.2.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.17.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "gsoc-swift-baggage-context",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/slashmo/gsoc-swift-baggage-context.git"
    },
    {
      "identity" : "pure-swift-json",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "0.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/fabianfett/pure-swift-json.git"
    }
  ],
  "manifest_display_name" : "aws-xray-sdk-swift",
  "name" : "aws-xray-sdk-swift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "AWSXRaySDK",
      "targets" : [
        "AWSXRaySDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AWSXRayRecorder",
      "targets" : [
        "AWSXRayRecorder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AWSXRayUDPEmitter",
      "targets" : [
        "AWSXRayUDPEmitter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AWSXRayTesting",
      "targets" : [
        "AWSXRayTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AWSXRayUDPEmitterTests",
      "module_type" : "SwiftTarget",
      "name" : "AWSXRayUDPEmitterTests",
      "path" : "Tests/AWSXRayUDPEmitterTests",
      "sources" : [
        "ConfigTests.swift",
        "EmitterTests.swift",
        "NIOHelpersTests.swift",
        "TestSegmentEncoding.swift"
      ],
      "target_dependencies" : [
        "AWSXRayUDPEmitter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AWSXRayUDPEmitter",
      "module_type" : "SwiftTarget",
      "name" : "AWSXRayUDPEmitter",
      "path" : "Sources/AWSXRayUDPEmitter",
      "product_memberships" : [
        "AWSXRaySDK",
        "AWSXRayUDPEmitter"
      ],
      "sources" : [
        "Config.swift",
        "Locks.swift",
        "NIOHelpers.swift",
        "Random.swift",
        "UDPClient.swift",
        "UDPEmitter.swift"
      ],
      "target_dependencies" : [
        "AWSXRayRecorder"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AWSXRayTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "AWSXRayTestingTests",
      "path" : "Tests/AWSXRayTestingTests",
      "sources" : [
        "LogEmitterTests.swift",
        "Utils/TestLogHandler.swift"
      ],
      "target_dependencies" : [
        "AWSXRayTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AWSXRayTesting",
      "module_type" : "SwiftTarget",
      "name" : "AWSXRayTesting",
      "path" : "Sources/AWSXRayTesting",
      "product_dependencies" : [
        "NIO",
        "Logging"
      ],
      "product_memberships" : [
        "AWSXRayTesting"
      ],
      "sources" : [
        "LogEmitter.swift"
      ],
      "target_dependencies" : [
        "AWSXRayRecorder"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AWSXRaySDKTests",
      "module_type" : "SwiftTarget",
      "name" : "AWSXRaySDKTests",
      "path" : "Tests/AWSXRaySDKTests",
      "sources" : [
        "EncodingTests.swift",
        "SDKTests.swift",
        "SegmentEncodingTests.swift"
      ],
      "target_dependencies" : [
        "AWSXRaySDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AWSXRaySDK",
      "module_type" : "SwiftTarget",
      "name" : "AWSXRaySDK",
      "path" : "Sources/AWSXRaySDK",
      "product_dependencies" : [
        "PureSwiftJSON"
      ],
      "product_memberships" : [
        "AWSXRaySDK"
      ],
      "sources" : [
        "DefaultEncoding.swift",
        "DefaultRecorder.swift"
      ],
      "target_dependencies" : [
        "AWSXRayRecorder",
        "AWSXRayUDPEmitter"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AWSXRayRecorderTests",
      "module_type" : "SwiftTarget",
      "name" : "AWSXRayRecorderTests",
      "path" : "Tests/AWSXRayRecorderTests",
      "sources" : [
        "AnyCodable/AnyCodableTests.swift",
        "AnyCodable/AnyDecodableTests.swift",
        "AnyCodable/AnyEncodableTests.swift",
        "ConfigTests.swift",
        "ContextTests.swift",
        "HTTPTests.swift",
        "NoOpRecorderTests.swift",
        "NoOpSegmentTests.swift",
        "RandomTests.swift",
        "RecorderTests.swift",
        "SegmentExceptionTests.swift",
        "SegmentLoggingTests.swift",
        "SegmentTests.swift",
        "StringCompatTests.swift",
        "TimestampTests.swift",
        "TraceTests.swift",
        "Utils/TestCharacterSet.swift",
        "Utils/TestEmitter.swift",
        "Utils/TestLogHandler.swift"
      ],
      "target_dependencies" : [
        "AWSXRayRecorder"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AWSXRayRecorder",
      "module_type" : "SwiftTarget",
      "name" : "AWSXRayRecorder",
      "path" : "Sources/AWSXRayRecorder",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "Logging",
        "Baggage"
      ],
      "product_memberships" : [
        "AWSXRaySDK",
        "AWSXRayRecorder",
        "AWSXRayUDPEmitter",
        "AWSXRayTesting"
      ],
      "sources" : [
        "AWS.swift",
        "AnyCodable/AnyCodable.swift",
        "AnyCodable/AnyDecodable.swift",
        "AnyCodable/AnyEncodable.swift",
        "Baggage.swift",
        "Config.swift",
        "Emitter+NIO.swift",
        "Emitter.swift",
        "Exception.swift",
        "HTTP.swift",
        "NoOpRecorder.swift",
        "NoOpSegment.swift",
        "Random.swift",
        "Recorder+Helpers.swift",
        "Recorder+NIO.swift",
        "Recorder.swift",
        "Segment+NIOHTTP.swift",
        "Segment.swift",
        "StringCompat.swift",
        "Timestamp.swift",
        "Trace.swift",
        "Utils/Locks+Synchronized.swift",
        "Utils/Locks.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.