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, reference v0.7.1 (c505ac), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 01:51:28 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pokryfka/aws-xray-sdk-swift.git
Reference: v0.7.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pokryfka/aws-xray-sdk-swift
 * tag               v0.7.1     -> FETCH_HEAD
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 v0.7.1
Fetching https://github.com/slashmo/gsoc-swift-baggage-context.git
Fetching https://github.com/fabianfett/pure-swift-json.git
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-log.git from cache
[1/502] Fetching gsoc-swift-baggage-context
[17/1558] Fetching gsoc-swift-baggage-context, pure-swift-json
Fetched https://github.com/slashmo/gsoc-swift-baggage-context.git from cache (0.73s)
[402/1056] Fetching pure-swift-json
Fetched https://github.com/fabianfett/pure-swift-json.git from cache (0.91s)
Fetched https://github.com/apple/swift-log.git from cache (0.91s)
Fetched https://github.com/apple/swift-nio.git from cache (0.91s)
Computing version for https://github.com/fabianfett/pure-swift-json.git
Computed https://github.com/fabianfett/pure-swift-json.git at 0.4.0 (1.55s)
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.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.73s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.70s)
Fetched https://github.com/apple/swift-system.git from cache (0.70s)
Fetched https://github.com/apple/swift-collections.git from cache (0.74s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.26s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.73s)
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/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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "aws-xray-sdk-swift",
      "name": "aws-xray-sdk-swift",
      "url": "https://github.com/pokryfka/aws-xray-sdk-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/aws-xray-sdk-swift",
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.82.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.1.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.4.2",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        },
        {
          "identity": "gsoc-swift-baggage-context",
          "name": "swift-baggage-context",
          "url": "https://github.com/slashmo/gsoc-swift-baggage-context.git",
          "version": "0.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/gsoc-swift-baggage-context",
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.6.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "pure-swift-json",
          "name": "pure-swift-json",
          "url": "https://github.com/fabianfett/pure-swift-json.git",
          "version": "0.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/pure-swift-json",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pokryfka/aws-xray-sdk-swift.git
[1/2461] Fetching aws-xray-sdk-swift
Fetched https://github.com/pokryfka/aws-xray-sdk-swift.git from cache (0.94s)
Fetching https://github.com/fabianfett/pure-swift-json.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/slashmo/gsoc-swift-baggage-context.git from cache
Fetched https://github.com/fabianfett/pure-swift-json.git from cache (0.48s)
Fetched https://github.com/slashmo/gsoc-swift-baggage-context.git from cache (0.70s)
Fetched https://github.com/apple/swift-log.git from cache (0.70s)
Fetched https://github.com/apple/swift-nio.git from cache (0.70s)
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.76s)
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.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.0 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Fetched https://github.com/apple/swift-collections.git from cache (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.03s)
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/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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/pokryfka/aws-xray-sdk-swift.git
Working copy of https://github.com/pokryfka/aws-xray-sdk-swift.git resolved at v0.7.1 (c505ac2)
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
warning: '.resolve-product-dependencies': dependency 'aws-xray-sdk-swift' is not used by any target
Found 4 product dependencies
  - swift-nio
  - swift-log
  - swift-baggage-context
  - pure-swift-json
========================================
Build
========================================
Selected platform:         macosSpm
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
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/32] Write sources
[17/32] Copying PrivacyInfo.xcprivacy
[18/32] Compiling CNIOWindows WSAStartup.c
[18/32] Compiling CNIOWindows shim.c
[20/32] Write swift-version-2F0A5646E1D333AE.txt
[21/32] Compiling CNIOWASI CNIOWASI.c
[22/32] Compiling CNIOLinux shim.c
[22/32] Compiling CNIOLinux liburing_shims.c
[24/51] Compiling _AtomicsShims.c
[25/51] Compiling CNIOLLHTTP c_nio_http.c
[26/56] Compiling CNIOLLHTTP c_nio_api.c
[27/74] Compiling CNIOLLHTTP c_nio_llhttp.c
[28/74] Write sources
[29/96] Compiling CNIODarwin shim.c
[31/96] Compiling PureSwiftJSON JSONSingleValueEncodingContainer.swift
[32/96] Compiling PureSwiftJSON JSONKeyedEncodingContainer.swift
[33/96] Compiling PureSwiftJSON JSONUnkeyedEncodingContainer.swift
[34/97] Compiling PureSwiftJSON JSONError+DecodingError.swift
[35/97] Compiling Atomics ManagedAtomic.swift
[36/97] Compiling Atomics ManagedAtomicLazyReference.swift
[37/97] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[38/98] Emitting module _NIOBase64
[39/98] Compiling _NIOBase64 Base64.swift
[40/98] Compiling PureSwiftJSON JSONValue.swift
[41/98] Compiling PureSwiftJSON DocumentReader.swift
[42/98] Compiling Atomics AtomicMemoryOrderings.swift
[43/98] Compiling Atomics DoubleWord.swift
[44/98] Compiling Atomics Primitives.shims.swift
[45/98] Compiling Atomics AtomicInteger.swift
[46/98] Emitting module PureSwiftJSON
[47/98] Compiling Atomics AtomicBool.swift
[48/98] Compiling Atomics IntegerConformances.swift
[49/98] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[50/98] Compiling Baggage BaggageContextCarrier.swift
[51/98] Emitting module Baggage
[52/98] Compiling Baggage BaggageContext.swift
[53/98] Compiling PureSwiftJSON JSONParser.swift
[54/98] Emitting module _NIODataStructures
[55/98] Compiling Atomics PointerConformances.swift
[56/98] Compiling Atomics Primitives.native.swift
[57/98] Compiling Atomics UnsafeAtomic.swift
[58/98] Compiling Atomics UnsafeAtomicLazyReference.swift
[59/98] Compiling Atomics AtomicOptionalWrappable.swift
[60/98] Compiling Atomics AtomicReference.swift
[61/98] Compiling Atomics OptionalRawRepresentable.swift
[62/98] Compiling Atomics RawRepresentable.swift
[69/98] Emitting module InternalCollectionsUtilities
[70/98] Compiling _NIODataStructures PriorityQueue.swift
[71/98] Compiling _NIODataStructures _TinyArray.swift
[72/98] Compiling _NIODataStructures Heap.swift
[79/98] Compiling Atomics AtomicStorage.swift
[80/98] Compiling Atomics AtomicValue.swift
[83/116] Compiling Logging MetadataProvider.swift
[84/116] Compiling Logging LogHandler.swift
[85/116] Compiling Logging Locks.swift
[86/116] Emitting module Logging
[87/116] Compiling Logging Logging.swift
[88/116] Compiling DequeModule Deque+Equatable.swift
[89/116] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[90/116] Compiling DequeModule Deque+CustomReflectable.swift
[91/116] Compiling DequeModule Deque+Descriptions.swift
[92/116] Compiling DequeModule Deque+Codable.swift
[93/116] Compiling DequeModule Deque+Collection.swift
[94/116] Compiling DequeModule Deque._UnsafeHandle.swift
[95/116] Compiling DequeModule Deque.swift
[96/116] Emitting module Atomics
[97/116] Compiling Atomics IntegerOperations.swift
[98/116] Compiling Atomics Unmanaged extensions.swift
[99/116] Compiling DequeModule _DequeBufferHeader.swift
[100/116] Compiling DequeModule _DequeSlot.swift
[101/117] Compiling DequeModule _DequeBuffer.swift
[102/117] Compiling DequeModule _UnsafeWrappedBuffer.swift
[109/117] Compiling DequeModule Deque+Testing.swift
[110/117] Compiling DequeModule Deque._Storage.swift
[111/117] Compiling DequeModule Deque+Extras.swift
[112/117] Compiling DequeModule Deque+Hashable.swift
[112/117] Compiling c-nioatomics.c
[116/117] Emitting module DequeModule
[116/117] Compiling c-atomics.c
[118/123] Compiling NIOConcurrencyHelpers lock.swift
[119/123] Compiling NIOConcurrencyHelpers NIOLock.swift
[120/123] Emitting module NIOConcurrencyHelpers
[121/123] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[122/123] Compiling NIOConcurrencyHelpers atomics.swift
[123/123] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[124/184] Compiling NIOCore GlobalSingletons.swift
[125/184] Compiling NIOCore IO.swift
[126/184] Compiling NIOCore IOData.swift
[127/184] Compiling NIOCore IPProtocol.swift
[128/184] Compiling NIOCore IntegerBitPacking.swift
[129/184] Compiling NIOCore IntegerTypes.swift
[130/190] Compiling NIOCore Interfaces.swift
[131/190] Compiling NIOCore Linux.swift
[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/190] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[141/190] Compiling NIOCore SocketAddresses.swift
[142/190] Compiling NIOCore SocketOptionProvider.swift
[143/190] Compiling NIOCore SystemCallHelpers.swift
[144/190] Compiling NIOCore TimeAmount+Duration.swift
[145/190] Compiling NIOCore TypeAssistedChannelHandler.swift
[146/190] Compiling NIOCore UniversalBootstrapSupport.swift
[147/190] Compiling NIOCore Utilities.swift
[148/190] Compiling NIOCore AddressedEnvelope.swift
[149/190] Compiling NIOCore AsyncAwaitSupport.swift
[150/190] Compiling NIOCore AsyncChannel.swift
[151/190] Compiling NIOCore AsyncChannelHandler.swift
[152/190] Compiling NIOCore AsyncChannelInboundStream.swift
[153/190] Compiling NIOCore AsyncChannelOutboundWriter.swift
[154/190] Compiling NIOCore NIOAsyncSequenceProducer.swift
[155/190] Compiling NIOCore Codec.swift
[156/190] Compiling NIOCore ConvenienceOptionSupport.swift
[157/190] Compiling NIOCore DeadChannel.swift
[158/190] Compiling NIOCore DispatchQueue+WithFuture.swift
[159/190] Compiling NIOCore EventLoop+Deprecated.swift
[160/190] Compiling NIOCore EventLoop+SerialExecutor.swift
[161/190] Compiling NIOCore EventLoop.swift
[162/190] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[163/190] Compiling NIOCore NIOAsyncWriter.swift
[164/190] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[165/190] Compiling NIOCore BSDSocketAPI.swift
[166/190] Compiling NIOCore ByteBuffer-aux.swift
[167/190] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[168/190] Compiling NIOCore ByteBuffer-conversions.swift
[169/190] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[170/190] Compiling NIOCore EventLoopFuture+Deprecated.swift
[171/190] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[172/190] Compiling NIOCore EventLoopFuture.swift
[173/190] Compiling NIOCore FileDescriptor.swift
[174/190] Compiling NIOCore FileHandle.swift
[175/190] Compiling NIOCore FileRegion.swift
[176/190] Compiling NIOCore Channel.swift
[177/190] Compiling NIOCore ChannelHandler.swift
[178/190] Compiling NIOCore ChannelHandlers.swift
[179/190] Compiling NIOCore ChannelInvoker.swift
[180/190] Compiling NIOCore ChannelOption.swift
[181/190] Compiling NIOCore ChannelPipeline.swift
[182/190] Compiling NIOCore CircularBuffer.swift
[183/190] Compiling NIOCore ByteBuffer-core.swift
[184/190] Compiling NIOCore ByteBuffer-hex.swift
[185/190] Compiling NIOCore ByteBuffer-int.swift
[186/190] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[187/190] Compiling NIOCore ByteBuffer-multi-int.swift
[188/190] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[189/190] Compiling NIOCore ByteBuffer-views.swift
[190/190] Emitting module NIOCore
[191/243] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[192/243] Compiling NIOEmbedded AsyncTestingChannel.swift
[193/243] Emitting module NIOEmbedded
[194/243] Compiling NIOEmbedded Embedded.swift
[195/243] Compiling NIOPosix BSDSocketAPICommon.swift
[196/243] Compiling NIOPosix BSDSocketAPIPosix.swift
[197/243] Compiling NIOPosix BSDSocketAPIWindows.swift
[198/243] Compiling NIOPosix BaseSocket.swift
[199/243] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[200/243] Compiling NIOPosix BaseSocketChannel.swift
[201/248] Compiling NIOPosix SocketProtocols.swift
[202/248] Compiling NIOPosix System.swift
[203/248] Compiling NIOPosix Thread.swift
[204/248] Compiling NIOPosix ThreadPosix.swift
[205/248] Compiling NIOPosix ThreadWindows.swift
[206/248] Compiling NIOPosix LinuxCPUSet.swift
[207/248] Compiling NIOPosix LinuxUring.swift
[208/248] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[209/248] Compiling NIOPosix NIOThreadPool.swift
[210/248] Compiling NIOPosix NonBlockingFileIO.swift
[211/248] Emitting module NIOPosix
[212/248] Compiling NIOPosix Selectable.swift
[213/248] Compiling NIOPosix SelectableChannel.swift
[214/248] Compiling NIOPosix SelectableEventLoop.swift
[215/248] Compiling NIOPosix SelectorEpoll.swift
[216/248] Compiling NIOPosix SelectorGeneric.swift
[217/248] Compiling NIOPosix PooledRecvBufferAllocator.swift
[218/248] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[219/248] Compiling NIOPosix PosixSingletons.swift
[220/248] Compiling NIOPosix RawSocketBootstrap.swift
[221/248] Compiling NIOPosix Resolver.swift
[222/248] Compiling NIOPosix SelectorKqueue.swift
[223/248] Compiling NIOPosix SelectorUring.swift
[224/248] Compiling NIOPosix ServerSocket.swift
[225/248] Compiling NIOPosix Socket.swift
[226/248] Compiling NIOPosix SocketChannel.swift
[227/248] Compiling NIOPosix PendingDatagramWritesManager.swift
[228/248] Compiling NIOPosix PendingWritesManager.swift
[229/248] Compiling NIOPosix PipeChannel.swift
[230/248] Compiling NIOPosix PipePair.swift
[231/248] Compiling NIOPosix Pool.swift
[232/248] Compiling NIOPosix GetaddrinfoResolver.swift
[233/248] Compiling NIOPosix HappyEyeballs.swift
[234/248] Compiling NIOPosix IO.swift
[235/248] Compiling NIOPosix IntegerBitPacking.swift
[236/248] Compiling NIOPosix IntegerTypes.swift
[237/248] Compiling NIOPosix Linux.swift
[238/248] Compiling NIOPosix BaseStreamSocketChannel.swift
[239/248] Compiling NIOPosix Bootstrap.swift
[240/248] Compiling NIOPosix ControlMessage.swift
[241/248] Compiling NIOPosix DatagramVectorReadManager.swift
[242/248] Compiling NIOPosix Errors+Any.swift
[243/248] Compiling NIOPosix FileDescriptor.swift
[244/248] Compiling NIOPosix UnsafeTransfer.swift
[245/248] Compiling NIOPosix Utilities.swift
[246/248] Compiling NIOPosix VsockAddress.swift
[247/248] Compiling NIOPosix VsockChannelEvents.swift
[248/248] Compiling NIOPosix resource_bundle_accessor.swift
[249/250] Emitting module NIO
[250/250] Compiling NIO Exports.swift
[251/267] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[252/268] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[253/268] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[254/268] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[255/268] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[256/268] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[257/268] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[258/268] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[259/268] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[260/268] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[261/268] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[262/268] Compiling NIOHTTP1 ByteCollectionUtils.swift
[263/268] Compiling NIOHTTP1 HTTPDecoder.swift
[264/268] Compiling NIOHTTP1 HTTPTypes.swift
[265/268] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[266/268] Emitting module NIOHTTP1
[267/268] Compiling NIOHTTP1 HTTPEncoder.swift
[268/268] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[269/290] 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
 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()
/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
 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()
/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()
[270/292] Compiling AWSXRayRecorder AWS.swift
[271/292] Compiling AWSXRayRecorder AnyCodable.swift
[272/292] Compiling AWSXRayRecorder AnyDecodable.swift
[273/292] 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
 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()
/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
 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()
/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
 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()
/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
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 |             }
/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/292] 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
 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()
/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
 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()
/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
 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()
/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
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 |             }
/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/292] 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
 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
 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
 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
 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 }
[276/292] 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
 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
 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
 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
 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 }
[277/292] Compiling AWSXRayRecorder Locks+Synchronized.swift
[278/292] Compiling AWSXRayRecorder Locks.swift
[279/292] Compiling AWSXRayRecorder AnyEncodable.swift
[280/292] Compiling AWSXRayRecorder Baggage.swift
[281/292] Compiling AWSXRayRecorder Config.swift
[282/292] 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()
[283/292] 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()
[284/292] Compiling AWSXRayRecorder Emitter+NIO.swift
[285/292] Compiling AWSXRayRecorder Emitter.swift
[286/292] Compiling AWSXRayRecorder Exception.swift
[287/292] Compiling AWSXRayRecorder Segment.swift
[288/292] Compiling AWSXRayRecorder StringCompat.swift
[289/292] Compiling AWSXRayRecorder NoOpSegment.swift
[290/292] Compiling AWSXRayRecorder Random.swift
[291/292] Compiling AWSXRayRecorder Timestamp.swift
[292/292] Compiling AWSXRayRecorder Trace.swift
[293/301] 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 |
[294/301] 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 |
[295/301] Compiling AWSXRayUDPEmitter Config.swift
[296/301] 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
 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)")
/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
 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)
/Users/admin/builder/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)
/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
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)
/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 |
[297/301] 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
[298/301] 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
 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):
/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
 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:
/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
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)
/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
 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 |
/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
[299/301] Compiling AWSXRayUDPEmitter Random.swift
[300/301] Compiling AWSXRayUDPEmitter NIOHelpers.swift
[301/301] Compiling AWSXRayUDPEmitter Locks.swift
[302/304] Compiling AWSXRaySDK DefaultRecorder.swift
[303/304] 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: 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
[304/304] 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: 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
Build complete! (16.89s)
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.