Build Information
Successful build of aws-xray-sdk-swift, reference main (c505ac
), with Swift 6.1 for Linux on 26 Apr 2025 01:36:27 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pokryfka/aws-xray-sdk-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/pokryfka/aws-xray-sdk-swift.git
https://github.com/pokryfka/aws-xray-sdk-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log.git
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-nio.git
[1/502] Fetching gsoc-swift-baggage-context
[503/4338] Fetching gsoc-swift-baggage-context, swift-log
[1079/5394] Fetching gsoc-swift-baggage-context, swift-log, pure-swift-json
Fetched https://github.com/fabianfett/pure-swift-json.git from cache (0.23s)
Fetched https://github.com/apple/swift-log.git from cache (0.29s)
[1/75431] Fetching swift-nio
Fetched https://github.com/slashmo/gsoc-swift-baggage-context.git from cache (3.47s)
Fetched https://github.com/apple/swift-nio.git from cache (3.56s)
Computing version for https://github.com/fabianfett/pure-swift-json.git
Computed https://github.com/fabianfett/pure-swift-json.git at 0.4.0 (4.01s)
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.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.70s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[1212/6058] Fetching swift-atomics, swift-system
[5058/22300] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
[8739/20595] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.89s)
Fetched https://github.com/apple/swift-collections.git from cache (0.92s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.34s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.40s)
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.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
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/fabianfett/pure-swift-json.git
Working copy of https://github.com/fabianfett/pure-swift-json.git resolved at 0.4.0
Building for debugging...
[0/31] Write sources
[12/31] Compiling CNIOWindows shim.c
[13/31] Compiling CNIOWASI CNIOWASI.c
[14/31] Compiling CNIOWindows WSAStartup.c
[15/31] Compiling CNIOLinux liburing_shims.c
[16/31] Compiling CNIODarwin shim.c
[17/31] Compiling CNIOLLHTTP c_nio_http.c
[17/31] Write sources
[24/31] Compiling CNIOLinux shim.c
[25/31] Compiling CNIOLLHTTP c_nio_api.c
[26/31] Compiling _AtomicsShims.c
[27/31] Write swift-version-24593BA9C3E375BF.txt
[28/31] Compiling CNIOLLHTTP c_nio_llhttp.c
[30/75] Emitting module Baggage
[31/75] Emitting module _NIOBase64
[32/75] Emitting module Logging
[32/75] Compiling c-nioatomics.c
[33/94] Compiling c-atomics.c
[35/94] Compiling Baggage BaggageContextCarrier.swift
[36/94] Compiling Atomics AtomicValue.swift
[37/94] Compiling Atomics ManagedAtomic.swift
[38/94] Compiling Atomics PointerConformances.swift
[39/94] Compiling Atomics Primitives.native.swift
[40/94] Compiling Atomics ManagedAtomicLazyReference.swift
[41/94] Compiling Atomics IntegerConformances.swift
[42/94] Compiling _NIOBase64 Base64.swift
[43/94] Compiling _NIODataStructures PriorityQueue.swift
[44/97] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[45/97] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[46/97] Compiling PureSwiftJSON DocumentReader.swift
[47/97] Compiling PureSwiftJSON JSONValue.swift
[48/99] Compiling _NIODataStructures _TinyArray.swift
[49/100] Compiling Atomics AtomicReference.swift
[50/100] Compiling Atomics AtomicStorage.swift
[51/100] Compiling Atomics Primitives.shims.swift
[52/100] Compiling Atomics AtomicInteger.swift
[53/100] Compiling Atomics AtomicOptionalWrappable.swift
[54/100] Compiling Atomics OptionalRawRepresentable.swift
[55/100] Compiling Atomics RawRepresentable.swift
[56/100] Compiling Atomics AtomicBool.swift
[59/100] Emitting module PureSwiftJSON
[60/100] Compiling Baggage BaggageContext.swift
[61/100] Compiling Atomics UnsafeAtomic.swift
[62/100] Compiling Atomics UnsafeAtomicLazyReference.swift
[77/101] Emitting module InternalCollectionsUtilities
[83/108] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[84/108] Compiling Atomics IntegerOperations.swift
[85/108] Compiling Atomics Unmanaged extensions.swift
[91/108] Compiling PureSwiftJSON JSONParser.swift
[93/124] Compiling DequeModule Deque+CustomReflectable.swift
[94/124] Compiling DequeModule Deque+Descriptions.swift
[95/124] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[96/126] Compiling Logging MetadataProvider.swift
[97/126] Emitting module _NIODataStructures
[98/126] Compiling _NIODataStructures Heap.swift
[99/127] Compiling Logging LogHandler.swift
[100/127] Compiling Logging Logging.swift
[101/127] Compiling NIOConcurrencyHelpers NIOLock.swift
[102/127] Compiling NIOConcurrencyHelpers atomics.swift
[103/127] Compiling NIOConcurrencyHelpers lock.swift
[104/127] Emitting module NIOConcurrencyHelpers
[106/128] Compiling DequeModule _DequeBuffer.swift
[107/128] Compiling DequeModule _DequeBufferHeader.swift
[108/128] Compiling Logging Locks.swift
[111/129] Compiling DequeModule Deque+Equatable.swift
[112/129] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[113/129] Compiling DequeModule Deque+Extras.swift
[114/129] Compiling DequeModule Deque+Hashable.swift
[115/129] Compiling DequeModule Deque+Testing.swift
[116/129] Compiling DequeModule Deque._Storage.swift
[117/129] Compiling DequeModule _DequeSlot.swift
[118/129] Compiling DequeModule _UnsafeWrappedBuffer.swift
[119/129] Compiling DequeModule Deque+Codable.swift
[120/129] Compiling DequeModule Deque+Collection.swift
[121/129] Emitting module DequeModule
[122/129] Compiling DequeModule Deque._UnsafeHandle.swift
[123/129] Compiling DequeModule Deque.swift
[125/130] Emitting module Atomics
[132/190] Compiling NIOCore MarkedCircularBuffer.swift
[133/190] Compiling NIOCore MulticastChannel.swift
[134/190] Compiling NIOCore NIOAny.swift
[135/190] Compiling NIOCore NIOCloseOnErrorHandler.swift
[136/190] Compiling NIOCore NIOLoopBound.swift
[137/190] Compiling NIOCore NIOScheduledCallback.swift
[138/190] Compiling NIOCore NIOSendable.swift
[139/190] Compiling NIOCore RecvByteBufferAllocator.swift
[140/198] Compiling NIOCore GlobalSingletons.swift
[141/198] Compiling NIOCore IO.swift
[142/198] Compiling NIOCore IOData.swift
[143/198] Compiling NIOCore IPProtocol.swift
[144/198] Compiling NIOCore IntegerBitPacking.swift
[145/198] Compiling NIOCore IntegerTypes.swift
[146/198] Compiling NIOCore Interfaces.swift
[147/198] Compiling NIOCore Linux.swift
[148/198] Compiling NIOCore ChannelPipeline.swift
[149/198] Compiling NIOCore CircularBuffer.swift
[150/198] Compiling NIOCore Codec.swift
[151/198] Compiling NIOCore ConvenienceOptionSupport.swift
[152/198] Compiling NIOCore DeadChannel.swift
[153/198] Compiling NIOCore DispatchQueue+WithFuture.swift
[154/198] Compiling NIOCore EventLoop+Deprecated.swift
[155/198] Compiling NIOCore EventLoop+SerialExecutor.swift
[156/198] Compiling NIOCore EventLoop.swift
[157/198] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[158/198] Compiling NIOCore EventLoopFuture+Deprecated.swift
[159/198] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[160/198] Compiling NIOCore EventLoopFuture.swift
[161/198] Compiling NIOCore FileDescriptor.swift
[162/198] Compiling NIOCore FileHandle.swift
[163/198] Compiling NIOCore FileRegion.swift
[164/198] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[165/198] Compiling NIOCore SocketAddresses.swift
[166/198] Compiling NIOCore SocketOptionProvider.swift
[167/198] Compiling NIOCore SystemCallHelpers.swift
[168/198] Compiling NIOCore TimeAmount+Duration.swift
[169/198] Compiling NIOCore TypeAssistedChannelHandler.swift
[170/198] Compiling NIOCore UniversalBootstrapSupport.swift
[171/198] Compiling NIOCore Utilities.swift
[172/198] Compiling NIOCore AddressedEnvelope.swift
[173/198] Compiling NIOCore AsyncAwaitSupport.swift
[174/198] Compiling NIOCore AsyncChannel.swift
[175/198] Compiling NIOCore AsyncChannelHandler.swift
[176/198] Compiling NIOCore AsyncChannelInboundStream.swift
[177/198] Compiling NIOCore AsyncChannelOutboundWriter.swift
[178/198] Compiling NIOCore NIOAsyncSequenceProducer.swift
[179/198] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[180/198] Compiling NIOCore NIOAsyncWriter.swift
[181/198] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[182/198] Compiling NIOCore BSDSocketAPI.swift
[183/198] Compiling NIOCore ByteBuffer-aux.swift
[184/198] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[185/198] Compiling NIOCore ByteBuffer-conversions.swift
[186/198] Compiling NIOCore ByteBuffer-core.swift
[187/198] Compiling NIOCore ByteBuffer-hex.swift
[188/198] Compiling NIOCore ByteBuffer-int.swift
[189/198] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[190/198] Compiling NIOCore ByteBuffer-multi-int.swift
[191/198] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[192/198] Compiling NIOCore ByteBuffer-views.swift
[193/198] Compiling NIOCore Channel.swift
[194/198] Compiling NIOCore ChannelHandler.swift
[195/198] Compiling NIOCore ChannelHandlers.swift
[196/198] Compiling NIOCore ChannelInvoker.swift
[197/198] Compiling NIOCore ChannelOption.swift
[198/198] Emitting module NIOCore
[200/250] Compiling NIOEmbedded AsyncTestingChannel.swift
[201/250] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[202/250] Emitting module NIOEmbedded
[203/250] Compiling NIOEmbedded Embedded.swift
[205/251] Emitting module NIOPosix
[206/257] Compiling NIOPosix IO.swift
[207/257] Compiling NIOPosix IntegerBitPacking.swift
[208/257] Compiling NIOPosix IntegerTypes.swift
[209/257] Compiling NIOPosix Linux.swift
[210/257] Compiling NIOPosix LinuxCPUSet.swift
[211/257] Compiling NIOPosix LinuxUring.swift
[212/257] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[213/257] Compiling NIOPosix ThreadPosix.swift
[214/257] Compiling NIOPosix ThreadWindows.swift
[215/257] Compiling NIOPosix UnsafeTransfer.swift
[216/257] Compiling NIOPosix Utilities.swift
[217/257] Compiling NIOPosix VsockAddress.swift
[218/257] Compiling NIOPosix VsockChannelEvents.swift
[219/257] Compiling NIOPosix PooledRecvBufferAllocator.swift
[220/257] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[221/257] Compiling NIOPosix PosixSingletons.swift
[222/257] Compiling NIOPosix RawSocketBootstrap.swift
[223/257] Compiling NIOPosix Resolver.swift
[224/257] Compiling NIOPosix Selectable.swift
[225/257] Compiling NIOPosix SelectableChannel.swift
[226/257] Compiling NIOPosix SelectableEventLoop.swift
[227/257] Compiling NIOPosix SelectorEpoll.swift
[228/257] Compiling NIOPosix SelectorGeneric.swift
[229/257] Compiling NIOPosix SelectorKqueue.swift
[230/257] Compiling NIOPosix SelectorUring.swift
[231/257] Compiling NIOPosix BSDSocketAPICommon.swift
[232/257] Compiling NIOPosix BSDSocketAPIPosix.swift
[233/257] Compiling NIOPosix BSDSocketAPIWindows.swift
[234/257] Compiling NIOPosix BaseSocket.swift
[235/257] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[236/257] Compiling NIOPosix BaseSocketChannel.swift
[237/257] Compiling NIOPosix BaseStreamSocketChannel.swift
[238/257] Compiling NIOPosix Bootstrap.swift
[239/257] Compiling NIOPosix ControlMessage.swift
[240/257] Compiling NIOPosix DatagramVectorReadManager.swift
[241/257] Compiling NIOPosix Errors+Any.swift
[242/257] Compiling NIOPosix FileDescriptor.swift
[243/257] Compiling NIOPosix GetaddrinfoResolver.swift
[244/257] Compiling NIOPosix HappyEyeballs.swift
[245/257] Compiling NIOPosix NIOThreadPool.swift
[246/257] Compiling NIOPosix NonBlockingFileIO.swift
[247/257] Compiling NIOPosix PendingDatagramWritesManager.swift
[248/257] Compiling NIOPosix PendingWritesManager.swift
[249/257] Compiling NIOPosix PipeChannel.swift
[250/257] Compiling NIOPosix PipePair.swift
[251/257] Compiling NIOPosix Pool.swift
[252/257] Compiling NIOPosix ServerSocket.swift
[253/257] Compiling NIOPosix Socket.swift
[254/257] Compiling NIOPosix SocketChannel.swift
[255/257] Compiling NIOPosix SocketProtocols.swift
[256/257] Compiling NIOPosix System.swift
[257/257] Compiling NIOPosix Thread.swift
[259/260] Emitting module NIO
[260/260] Compiling NIO Exports.swift
[262/277] Emitting module NIOHTTP1
[263/279] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[264/279] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[265/279] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[266/279] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[267/279] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[268/279] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[269/279] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[270/279] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[271/279] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[272/279] Compiling NIOHTTP1 HTTPTypes.swift
[273/279] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[274/279] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[275/279] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[276/279] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[277/279] Compiling NIOHTTP1 ByteCollectionUtils.swift
[278/279] Compiling NIOHTTP1 HTTPDecoder.swift
[279/279] Compiling NIOHTTP1 HTTPEncoder.swift
[281/302] Emitting module AWSXRayRecorder
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:59:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
60 | }
61 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:83:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
84 | }
85 | segment.end()
/host/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 {
/host/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()
[282/304] Compiling AWSXRayRecorder AWS.swift
[283/304] Compiling AWSXRayRecorder AnyCodable.swift
[284/304] Compiling AWSXRayRecorder AnyDecodable.swift
[285/304] Compiling AWSXRayRecorder AnyEncodable.swift
[286/304] Compiling AWSXRayRecorder Baggage.swift
[287/304] Compiling AWSXRayRecorder Config.swift
[288/304] Compiling AWSXRayRecorder StringCompat.swift
[289/304] Compiling AWSXRayRecorder Timestamp.swift
[290/304] Compiling AWSXRayRecorder Trace.swift
[291/304] Compiling AWSXRayRecorder Emitter+NIO.swift
[292/304] Compiling AWSXRayRecorder Emitter.swift
[293/304] Compiling AWSXRayRecorder Exception.swift
[294/304] Compiling AWSXRayRecorder Locks+Synchronized.swift
[295/304] Compiling AWSXRayRecorder Locks.swift
[296/304] Compiling AWSXRayRecorder HTTP.swift
/host/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()
[297/304] Compiling AWSXRayRecorder NoOpRecorder.swift
/host/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()
[298/304] Compiling AWSXRayRecorder NoOpSegment.swift
/host/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()
[299/304] Compiling AWSXRayRecorder Random.swift
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:59:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
60 | }
61 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:83:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
84 | }
85 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:99:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
100 | }
101 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:118:17: warning: capture of 'recorder' with non-sendable type 'XRayRecorder' in a '@Sendable' closure
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
119 | .flatMapResult { recover ? Result<Value, Error>.success(()) : result }
120 | }
/host/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
/host/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()
[300/304] Compiling AWSXRayRecorder Recorder+Helpers.swift
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:59:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
60 | }
61 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:83:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
84 | }
85 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:99:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
100 | }
101 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:118:17: warning: capture of 'recorder' with non-sendable type 'XRayRecorder' in a '@Sendable' closure
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
119 | .flatMapResult { recover ? Result<Value, Error>.success(()) : result }
120 | }
/host/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
/host/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()
[301/304] Compiling AWSXRayRecorder Recorder+NIO.swift
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:59:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
60 | }
61 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:83:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
84 | }
85 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:99:17: warning: capture of 'segment' with non-sendable type 'XRayRecorder.Segment' in a '@Sendable' closure
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
100 | }
101 | segment.end()
/host/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 {
/host/spi-builder-workspace/Sources/AWSXRayRecorder/Recorder+NIO.swift:118:17: warning: capture of 'recorder' with non-sendable type 'XRayRecorder' in a '@Sendable' closure
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
119 | .flatMapResult { recover ? Result<Value, Error>.success(()) : result }
120 | }
/host/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
/host/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()
[302/304] Compiling AWSXRayRecorder Recorder.swift
/host/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()
/host/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 | }
/host/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 | }
/host/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 }
[303/304] Compiling AWSXRayRecorder Segment+NIOHTTP.swift
/host/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()
/host/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 | }
/host/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 | }
/host/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 }
[304/304] Compiling AWSXRayRecorder Segment.swift
/host/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()
/host/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 | }
/host/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 | }
/host/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 }
[306/314] Compiling AWSXRayUDPEmitter Locks.swift
[307/314] Emitting module AWSXRayUDPEmitter
/host/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
[308/314] Compiling AWSXRayUDPEmitter NIOHelpers.swift
[309/314] Compiling AWSXRayUDPEmitter Config.swift
[310/314] Compiling AWSXRayUDPEmitter UDPClient.swift
/host/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
/host/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:
/host/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:94:17: warning: capture of 'self' with non-sendable type 'UDPClient' in a '@Sendable' closure
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
95 | guard case .connecting = self.state else {
96 | preconditionFailure("invalid state \(self.state)")
/host/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 | }
/host/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)
/host/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:105:17: warning: capture of 'self' with non-sendable type 'UDPClient' in a '@Sendable' closure
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
106 | }
107 | state = .connecting(future)
/host/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:124:74: warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
122 | let bootstrap = DatagramBootstrap(group: eventLoopGroup)
123 | .channelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
124 | .channelInitializer { channel in channel.pipeline.addHandler(handler) }
| `- warning: type 'any ChannelHandler' does not conform to the 'Sendable' protocol
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)
/host/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPClient.swift:124:74: warning: capture of 'handler' with non-sendable type 'any ChannelHandler' in a '@Sendable' closure
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
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)
/host/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 | ///
/host/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 |
[311/314] Compiling AWSXRayUDPEmitter UDPEmitter.swift
/host/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:98:34: warning: capture of 'self' with non-sendable type 'XRayUDPEmitter?' in a '@Sendable' closure
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
99 | switch result {
100 | case .failure(let error):
/host/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:117:21: warning: capture of 'self' with non-sendable type 'XRayUDPEmitter' in a '@Sendable' closure
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
118 | callback(error)
119 | case .success:
/host/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:118:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
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
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | case .success:
120 | callback(nil)
/host/spi-builder-workspace/Sources/AWSXRayUDPEmitter/UDPEmitter.swift:134:28: warning: capture of 'self' with non-sendable type 'XRayUDPEmitter' in a '@Sendable' closure
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
135 | }
136 |
/host/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
[312/314] Compiling AWSXRayUDPEmitter Random.swift
[314/318] Compiling AWSXRaySDK DefaultEncoding.swift
/host/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
/host/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
/host/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let jsonEncoder = PSJSONEncoder()
22 | return XRayUDPEmitter.SegmentEncoding { segment in
[315/318] Compiling AWSXRaySDK DefaultRecorder.swift
[316/318] Emitting module AWSXRaySDK
/host/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
/host/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
/host/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let jsonEncoder = PSJSONEncoder()
22 | return XRayUDPEmitter.SegmentEncoding { segment in
[318/319] Emitting module AWSXRayTesting
/host/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 |
[319/319] Compiling AWSXRayTesting LogEmitter.swift
/host/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 |
Build complete! (37.94s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.