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

Failed to build opentelemetry-swift, reference main (60f926), with Swift 6.0 for macOS (SPM) on 14 Nov 2024 22:58:17 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

36 |     func bind(labels: [String: String]) -> BoundCounterMetric<T>
37 | }
38 | public struct AnyCounterMetric<T>: CounterMetric {
   |               `- note: generic struct 'AnyCounterMetric' does not conform to the 'Sendable' protocol
39 |     let internalCounter: Any
40 |     private let _addLabelSet: (T, LabelSet) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:55:7: warning: non-final class 'SwiftHistogramMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 53 | }
 54 |
 55 | class SwiftHistogramMetric: RecorderHandler, SwiftMetric {
    |       `- warning: non-final class 'SwiftHistogramMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 56 |
 57 |     let metricName: String
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:59:9: warning: stored property 'measure' of 'Sendable'-conforming class 'SwiftHistogramMetric' has non-sendable type 'AnyMeasureMetric<Double>'; this is an error in the Swift 6 language mode
 57 |     let metricName: String
 58 |     let metricType: MetricType = .histogram
 59 |     let measure: AnyMeasureMetric<Double>
    |         `- warning: stored property 'measure' of 'Sendable'-conforming class 'SwiftHistogramMetric' has non-sendable type 'AnyMeasureMetric<Double>'; this is an error in the Swift 6 language mode
 60 |     let labels: [String: String]
 61 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/Instruments/Gauge/MeasureMetric.swift:43:15: note: generic struct 'AnyMeasureMetric' does not conform to the 'Sendable' protocol
41 | }
42 |
43 | public struct AnyMeasureMetric<T>: MeasureMetric {
   |               `- note: generic struct 'AnyMeasureMetric' does not conform to the 'Sendable' protocol
44 |     private let _bindLabelSet: (LabelSet) -> BoundMeasureMetric<T>
45 |     private let _bindLabels: ([String: String]) -> BoundMeasureMetric<T>
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:78:7: warning: non-final class 'SwiftSummaryMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 76 | }
 77 |
 78 | class SwiftSummaryMetric: TimerHandler, SwiftMetric {
    |       `- warning: non-final class 'SwiftSummaryMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 79 |
 80 |     let metricName: String
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:82:9: warning: stored property 'measure' of 'Sendable'-conforming class 'SwiftSummaryMetric' has non-sendable type 'AnyMeasureMetric<Double>'; this is an error in the Swift 6 language mode
 80 |     let metricName: String
 81 |     let metricType: MetricType = .summary
 82 |     let measure: AnyMeasureMetric<Double>
    |         `- warning: stored property 'measure' of 'Sendable'-conforming class 'SwiftSummaryMetric' has non-sendable type 'AnyMeasureMetric<Double>'; this is an error in the Swift 6 language mode
 83 |     let labels: [String: String]
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/Instruments/Gauge/MeasureMetric.swift:43:15: note: generic struct 'AnyMeasureMetric' does not conform to the 'Sendable' protocol
41 | }
42 |
43 | public struct AnyMeasureMetric<T>: MeasureMetric {
   |               `- note: generic struct 'AnyMeasureMetric' does not conform to the 'Sendable' protocol
44 |     private let _bindLabelSet: (LabelSet) -> BoundMeasureMetric<T>
45 |     private let _bindLabels: ([String: String]) -> BoundMeasureMetric<T>
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/SwiftMetricsShim.swift:9:14: warning: non-final class 'OpenTelemetrySwiftMetrics' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  7 | import OpenTelemetryApi
  8 |
  9 | public class OpenTelemetrySwiftMetrics: MetricsFactory {
    |              `- warning: non-final class 'OpenTelemetrySwiftMetrics' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 10 |
 11 |     internal let meter: OpenTelemetryApi.Meter
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/SwiftMetricsShim.swift:11:18: warning: stored property 'meter' of 'Sendable'-conforming class 'OpenTelemetrySwiftMetrics' has non-sendable type 'any Meter'; this is an error in the Swift 6 language mode
  9 | public class OpenTelemetrySwiftMetrics: MetricsFactory {
 10 |
 11 |     internal let meter: OpenTelemetryApi.Meter
    |                  `- warning: stored property 'meter' of 'Sendable'-conforming class 'OpenTelemetrySwiftMetrics' has non-sendable type 'any Meter'; this is an error in the Swift 6 language mode
 12 |     internal var metrics = [MetricKey: SwiftMetric]()
 13 |     internal let lock = Lock()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/Meter.swift:13:17: note: protocol 'Meter' does not conform to the 'Sendable' protocol
 11 | // Phase 2
 12 | //@available(*, deprecated, renamed: "StableMeter")
 13 | public protocol Meter {
    |                 `- note: protocol 'Meter' does not conform to the 'Sendable' protocol
 14 |
 15 |     /// Creates Int counter with given name.
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/SwiftMetricsShim.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
  5 |
  6 | import CoreMetrics
  7 | import OpenTelemetryApi
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
  8 |
  9 | public class OpenTelemetrySwiftMetrics: MetricsFactory {
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/SwiftMetricsShim.swift:12:18: warning: stored property 'metrics' of 'Sendable'-conforming class 'OpenTelemetrySwiftMetrics' is mutable; this is an error in the Swift 6 language mode
 10 |
 11 |     internal let meter: OpenTelemetryApi.Meter
 12 |     internal var metrics = [MetricKey: SwiftMetric]()
    |                  `- warning: stored property 'metrics' of 'Sendable'-conforming class 'OpenTelemetrySwiftMetrics' is mutable; this is an error in the Swift 6 language mode
 13 |     internal let lock = Lock()
 14 |
[1057/1157] Compiling SwiftMetricsShim MetricHandlers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:9:7: warning: non-final class 'SwiftCounterMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  7 | import OpenTelemetryApi
  8 |
  9 | class SwiftCounterMetric: CounterHandler, SwiftMetric {
    |       `- warning: non-final class 'SwiftCounterMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 10 |
 11 |     let metricName: String
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:13:9: warning: stored property 'counter' of 'Sendable'-conforming class 'SwiftCounterMetric' has non-sendable type 'AnyCounterMetric<Int>'; this is an error in the Swift 6 language mode
 11 |     let metricName: String
 12 |     let metricType: MetricType = .counter
 13 |     let counter: AnyCounterMetric<Int>
    |         `- warning: stored property 'counter' of 'Sendable'-conforming class 'SwiftCounterMetric' has non-sendable type 'AnyCounterMetric<Int>'; this is an error in the Swift 6 language mode
 14 |     let labels: [String: String]
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/Instruments/Sum/CounterMetric.swift:38:15: note: generic struct 'AnyCounterMetric' does not conform to the 'Sendable' protocol
36 |     func bind(labels: [String: String]) -> BoundCounterMetric<T>
37 | }
38 | public struct AnyCounterMetric<T>: CounterMetric {
   |               `- note: generic struct 'AnyCounterMetric' does not conform to the 'Sendable' protocol
39 |     let internalCounter: Any
40 |     private let _addLabelSet: (T, LabelSet) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
  5 |
  6 | import CoreMetrics
  7 | import OpenTelemetryApi
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
  8 |
  9 | class SwiftCounterMetric: CounterHandler, SwiftMetric {
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:32:7: warning: non-final class 'SwiftGaugeMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 30 | }
 31 |
 32 | class SwiftGaugeMetric: RecorderHandler, SwiftMetric {
    |       `- warning: non-final class 'SwiftGaugeMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 33 |
 34 |     let metricName: String
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:36:9: warning: stored property 'counter' of 'Sendable'-conforming class 'SwiftGaugeMetric' has non-sendable type 'AnyCounterMetric<Double>'; this is an error in the Swift 6 language mode
 34 |     let metricName: String
 35 |     let metricType: MetricType = .gauge
 36 |     let counter: AnyCounterMetric<Double>
    |         `- warning: stored property 'counter' of 'Sendable'-conforming class 'SwiftGaugeMetric' has non-sendable type 'AnyCounterMetric<Double>'; this is an error in the Swift 6 language mode
 37 |     let labels: [String: String]
 38 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/Instruments/Sum/CounterMetric.swift:38:15: note: generic struct 'AnyCounterMetric' does not conform to the 'Sendable' protocol
36 |     func bind(labels: [String: String]) -> BoundCounterMetric<T>
37 | }
38 | public struct AnyCounterMetric<T>: CounterMetric {
   |               `- note: generic struct 'AnyCounterMetric' does not conform to the 'Sendable' protocol
39 |     let internalCounter: Any
40 |     private let _addLabelSet: (T, LabelSet) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:55:7: warning: non-final class 'SwiftHistogramMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 53 | }
 54 |
 55 | class SwiftHistogramMetric: RecorderHandler, SwiftMetric {
    |       `- warning: non-final class 'SwiftHistogramMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 56 |
 57 |     let metricName: String
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:59:9: warning: stored property 'measure' of 'Sendable'-conforming class 'SwiftHistogramMetric' has non-sendable type 'AnyMeasureMetric<Double>'; this is an error in the Swift 6 language mode
 57 |     let metricName: String
 58 |     let metricType: MetricType = .histogram
 59 |     let measure: AnyMeasureMetric<Double>
    |         `- warning: stored property 'measure' of 'Sendable'-conforming class 'SwiftHistogramMetric' has non-sendable type 'AnyMeasureMetric<Double>'; this is an error in the Swift 6 language mode
 60 |     let labels: [String: String]
 61 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/Instruments/Gauge/MeasureMetric.swift:43:15: note: generic struct 'AnyMeasureMetric' does not conform to the 'Sendable' protocol
41 | }
42 |
43 | public struct AnyMeasureMetric<T>: MeasureMetric {
   |               `- note: generic struct 'AnyMeasureMetric' does not conform to the 'Sendable' protocol
44 |     private let _bindLabelSet: (LabelSet) -> BoundMeasureMetric<T>
45 |     private let _bindLabels: ([String: String]) -> BoundMeasureMetric<T>
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:78:7: warning: non-final class 'SwiftSummaryMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 76 | }
 77 |
 78 | class SwiftSummaryMetric: TimerHandler, SwiftMetric {
    |       `- warning: non-final class 'SwiftSummaryMetric' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 79 |
 80 |     let metricName: String
/Users/admin/builder/spi-builder-workspace/Sources/Importers/SwiftMetricsShim/MetricHandlers.swift:82:9: warning: stored property 'measure' of 'Sendable'-conforming class 'SwiftSummaryMetric' has non-sendable type 'AnyMeasureMetric<Double>'; this is an error in the Swift 6 language mode
 80 |     let metricName: String
 81 |     let metricType: MetricType = .summary
 82 |     let measure: AnyMeasureMetric<Double>
    |         `- warning: stored property 'measure' of 'Sendable'-conforming class 'SwiftSummaryMetric' has non-sendable type 'AnyMeasureMetric<Double>'; this is an error in the Swift 6 language mode
 83 |     let labels: [String: String]
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/Instruments/Gauge/MeasureMetric.swift:43:15: note: generic struct 'AnyMeasureMetric' does not conform to the 'Sendable' protocol
41 | }
42 |
43 | public struct AnyMeasureMetric<T>: MeasureMetric {
   |               `- note: generic struct 'AnyMeasureMetric' does not conform to the 'Sendable' protocol
44 |     private let _bindLabelSet: (LabelSet) -> BoundMeasureMetric<T>
45 |     private let _bindLabels: ([String: String]) -> BoundMeasureMetric<T>
[1058/1157] Compiling SwiftMetricsShim Locks.swift
[1059/1157] Compiling ZipkinExporter NetworkUtils.swift
[1060/1157] Compiling ZipkinExporter ZipkinTraceExporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Zipkin/ZipkinTraceExporter.swift:45:17: warning: capture of 'status' with non-sendable type 'SpanExporterResultCode' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 |         let task = URLSession.shared.dataTask(with: request) { _, _, error in
44 |             if error != nil {
45 |                 status = .failure
   |                 `- warning: capture of 'status' with non-sendable type 'SpanExporterResultCode' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |             } else {
47 |                 status = .success
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetrySdk/Trace/Export/SpanExporter.swift:38:13: note: enum 'SpanExporterResultCode' does not conform to the 'Sendable' protocol
36 |
37 | /// The possible results for the export method.
38 | public enum SpanExporterResultCode {
   |             `- note: enum 'SpanExporterResultCode' does not conform to the 'Sendable' protocol
39 |   /// The export operation finished successfully.
40 |   case success
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Zipkin/ZipkinTraceExporter.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetrySdk'
 5 |
 6 | import Foundation
 7 | import OpenTelemetrySdk
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetrySdk'
 8 | #if canImport(FoundationNetworking)
 9 | import FoundationNetworking
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Zipkin/ZipkinTraceExporter.swift:45:17: warning: mutation of captured var 'status' in concurrently-executing code; this is an error in the Swift 6 language mode
43 |         let task = URLSession.shared.dataTask(with: request) { _, _, error in
44 |             if error != nil {
45 |                 status = .failure
   |                 `- warning: mutation of captured var 'status' in concurrently-executing code; this is an error in the Swift 6 language mode
46 |             } else {
47 |                 status = .success
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Zipkin/ZipkinTraceExporter.swift:47:17: warning: mutation of captured var 'status' in concurrently-executing code; this is an error in the Swift 6 language mode
45 |                 status = .failure
46 |             } else {
47 |                 status = .success
   |                 `- warning: mutation of captured var 'status' in concurrently-executing code; this is an error in the Swift 6 language mode
48 |             }
49 |             sem.signal()
[1061/1157] Compiling OpenTracingShim Locks.swift
[1062/1157] Compiling OpenTracingShim BaseShimProtocol.swift
[1063/1217] Compiling PersistenceExporter FileReader.swift
[1064/1217] Compiling PersistenceExporter DateProvider.swift
[1065/1217] Emitting module StdoutExporter
[1066/1217] Emitting module OpenTracingShim
/Users/admin/builder/spi-builder-workspace/Sources/Importers/OpenTracingShim/TraceShim.swift:12:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public class TraceShim {
12 |     public static var instance = TraceShim()
   |                       |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public private(set) var otTracer: OTTracer
[1067/1217] Compiling OpenTracingShim TelemetryInfo.swift
[1068/1217] Emitting module ZipkinExporter
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Zipkin/Implementation/ZipkinConversionExtension.swift:21:16: warning: static property 'localEndpointCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |                                                          "db.instance": 4]
 20 |
 21 |     static var localEndpointCache = [String: ZipkinEndpoint]()
    |                |- warning: static property 'localEndpointCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'localEndpointCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'localEndpointCache' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static var remoteEndpointCache = [String: ZipkinEndpoint]()
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Zipkin/Implementation/ZipkinConversionExtension.swift:22:16: warning: static property 'remoteEndpointCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |     static var localEndpointCache = [String: ZipkinEndpoint]()
 22 |     static var remoteEndpointCache = [String: ZipkinEndpoint]()
    |                |- warning: static property 'remoteEndpointCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'remoteEndpointCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'remoteEndpointCache' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     static let defaultServiceName = "unknown_service:" + ProcessInfo.processInfo.processName
[1069/1226] Compiling OpenTracingShim Propagation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Importers/OpenTracingShim/Propagation.swift:23:50: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |     public func extractTextFormat(carrier: [String: String]) -> SpanContextShim? {
23 |         guard let currentBaggage = OpenTelemetry.instance.contextProvider.activeBaggage else { return nil }
   |                                                  `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 |         let context = propagators.textMapPropagator.extract(carrier: carrier, getter: TextMapGetter())
25 |         if !(context?.isValid ?? false) {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
[1070/1226] Emitting module URLSessionInstrumentation
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:26:13: warning: var 'idKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | }
 25 |
 26 | private var idKey: Void?
    |             |- warning: var 'idKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'idKey' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'idKey' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 | public class URLSessionInstrumentation {
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:35:16: warning: static property 'instrumentedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     private let queue = DispatchQueue(label: "io.opentelemetry.ddnetworkinstrumentation")
 34 |
 35 |     static var instrumentedKey = "io.opentelemetry.instrumentedCall"
    |                |- warning: static property 'instrumentedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'instrumentedKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'instrumentedKey' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     static let avAssetDownloadTask: AnyClass? = NSClassFromString("__NSCFBackgroundAVAssetDownloadTask")
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:658:7: warning: non-final class 'FakeDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
656 | }
657 |
658 | class FakeDelegate: NSObject, URLSessionTaskDelegate {
    |       `- warning: non-final class 'FakeDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
659 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {}
660 | }
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:15:16: warning: static property 'runningSpans' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class URLSessionLogger {
 15 |     static var runningSpans = [String: Span]()
    |                |- warning: static property 'runningSpans' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'runningSpans' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'runningSpans' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var runningSpansQueue = DispatchQueue(label: "io.opentelemetry.URLSessionLogger")
 17 |     #if os(iOS) && !targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:16:16: warning: static property 'runningSpansQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class URLSessionLogger {
 15 |     static var runningSpans = [String: Span]()
 16 |     static var runningSpansQueue = DispatchQueue(label: "io.opentelemetry.URLSessionLogger")
    |                |- warning: static property 'runningSpansQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'runningSpansQueue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'runningSpansQueue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if os(iOS) && !targetEnvironment(macCatalyst)
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:180:55: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 |         }
179 |
180 |         guard let currentSpan = span ?? OpenTelemetry.instance.contextProvider.activeSpan else {
    |                                                       `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
181 |             return headers
182 |         }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:185:40: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
183 |         textMapPropagator.inject(spanContext: currentSpan.context, carrier: &headers, setter: HeaderSetter())
184 |
185 |         if let baggage = OpenTelemetry.instance.contextProvider.activeBaggage {
    |                                        `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 |             textMapBaggagePropagator.inject(baggage: baggage, carrier: &headers, setter: HeaderSetter())
187 |         }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
[1071/1226] Compiling NIOCore EventLoop+SerialExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
[1072/1226] Compiling NIOCore EventLoop.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
[1073/1226] Compiling ZipkinExporter ZipkinEndpoint.swift
[1074/1226] Compiling ZipkinExporter ZipkinSpan.swift
[1075/1226] Emitting module PersistenceExporter
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:79:23: warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 77 |     /// Performance preset optimized for low runtime impact.
 78 |     /// Minimalizes number of data requests send to the server.
 79 |     public static let lowRuntimeImpact = PersistencePerformancePreset(
    |                       |- warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'lowRuntimeImpact' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         // persistence
 81 |         maxFileSize: 4 * 1_024 * 1_024, // 4MB
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:100:23: warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 98 |     /// Performance preset optimized for instant data delivery.
 99 |     /// Minimalizes the time between receiving data form the user and delivering it to the server.
100 |     public static let instantDataDelivery = PersistencePerformancePreset(
    |                       |- warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'instantDataDelivery' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         // persistence
102 |         maxFileSize: `default`.maxFileSize,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/Storage/FilesOrchestrator.swift:175:10: warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
172 | }
173 |
174 | private enum FixedWidthIntegerError<T: BinaryFloatingPoint>: Error {
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
175 |     case overflow(overflowingValue: T)
    |          `- warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
176 | }
177 |
[1076/1226] Compiling NIOCore ConvenienceOptionSupport.swift
[1077/1226] Compiling NIOCore DeadChannel.swift
[1078/1226] Compiling NIOCore DispatchQueue+WithFuture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
[1079/1226] Compiling NIOCore EventLoop+Deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
[1080/1226] Compiling OpenTracingShim SpanContextShimTable.swift
[1081/1226] Compiling OpenTracingShim SpanContextShim.swift
[1082/1226] Compiling OpenTracingShim SpanShim.swift
/Users/admin/builder/spi-builder-workspace/Sources/Importers/OpenTracingShim/TraceShim.swift:12:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public class TraceShim {
12 |     public static var instance = TraceShim()
   |                       |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public private(set) var otTracer: OTTracer
[1083/1226] Compiling OpenTracingShim TraceShim.swift
/Users/admin/builder/spi-builder-workspace/Sources/Importers/OpenTracingShim/TraceShim.swift:12:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public class TraceShim {
12 |     public static var instance = TraceShim()
   |                       |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 |     public private(set) var otTracer: OTTracer
/Users/admin/builder/spi-builder-workspace/Sources/Importers/OpenTracingShim/TraceShim.swift:21:114: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 |     public static func createTracerShim() -> OTTracer {
21 |         return TracerShim(telemetryInfo: TelemetryInfo(tracer: TraceShim.getTracer(tracerProvider: OpenTelemetry.instance.tracerProvider),
   |                                                                                                                  `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 |                                                        baggageManager: OpenTelemetry.instance.baggageManager,
23 |                                                        propagators: OpenTelemetry.instance.propagators))
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/Importers/OpenTracingShim/TraceShim.swift:22:86: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 |     public static func createTracerShim() -> OTTracer {
21 |         return TracerShim(telemetryInfo: TelemetryInfo(tracer: TraceShim.getTracer(tracerProvider: OpenTelemetry.instance.tracerProvider),
22 |                                                        baggageManager: OpenTelemetry.instance.baggageManager,
   |                                                                                      `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 |                                                        propagators: OpenTelemetry.instance.propagators))
24 |     }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/Importers/OpenTracingShim/TraceShim.swift:23:83: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 |         return TracerShim(telemetryInfo: TelemetryInfo(tracer: TraceShim.getTracer(tracerProvider: OpenTelemetry.instance.tracerProvider),
22 |                                                        baggageManager: OpenTelemetry.instance.baggageManager,
23 |                                                        propagators: OpenTelemetry.instance.propagators))
   |                                                                                   `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/Importers/OpenTracingShim/TraceShim.swift:29:83: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |         return TracerShim(telemetryInfo: TelemetryInfo(tracer: TraceShim.getTracer(tracerProvider: tracerProvider),
28 |                                                        baggageManager: baggageManager,
29 |                                                        propagators: OpenTelemetry.instance.propagators))
   |                                                                                   `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
[1084/1226] Compiling OpenTracingShim TracerShim.swift
[1085/1228] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:79:23: warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 77 |     /// Performance preset optimized for low runtime impact.
 78 |     /// Minimalizes number of data requests send to the server.
 79 |     public static let lowRuntimeImpact = PersistencePerformancePreset(
    |                       |- warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'lowRuntimeImpact' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         // persistence
 81 |         maxFileSize: 4 * 1_024 * 1_024, // 4MB
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:100:23: warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 98 |     /// Performance preset optimized for instant data delivery.
 99 |     /// Minimalizes the time between receiving data form the user and delivering it to the server.
100 |     public static let instantDataDelivery = PersistencePerformancePreset(
    |                       |- warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'instantDataDelivery' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         // persistence
102 |         maxFileSize: `default`.maxFileSize,
[1086/1228] Compiling NIOCore EventLoopFuture+Deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:79:23: warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 77 |     /// Performance preset optimized for low runtime impact.
 78 |     /// Minimalizes number of data requests send to the server.
 79 |     public static let lowRuntimeImpact = PersistencePerformancePreset(
    |                       |- warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'lowRuntimeImpact' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         // persistence
 81 |         maxFileSize: 4 * 1_024 * 1_024, // 4MB
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/PersistencePerformancePreset.swift:100:23: warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PersistencePerformancePreset: Equatable, StoragePerformancePreset, ExportPerformancePreset {
    |               `- note: consider making struct 'PersistencePerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 98 |     /// Performance preset optimized for instant data delivery.
 99 |     /// Minimalizes the time between receiving data form the user and delivering it to the server.
100 |     public static let instantDataDelivery = PersistencePerformancePreset(
    |                       |- warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PersistencePerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'instantDataDelivery' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         // persistence
102 |         maxFileSize: `default`.maxFileSize,
[1087/1228] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[1088/1228] Compiling NIOCore EventLoopFuture.swift
[1089/1228] Compiling ZipkinExporter ZipkinAnnotation.swift
[1090/1228] Compiling ZipkinExporter ZipkinConversionExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Zipkin/Implementation/ZipkinConversionExtension.swift:21:16: warning: static property 'localEndpointCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 19 |                                                          "db.instance": 4]
 20 |
 21 |     static var localEndpointCache = [String: ZipkinEndpoint]()
    |                |- warning: static property 'localEndpointCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'localEndpointCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'localEndpointCache' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     static var remoteEndpointCache = [String: ZipkinEndpoint]()
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Zipkin/Implementation/ZipkinConversionExtension.swift:22:16: warning: static property 'remoteEndpointCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 20 |
 21 |     static var localEndpointCache = [String: ZipkinEndpoint]()
 22 |     static var remoteEndpointCache = [String: ZipkinEndpoint]()
    |                |- warning: static property 'remoteEndpointCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'remoteEndpointCache' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'remoteEndpointCache' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |     static let defaultServiceName = "unknown_service:" + ProcessInfo.processInfo.processName
[1091/1228] Compiling URLSessionInstrumentation URLSessionInstrumentationConfiguration.swift
[1092/1228] Compiling URLSessionInstrumentation URLSessionLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:15:16: warning: static property 'runningSpans' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class URLSessionLogger {
 15 |     static var runningSpans = [String: Span]()
    |                |- warning: static property 'runningSpans' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'runningSpans' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'runningSpans' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var runningSpansQueue = DispatchQueue(label: "io.opentelemetry.URLSessionLogger")
 17 |     #if os(iOS) && !targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:16:16: warning: static property 'runningSpansQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class URLSessionLogger {
 15 |     static var runningSpans = [String: Span]()
 16 |     static var runningSpansQueue = DispatchQueue(label: "io.opentelemetry.URLSessionLogger")
    |                |- warning: static property 'runningSpansQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'runningSpansQueue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'runningSpansQueue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if os(iOS) && !targetEnvironment(macCatalyst)
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:35:16: warning: static property 'instrumentedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     private let queue = DispatchQueue(label: "io.opentelemetry.ddnetworkinstrumentation")
 34 |
 35 |     static var instrumentedKey = "io.opentelemetry.instrumentedCall"
    |                |- warning: static property 'instrumentedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'instrumentedKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'instrumentedKey' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     static let avAssetDownloadTask: AnyClass? = NSClassFromString("__NSCFBackgroundAVAssetDownloadTask")
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:162:41: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
160 |         var instrumentedRequest = request
161 |         objc_setAssociatedObject(instrumentedRequest, URLSessionInstrumentation.instrumentedKey, true, .OBJC_ASSOCIATION_COPY_NONATOMIC)
162 |         let propagators = OpenTelemetry.instance.propagators
    |                                         `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
163 |         var traceHeaders = tracePropagationHTTPHeaders(span: span, textMapPropagator: propagators.textMapPropagator, textMapBaggagePropagator: propagators.textMapBaggagePropagator)
164 |         if let originalHeaders = request.allHTTPHeaderFields {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:180:55: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
178 |         }
179 |
180 |         guard let currentSpan = span ?? OpenTelemetry.instance.contextProvider.activeSpan else {
    |                                                       `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
181 |             return headers
182 |         }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:185:40: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
183 |         textMapPropagator.inject(spanContext: currentSpan.context, carrier: &headers, setter: HeaderSetter())
184 |
185 |         if let baggage = OpenTelemetry.instance.contextProvider.activeBaggage {
    |                                        `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
186 |             textMapBaggagePropagator.inject(baggage: baggage, carrier: &headers, setter: HeaderSetter())
187 |         }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
[1093/1256] Compiling PersistenceExporter FileWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/Storage/FileWriter.swift:30:13: warning: capture of 'self' with non-sendable type 'OrchestratedFileWriter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 | }
15 |
16 | internal final class OrchestratedFileWriter: FileWriter {
   |                      `- note: class 'OrchestratedFileWriter' does not conform to the 'Sendable' protocol
17 |     /// Orchestrator producing reference to writable file.
18 |     private let orchestrator: FilesOrchestrator
   :
28 |     func write(data: Data) {
29 |         queue.async { [weak self] in
30 |             self?.synchronizedWrite(data: data)
   |             `- warning: capture of 'self' with non-sendable type 'OrchestratedFileWriter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
31 |         }
32 |     }
[1094/1256] Compiling PersistenceExporter FilesOrchestrator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/Storage/FilesOrchestrator.swift:175:10: warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
172 | }
173 |
174 | private enum FixedWidthIntegerError<T: BinaryFloatingPoint>: Error {
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
175 |     case overflow(overflowingValue: T)
    |          `- warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
176 | }
177 |
[1095/1256] Compiling StdoutExporter StdoutLogExporter.swift
[1096/1256] Compiling StdoutExporter StdoutSpanExporter.swift
[1097/1258] Compiling JaegerExporter Sender.swift
[1098/1258] Emitting module InMemoryExporter
[1099/1258] Compiling InMemoryExporter InMemoryExporter.swift
[1100/1258] Compiling JaegerExporter JaegerSpanExporter.swift
[1101/1258] Compiling JaegerExporter UDPUtils.swift
[1102/1258] Compiling JaegerExporter agent+Exts.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift:33:19: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitZipkinBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
 31 | extension Agent_emitZipkinBatch_args : Hashable {
 32 |
 33 |   fileprivate var hashValue : Int {
    |                   `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitZipkinBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
 34 |     let prime = 31
 35 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift:96:19: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
 94 | extension Agent_emitBatch_args : Hashable {
 95 |
 96 |   fileprivate var hashValue : Int {
    |                   `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
 97 |     let prime = 31
 98 |     var result = 1
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift:229:14: warning: static property 'processorHandlers' is not concurrency-safe because non-'Sendable' type 'AgentProcessor.ProcessorHandlerDictionary' (aka 'Dictionary<String, (Int32, any TProtocol, any TProtocol, any Agent) throws -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
227 | extension AgentProcessor : TProcessor {
228 |
229 |   static let processorHandlers: ProcessorHandlerDictionary = {
    |              |- warning: static property 'processorHandlers' is not concurrency-safe because non-'Sendable' type 'AgentProcessor.ProcessorHandlerDictionary' (aka 'Dictionary<String, (Int32, any TProtocol, any TProtocol, any Agent) throws -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'processorHandlers' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 |     var processorHandlers = ProcessorHandlerDictionary()
[1103/1258] Emitting module ConcurrencyContext
/Users/admin/builder/spi-builder-workspace/Examples/ConcurrencyContext/main.swift:24:28: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | )
23 |
24 | let tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: "ConcurrencyContext", instrumentationVersion: "semver:0.1.0")
   |                            `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension Task where Failure == Never, Success == Never {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryConcurrency/OpenTelemetry.swift:52:23: note: static property declared here
 50 |     public static var version: String { _OpenTelemetry.version }
 51 |
 52 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 53 |
 54 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
[1104/1258] Compiling ConcurrencyContext main.swift
/Users/admin/builder/spi-builder-workspace/Examples/ConcurrencyContext/main.swift:24:28: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | )
23 |
24 | let tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: "ConcurrencyContext", instrumentationVersion: "semver:0.1.0")
   |                            `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension Task where Failure == Never, Success == Never {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryConcurrency/OpenTelemetry.swift:52:23: note: static property declared here
 50 |     public static var version: String { _OpenTelemetry.version }
 51 |
 52 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 53 |
 54 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Examples/ConcurrencyContext/main.swift:33:22: warning: non-sendable type 'TracerWrapper' in implicitly asynchronous access to main actor-isolated let 'tracer' cannot cross actor boundary; this is an error in the Swift 6 language mode
31 |
32 | func simpleSpan() async throws {
33 |     let span = await tracer.spanBuilder(spanName: "SimpleSpan").setSpanKind(spanKind: .client).startSpan()
   |                      `- warning: non-sendable type 'TracerWrapper' in implicitly asynchronous access to main actor-isolated let 'tracer' cannot cross actor boundary; this is an error in the Swift 6 language mode
34 |     span.setAttribute(key: sampleKey, value: sampleValue)
35 |     try await Task.sleep(seconds: 0.5)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryConcurrency/OpenTelemetry.swift:17:15: note: struct 'TracerWrapper' does not conform to the 'Sendable' protocol
 15 |
 16 | /// A wrapper type which provides a span builder just like `Tracer`, returns a type of `SpanBuilderBase` to hide APIs on `SpanBuilder` that aren't correctly usable when using a structured concurrency based context manager.
 17 | public struct TracerWrapper {
    |               `- note: struct 'TracerWrapper' does not conform to the 'Sendable' protocol
 18 |     /// The inner `Tracer` used to construct a span builder. Be careful when accessing this property, as it may make it easier to use API's that don't function properly with your configuration.
 19 |     public let inner: Tracer
/Users/admin/builder/spi-builder-workspace/Examples/ConcurrencyContext/main.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryConcurrency'
 6 | #if canImport(_Concurrency)
 7 | import OpenTelemetrySdk
 8 | import OpenTelemetryConcurrency
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryConcurrency'
 9 | import StdoutExporter
10 |
/Users/admin/builder/spi-builder-workspace/Examples/ConcurrencyContext/main.swift:41:15: warning: non-sendable type 'TracerWrapper' in implicitly asynchronous access to main actor-isolated let 'tracer' cannot cross actor boundary; this is an error in the Swift 6 language mode
39 | func childSpan() async throws {
40 |     // SpanBuilder's `setActive` method is not available here, since it isn't compatible with structured concurrency based context management
41 |     try await tracer.spanBuilder(spanName: "parentSpan").setSpanKind(spanKind: .client).withActiveSpan { span in
   |               `- warning: non-sendable type 'TracerWrapper' in implicitly asynchronous access to main actor-isolated let 'tracer' cannot cross actor boundary; this is an error in the Swift 6 language mode
42 |         span.setAttribute(key: sampleKey, value: sampleValue)
43 |         await Task.detached {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryConcurrency/OpenTelemetry.swift:17:15: note: struct 'TracerWrapper' does not conform to the 'Sendable' protocol
 15 |
 16 | /// A wrapper type which provides a span builder just like `Tracer`, returns a type of `SpanBuilderBase` to hide APIs on `SpanBuilder` that aren't correctly usable when using a structured concurrency based context manager.
 17 | public struct TracerWrapper {
    |               `- note: struct 'TracerWrapper' does not conform to the 'Sendable' protocol
 18 |     /// The inner `Tracer` used to construct a span builder. Be careful when accessing this property, as it may make it easier to use API's that don't function properly with your configuration.
 19 |     public let inner: Tracer
/Users/admin/builder/spi-builder-workspace/Examples/ConcurrencyContext/main.swift:45:39: warning: non-sendable type 'TracerWrapper' in implicitly asynchronous access to main actor-isolated let 'tracer' cannot cross actor boundary; this is an error in the Swift 6 language mode
43 |         await Task.detached {
44 |             // A detached task doesn't inherit the task local context, so this span won't have a parent.
45 |             let notAChildSpan = await tracer.spanBuilder(spanName: "notAChild").setSpanKind(spanKind: .client).startSpan()
   |                                       `- warning: non-sendable type 'TracerWrapper' in implicitly asynchronous access to main actor-isolated let 'tracer' cannot cross actor boundary; this is an error in the Swift 6 language mode
46 |             notAChildSpan.setAttribute(key: sampleKey, value: sampleValue)
47 |             notAChildSpan.end()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryConcurrency/OpenTelemetry.swift:17:15: note: struct 'TracerWrapper' does not conform to the 'Sendable' protocol
 15 |
 16 | /// A wrapper type which provides a span builder just like `Tracer`, returns a type of `SpanBuilderBase` to hide APIs on `SpanBuilder` that aren't correctly usable when using a structured concurrency based context manager.
 17 | public struct TracerWrapper {
    |               `- note: struct 'TracerWrapper' does not conform to the 'Sendable' protocol
 18 |     /// The inner `Tracer` used to construct a span builder. Be careful when accessing this property, as it may make it easier to use API's that don't function properly with your configuration.
 19 |     public let inner: Tracer
/Users/admin/builder/spi-builder-workspace/Examples/ConcurrencyContext/main.swift:53:35: warning: non-sendable type 'TracerWrapper' in implicitly asynchronous access to main actor-isolated let 'tracer' cannot cross actor boundary; this is an error in the Swift 6 language mode
51 |             // Normal tasks should still inherit the context.
52 |             try await Task.sleep(seconds: 0.2)
53 |             let childSpan = await tracer.spanBuilder(spanName: "childSpan").setSpanKind(spanKind: .client).startSpan()
   |                                   `- warning: non-sendable type 'TracerWrapper' in implicitly asynchronous access to main actor-isolated let 'tracer' cannot cross actor boundary; this is an error in the Swift 6 language mode
54 |             childSpan.setAttribute(key: sampleKey, value: sampleValue)
55 |             try await Task.sleep(seconds: 0.5)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryConcurrency/OpenTelemetry.swift:17:15: note: struct 'TracerWrapper' does not conform to the 'Sendable' protocol
 15 |
 16 | /// A wrapper type which provides a span builder just like `Tracer`, returns a type of `SpanBuilderBase` to hide APIs on `SpanBuilder` that aren't correctly usable when using a structured concurrency based context manager.
 17 | public struct TracerWrapper {
    |               `- note: struct 'TracerWrapper' does not conform to the 'Sendable' protocol
 18 |     /// The inner `Tracer` used to construct a span builder. Be careful when accessing this property, as it may make it easier to use API's that don't function properly with your configuration.
 19 |     public let inner: Tracer
[1104/1258] Write Objects.LinkFileList
[1106/1258] Emitting module JaegerExporter
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift:33:19: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitZipkinBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
 31 | extension Agent_emitZipkinBatch_args : Hashable {
 32 |
 33 |   fileprivate var hashValue : Int {
    |                   `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitZipkinBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
 34 |     let prime = 31
 35 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift:96:19: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
 94 | extension Agent_emitBatch_args : Hashable {
 95 |
 96 |   fileprivate var hashValue : Int {
    |                   `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Agent_emitBatch_args' to 'Hashable' by implementing 'hash(into:)' instead
 97 |     let prime = 31
 98 |     var result = 1
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/agent+Exts.swift:229:14: warning: static property 'processorHandlers' is not concurrency-safe because non-'Sendable' type 'AgentProcessor.ProcessorHandlerDictionary' (aka 'Dictionary<String, (Int32, any TProtocol, any TProtocol, any Agent) throws -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
227 | extension AgentProcessor : TProcessor {
228 |
229 |   static let processorHandlers: ProcessorHandlerDictionary = {
    |              |- warning: static property 'processorHandlers' is not concurrency-safe because non-'Sendable' type 'AgentProcessor.ProcessorHandlerDictionary' (aka 'Dictionary<String, (Int32, any TProtocol, any TProtocol, any Agent) throws -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'processorHandlers' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 |     var processorHandlers = ProcessorHandlerDictionary()
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:44:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Tag' to 'Hashable' by implementing 'hash(into:)' instead
 42 | extension Tag : Hashable {
 43 |
 44 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Tag' to 'Hashable' by implementing 'hash(into:)' instead
 45 |     let prime = 31
 46 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:127:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Log' to 'Hashable' by implementing 'hash(into:)' instead
125 | extension Log : Hashable {
126 |
127 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Log' to 'Hashable' by implementing 'hash(into:)' instead
128 |     let prime = 31
129 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:199:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRef' to 'Hashable' by implementing 'hash(into:)' instead
197 | extension SpanRef : Hashable {
198 |
199 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRef' to 'Hashable' by implementing 'hash(into:)' instead
200 |     let prime = 31
201 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:293:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Span' to 'Hashable' by implementing 'hash(into:)' instead
291 | extension Span : Hashable {
292 |
293 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Span' to 'Hashable' by implementing 'hash(into:)' instead
294 |     let prime = 31
295 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:394:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Process' to 'Hashable' by implementing 'hash(into:)' instead
392 | extension Process : Hashable {
393 |
394 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Process' to 'Hashable' by implementing 'hash(into:)' instead
395 |     let prime = 31
396 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:461:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Batch' to 'Hashable' by implementing 'hash(into:)' instead
459 | extension Batch : Hashable {
460 |
461 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Batch' to 'Hashable' by implementing 'hash(into:)' instead
462 |     let prime = 31
463 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:527:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BatchSubmitResponse' to 'Hashable' by implementing 'hash(into:)' instead
525 | extension BatchSubmitResponse : Hashable {
526 |
527 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BatchSubmitResponse' to 'Hashable' by implementing 'hash(into:)' instead
528 |     let prime = 31
529 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:590:19: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_args' to 'Hashable' by implementing 'hash(into:)' instead
588 | extension Collector_submitBatches_args : Hashable {
589 |
590 |   fileprivate var hashValue : Int {
    |                   `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_args' to 'Hashable' by implementing 'hash(into:)' instead
591 |     let prime = 31
592 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:654:19: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_result' to 'Hashable' by implementing 'hash(into:)' instead
652 | extension Collector_submitBatches_result : Hashable {
653 |
654 |   fileprivate var hashValue : Int {
    |                   `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_result' to 'Hashable' by implementing 'hash(into:)' instead
655 |     let prime = 31
656 |     var result = 1
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:774:14: warning: static property 'processorHandlers' is not concurrency-safe because non-'Sendable' type 'CollectorProcessor.ProcessorHandlerDictionary' (aka 'Dictionary<String, (Int32, any TProtocol, any TProtocol, any Collector) throws -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
772 | extension CollectorProcessor : TProcessor {
773 |
774 |   static let processorHandlers: ProcessorHandlerDictionary = {
    |              |- warning: static property 'processorHandlers' is not concurrency-safe because non-'Sendable' type 'CollectorProcessor.ProcessorHandlerDictionary' (aka 'Dictionary<String, (Int32, any TProtocol, any TProtocol, any Collector) throws -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'processorHandlers' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
775 |
776 |     var processorHandlers = ProcessorHandlerDictionary()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Thrift-Swift/Sources/TEnum.swift:27:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TagType' to 'Hashable' by implementing 'hash(into:)' instead
25 | extension TEnum {
26 |   public static var thriftType: TType { return .i32 }
27 |   public var hashValue: Int { return rawValue.hashValue }
   |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TagType' to 'Hashable' by implementing 'hash(into:)' instead
28 |
29 |   public func write(to proto: TProtocol) throws {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Thrift-Swift/Sources/TEnum.swift:27:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRefType' to 'Hashable' by implementing 'hash(into:)' instead
25 | extension TEnum {
26 |   public static var thriftType: TType { return .i32 }
27 |   public var hashValue: Int { return rawValue.hashValue }
   |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRefType' to 'Hashable' by implementing 'hash(into:)' instead
28 |
29 |   public func write(to proto: TProtocol) throws {
[1107/1258] Compiling DatadogExporter DataUploadWorker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:28:23: warning: static property 'us' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
26 |
27 |     @available(*, deprecated, message: "Renamed to us1")
28 |     public static let us: Endpoint = .us1
   |                       |- warning: static property 'us' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'us' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     @available(*, deprecated, message: "Renamed to eu1")
30 |     public static let eu: Endpoint = .eu1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:30:23: warning: static property 'eu' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
28 |     public static let us: Endpoint = .us1
29 |     @available(*, deprecated, message: "Renamed to eu1")
30 |     public static let eu: Endpoint = .eu1
   |                       |- warning: static property 'eu' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'eu' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     @available(*, deprecated, message: "Renamed to us1_fed")
32 |     public static let gov: Endpoint = .us1_fed
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:32:23: warning: static property 'gov' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
30 |     public static let eu: Endpoint = .eu1
31 |     @available(*, deprecated, message: "Renamed to us1_fed")
32 |     public static let gov: Endpoint = .us1_fed
   |                       |- warning: static property 'gov' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'gov' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 |     internal var logsURL: URL {
[1108/1258] Compiling DatadogExporter DataUploader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:28:23: warning: static property 'us' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
26 |
27 |     @available(*, deprecated, message: "Renamed to us1")
28 |     public static let us: Endpoint = .us1
   |                       |- warning: static property 'us' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'us' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     @available(*, deprecated, message: "Renamed to eu1")
30 |     public static let eu: Endpoint = .eu1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:30:23: warning: static property 'eu' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
28 |     public static let us: Endpoint = .us1
29 |     @available(*, deprecated, message: "Renamed to eu1")
30 |     public static let eu: Endpoint = .eu1
   |                       |- warning: static property 'eu' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'eu' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     @available(*, deprecated, message: "Renamed to us1_fed")
32 |     public static let gov: Endpoint = .us1_fed
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:32:23: warning: static property 'gov' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
30 |     public static let eu: Endpoint = .eu1
31 |     @available(*, deprecated, message: "Renamed to us1_fed")
32 |     public static let gov: Endpoint = .us1_fed
   |                       |- warning: static property 'gov' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'gov' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 |     internal var logsURL: URL {
[1109/1258] Compiling DatadogExporter DatadogEndpoints.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:28:23: warning: static property 'us' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
26 |
27 |     @available(*, deprecated, message: "Renamed to us1")
28 |     public static let us: Endpoint = .us1
   |                       |- warning: static property 'us' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'us' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     @available(*, deprecated, message: "Renamed to eu1")
30 |     public static let eu: Endpoint = .eu1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:30:23: warning: static property 'eu' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
28 |     public static let us: Endpoint = .us1
29 |     @available(*, deprecated, message: "Renamed to eu1")
30 |     public static let eu: Endpoint = .eu1
   |                       |- warning: static property 'eu' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'eu' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     @available(*, deprecated, message: "Renamed to us1_fed")
32 |     public static let gov: Endpoint = .us1_fed
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:32:23: warning: static property 'gov' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
30 |     public static let eu: Endpoint = .eu1
31 |     @available(*, deprecated, message: "Renamed to us1_fed")
32 |     public static let gov: Endpoint = .us1_fed
   |                       |- warning: static property 'gov' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'gov' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 |     internal var logsURL: URL {
[1110/1258] Compiling DatadogExporter SpansExporter.swift
[1111/1258] Compiling DatadogExporter DataUploadDelay.swift
[1112/1258] Compiling DatadogExporter DataUploadStatus.swift
[1113/1261] Compiling DatadogExporter MetricsExporter.swift
[1114/1261] Compiling DatadogExporter DataFormat.swift
[1115/1261] Compiling DatadogExporter FileReader.swift
[1115/1261] Linking ConcurrencyContext
[1116/1261] Applying ConcurrencyContext
[1118/1261] Compiling DatadogExporter File.swift
[1119/1261] Compiling DatadogExporter LogEncoder.swift
[1120/1262] Compiling URLSessionInstrumentation URLSessionInstrumentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:26:13: warning: var 'idKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 | }
 25 |
 26 | private var idKey: Void?
    |             |- warning: var 'idKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'idKey' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'idKey' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |
 28 | public class URLSessionInstrumentation {
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:35:16: warning: static property 'instrumentedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 33 |     private let queue = DispatchQueue(label: "io.opentelemetry.ddnetworkinstrumentation")
 34 |
 35 |     static var instrumentedKey = "io.opentelemetry.instrumentedCall"
    |                |- warning: static property 'instrumentedKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'instrumentedKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'instrumentedKey' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     static let avAssetDownloadTask: AnyClass? = NSClassFromString("__NSCFBackgroundAVAssetDownloadTask")
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:658:7: warning: non-final class 'FakeDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
656 | }
657 |
658 | class FakeDelegate: NSObject, URLSessionTaskDelegate {
    |       `- warning: non-final class 'FakeDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
659 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {}
660 | }
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:16:16: warning: static property 'runningSpansQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class URLSessionLogger {
 15 |     static var runningSpans = [String: Span]()
 16 |     static var runningSpansQueue = DispatchQueue(label: "io.opentelemetry.URLSessionLogger")
    |                |- warning: static property 'runningSpansQueue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'runningSpansQueue' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'runningSpansQueue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     #if os(iOS) && !targetEnvironment(macCatalyst)
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionLogger.swift:15:16: warning: static property 'runningSpans' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class URLSessionLogger {
 15 |     static var runningSpans = [String: Span]()
    |                |- warning: static property 'runningSpans' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'runningSpans' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'runningSpans' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var runningSpansQueue = DispatchQueue(label: "io.opentelemetry.URLSessionLogger")
 17 |     #if os(iOS) && !targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:51:32: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 49 |     public init(configuration: URLSessionInstrumentationConfiguration) {
 50 |         self.configuration = configuration
 51 |         tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: "NSURLSession", instrumentationVersion: "0.0.1")
    |                                `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 52 |         injectInNSURLClasses()
 53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:87:25: warning: capture of 'self' with non-sendable type 'URLSessionInstrumentation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 26 | private var idKey: Void?
 27 |
 28 | public class URLSessionInstrumentation {
    |              `- note: class 'URLSessionInstrumentation' does not conform to the 'Sendable' protocol
 29 |     private var requestMap = [String: NetworkRequestState]()
 30 |
    :
 85 |                     if method_getName(methodList[i]) == selectors[j] {
 86 |                         selectorFound = true
 87 |                         injectIntoDelegateClass(cls: theClass)
    |                         `- warning: capture of 'self' with non-sendable type 'URLSessionInstrumentation' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 88 |                         break
 89 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:206:34: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
204 |         let cls = URLSession.self
205 |         [
206 |             #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask),
    |                                  `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
207 |             #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask),
208 |             #selector(URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask),
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:207:34: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
205 |         [
206 |             #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask),
207 |             #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask),
    |                                  `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
208 |             #selector(URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask),
209 |             #selector(URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask),
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:208:34: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
206 |             #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask),
207 |             #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask),
208 |             #selector(URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask),
    |                                  `- warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
209 |             #selector(URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask),
210 |             #selector(URLSession.downloadTask(withResumeData:completionHandler:)),
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:209:34: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
207 |             #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask),
208 |             #selector(URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask),
209 |             #selector(URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (URL?, URLResponse?, Error?) -> Void) -> URLSessionDownloadTask),
    |                                  `- warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
210 |             #selector(URLSession.downloadTask(withResumeData:completionHandler:)),
211 |         ].forEach {
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:225:61: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
223 |
224 |                     if self.configuration.shouldInjectTracingHeaders?(request) ?? true {
225 |                         if selector == #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask) {
    |                                                             `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
226 |                             if let completion = completion {
227 |                                 return session.dataTask(with: request, completionHandler: completion)
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:227:91: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
225 |                         if selector == #selector(URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask) {
226 |                             if let completion = completion {
227 |                                 return session.dataTask(with: request, completionHandler: completion)
    |                                                                                           `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
228 |                             } else {
229 |                                 return session.dataTask(with: request)
/Users/admin/builder/spi-builder-workspace/Sources/Instrumentation/URLSession/URLSessionInstrumentation.swift:233:95: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
231 |                         } else {
232 |                             if let completion = completion {
233 |                                 return session.downloadTask(with: request, completionHandler: completion)
    |                                                                                               `- warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
234 |                             } else {
235 |                                 return session.downloadTask(with: request)
[1121/1262] Compiling URLSessionInstrumentation InstrumentationUtils.swift
[1122/1262] Compiling DatadogExporter HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/HTTPClient.swift:32:13: warning: capture of 'completion' with non-sendable type '(Result<HTTPURLResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |     func send(request: URLRequest, completion: @escaping (Result<HTTPURLResponse, Error>) -> Void) {
31 |         let task = session.dataTask(with: request) { data, response, error in
32 |             completion(httpClientResult(for: (data, response, error)))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<HTTPURLResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 |         }
34 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/DateFormatting.swift:17:14: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal protocol DateFormatterType {
   |                   `- note: protocol 'DateFormatterType' does not conform to the 'Sendable' protocol
 9 |     func string(from date: Date) -> String
10 | }
   :
15 | /// Date formatter producing `ISO8601` string representation of a given date.
16 | /// Should be used to encode dates in messages send to the server.
17 | internal let iso8601DateFormatter: DateFormatterType = {
   |              |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     // As there is a known crash in iOS 11.0 and 11.1 when using `.withFractionalSeconds` option in `ISO8601DateFormatter`,
19 |     // we use different `DateFormatterType` implementation depending on the OS version. The problem was fixed by Apple in iOS 11.2.
[1123/1262] Compiling DatadogExporter RequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/HTTPClient.swift:32:13: warning: capture of 'completion' with non-sendable type '(Result<HTTPURLResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |     func send(request: URLRequest, completion: @escaping (Result<HTTPURLResponse, Error>) -> Void) {
31 |         let task = session.dataTask(with: request) { data, response, error in
32 |             completion(httpClientResult(for: (data, response, error)))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<HTTPURLResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 |         }
34 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/DateFormatting.swift:17:14: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal protocol DateFormatterType {
   |                   `- note: protocol 'DateFormatterType' does not conform to the 'Sendable' protocol
 9 |     func string(from date: Date) -> String
10 | }
   :
15 | /// Date formatter producing `ISO8601` string representation of a given date.
16 | /// Should be used to encode dates in messages send to the server.
17 | internal let iso8601DateFormatter: DateFormatterType = {
   |              |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     // As there is a known crash in iOS 11.0 and 11.1 when using `.withFractionalSeconds` option in `ISO8601DateFormatter`,
19 |     // we use different `DateFormatterType` implementation depending on the OS version. The problem was fixed by Apple in iOS 11.2.
[1124/1262] Compiling DatadogExporter DateFormatting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/HTTPClient.swift:32:13: warning: capture of 'completion' with non-sendable type '(Result<HTTPURLResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
30 |     func send(request: URLRequest, completion: @escaping (Result<HTTPURLResponse, Error>) -> Void) {
31 |         let task = session.dataTask(with: request) { data, response, error in
32 |             completion(httpClientResult(for: (data, response, error)))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<HTTPURLResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 |         }
34 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/DateFormatting.swift:17:14: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal protocol DateFormatterType {
   |                   `- note: protocol 'DateFormatterType' does not conform to the 'Sendable' protocol
 9 |     func string(from date: Date) -> String
10 | }
   :
15 | /// Date formatter producing `ISO8601` string representation of a given date.
16 | /// Should be used to encode dates in messages send to the server.
17 | internal let iso8601DateFormatter: DateFormatterType = {
   |              |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     // As there is a known crash in iOS 11.0 and 11.1 when using `.withFractionalSeconds` option in `ISO8601DateFormatter`,
19 |     // we use different `DateFormatterType` implementation depending on the OS version. The problem was fixed by Apple in iOS 11.2.
[1125/1262] Compiling DatadogExporter DatadogExporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
[1126/1262] Compiling DatadogExporter ExporterConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
[1127/1262] Compiling DatadogExporter Directory.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
[1128/1264] Compiling OpenTelemetryProtocolExporterCommon TraceProtoUtils.swift
[1129/1264] Compiling ResourceExtension ResourceProvider.swift
[1130/1265] Compiling ResourceExtension TelemetryDataSource.swift
[1131/1265] Compiling DatadogExporter FilesOrchestrator.swift
[1132/1265] Compiling DatadogExporter SpanEncoder.swift
[1135/1265] Compiling ResourceExtension OSResourceProvider.swift
[1136/1265] Compiling DatadogExporter DateProvider.swift
[1137/1265] Compiling DatadogExporter Device.swift
[1138/1265] Compiling DatadogExporter EncodableValue.swift
[1139/1265] Emitting module DatadogExporter
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FilesOrchestrator.swift:178:10: warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
175 | }
176 |
177 | private enum FixedWidthIntegerError<T: BinaryFloatingPoint>: Error {
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
178 |     case overflow(overflowingValue: T)
    |          `- warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
179 | }
180 |
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:28:23: warning: static property 'us' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
26 |
27 |     @available(*, deprecated, message: "Renamed to us1")
28 |     public static let us: Endpoint = .us1
   |                       |- warning: static property 'us' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'us' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |     @available(*, deprecated, message: "Renamed to eu1")
30 |     public static let eu: Endpoint = .eu1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:30:23: warning: static property 'eu' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
28 |     public static let us: Endpoint = .us1
29 |     @available(*, deprecated, message: "Renamed to eu1")
30 |     public static let eu: Endpoint = .eu1
   |                       |- warning: static property 'eu' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'eu' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |     @available(*, deprecated, message: "Renamed to us1_fed")
32 |     public static let gov: Endpoint = .us1_fed
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Upload/DatadogEndpoints.swift:32:23: warning: static property 'gov' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public enum Endpoint {
   |             `- note: consider making enum 'Endpoint' conform to the 'Sendable' protocol
 9 |     /// US based servers.
10 |     /// Sends data to [app.datadoghq.com](https://app.datadoghq.com/).
   :
30 |     public static let eu: Endpoint = .eu1
31 |     @available(*, deprecated, message: "Renamed to us1_fed")
32 |     public static let gov: Endpoint = .us1_fed
   |                       |- warning: static property 'gov' is not concurrency-safe because non-'Sendable' type 'Endpoint' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'gov' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 |     internal var logsURL: URL {
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/DateFormatting.swift:17:14: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal protocol DateFormatterType {
   |                   `- note: protocol 'DateFormatterType' does not conform to the 'Sendable' protocol
 9 |     func string(from date: Date) -> String
10 | }
   :
15 | /// Date formatter producing `ISO8601` string representation of a given date.
16 | /// Should be used to encode dates in messages send to the server.
17 | internal let iso8601DateFormatter: DateFormatterType = {
   |              |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     // As there is a known crash in iOS 11.0 and 11.1 when using `.withFractionalSeconds` option in `ISO8601DateFormatter`,
19 |     // we use different `DateFormatterType` implementation depending on the OS version. The problem was fixed by Apple in iOS 11.2.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:79:23: warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 77 |     /// Performance preset optimized for low runtime impact.
 78 |     /// Minimalizes number of data requests send to the server.
 79 |     public static let lowRuntimeImpact = PerformancePreset(
    |                       |- warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'lowRuntimeImpact' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         // persistence
 81 |         maxFileSize: 4 * 1_024 * 1_024, // 4MB
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:100:23: warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 98 |     /// Performance preset optimized for instant data delivery.
 99 |     /// Minimalizes the time between receiving data form the user and delivering it to the server.
100 |     public static let instantDataDelivery = PerformancePreset(
    |                       |- warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'instantDataDelivery' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         // persistence
102 |         maxFileSize: `default`.maxFileSize,
[1140/1265] Compiling ResourceExtension DefaultResources.swift
[1141/1265] Compiling ResourceExtension DeviceResourceProvider.swift
[1142/1265] Compiling DatadogExporter Feature.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/DateFormatting.swift:17:14: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal protocol DateFormatterType {
   |                   `- note: protocol 'DateFormatterType' does not conform to the 'Sendable' protocol
 9 |     func string(from date: Date) -> String
10 | }
   :
15 | /// Date formatter producing `ISO8601` string representation of a given date.
16 | /// Should be used to encode dates in messages send to the server.
17 | internal let iso8601DateFormatter: DateFormatterType = {
   |              |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     // As there is a known crash in iOS 11.0 and 11.1 when using `.withFractionalSeconds` option in `ISO8601DateFormatter`,
19 |     // we use different `DateFormatterType` implementation depending on the OS version. The problem was fixed by Apple in iOS 11.2.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:79:23: warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 77 |     /// Performance preset optimized for low runtime impact.
 78 |     /// Minimalizes number of data requests send to the server.
 79 |     public static let lowRuntimeImpact = PerformancePreset(
    |                       |- warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'lowRuntimeImpact' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         // persistence
 81 |         maxFileSize: 4 * 1_024 * 1_024, // 4MB
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:100:23: warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 98 |     /// Performance preset optimized for instant data delivery.
 99 |     /// Minimalizes the time between receiving data form the user and delivering it to the server.
100 |     public static let instantDataDelivery = PerformancePreset(
    |                       |- warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'instantDataDelivery' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         // persistence
102 |         maxFileSize: `default`.maxFileSize,
[1143/1265] Compiling DatadogExporter JSONEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/DateFormatting.swift:17:14: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal protocol DateFormatterType {
   |                   `- note: protocol 'DateFormatterType' does not conform to the 'Sendable' protocol
 9 |     func string(from date: Date) -> String
10 | }
   :
15 | /// Date formatter producing `ISO8601` string representation of a given date.
16 | /// Should be used to encode dates in messages send to the server.
17 | internal let iso8601DateFormatter: DateFormatterType = {
   |              |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     // As there is a known crash in iOS 11.0 and 11.1 when using `.withFractionalSeconds` option in `ISO8601DateFormatter`,
19 |     // we use different `DateFormatterType` implementation depending on the OS version. The problem was fixed by Apple in iOS 11.2.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:79:23: warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 77 |     /// Performance preset optimized for low runtime impact.
 78 |     /// Minimalizes number of data requests send to the server.
 79 |     public static let lowRuntimeImpact = PerformancePreset(
    |                       |- warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'lowRuntimeImpact' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         // persistence
 81 |         maxFileSize: 4 * 1_024 * 1_024, // 4MB
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:100:23: warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 98 |     /// Performance preset optimized for instant data delivery.
 99 |     /// Minimalizes the time between receiving data form the user and delivering it to the server.
100 |     public static let instantDataDelivery = PerformancePreset(
    |                       |- warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'instantDataDelivery' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         // persistence
102 |         maxFileSize: `default`.maxFileSize,
[1144/1265] Compiling DatadogExporter PerformancePreset.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/DateFormatting.swift:17:14: warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal protocol DateFormatterType {
   |                   `- note: protocol 'DateFormatterType' does not conform to the 'Sendable' protocol
 9 |     func string(from date: Date) -> String
10 | }
   :
15 | /// Date formatter producing `ISO8601` string representation of a given date.
16 | /// Should be used to encode dates in messages send to the server.
17 | internal let iso8601DateFormatter: DateFormatterType = {
   |              |- warning: let 'iso8601DateFormatter' is not concurrency-safe because non-'Sendable' type 'any DateFormatterType' may have shared mutable state; this is an error in the Swift 6 language mode
   |              |- note: annotate 'iso8601DateFormatter' with '@MainActor' if property should only be accessed from the main actor
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     // As there is a known crash in iOS 11.0 and 11.1 when using `.withFractionalSeconds` option in `ISO8601DateFormatter`,
19 |     // we use different `DateFormatterType` implementation depending on the OS version. The problem was fixed by Apple in iOS 11.2.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:75:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 73 |
 74 |     /// Default performance preset.
 75 |     public static let `default` = lowRuntimeImpact
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |
 77 |     /// Performance preset optimized for low runtime impact.
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:79:23: warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 77 |     /// Performance preset optimized for low runtime impact.
 78 |     /// Minimalizes number of data requests send to the server.
 79 |     public static let lowRuntimeImpact = PerformancePreset(
    |                       |- warning: static property 'lowRuntimeImpact' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'lowRuntimeImpact' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 80 |         // persistence
 81 |         maxFileSize: 4 * 1_024 * 1_024, // 4MB
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Utils/PerformancePreset.swift:100:23: warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | }
 51 |
 52 | public struct PerformancePreset: Equatable, StoragePerformancePreset, UploadPerformancePreset {
    |               `- note: consider making struct 'PerformancePreset' conform to the 'Sendable' protocol
 53 |     // MARK: - StoragePerformancePreset
 54 |
    :
 98 |     /// Performance preset optimized for instant data delivery.
 99 |     /// Minimalizes the time between receiving data form the user and delivering it to the server.
100 |     public static let instantDataDelivery = PerformancePreset(
    |                       |- warning: static property 'instantDataDelivery' is not concurrency-safe because non-'Sendable' type 'PerformancePreset' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'instantDataDelivery' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 |         // persistence
102 |         maxFileSize: `default`.maxFileSize,
[1145/1265] Emitting module ResourceExtension
[1146/1265] Compiling ResourceExtension TelemetryResourceProvider.swift
[1149/1265] Compiling DatadogExporter LogSanitizer.swift
[1150/1265] Compiling NetworkSample main.swift
/Users/admin/builder/spi-builder-workspace/Examples/Network Sample/main.swift:31:7: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
29 |
30 |
31 | class SessionDelegate: NSObject, URLSessionDataDelegate, URLSessionTaskDelegate {
   |       `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
32 |     let semaphore = DispatchSemaphore(value: 0)
33 |
[1151/1265] Emitting module NetworkSample
/Users/admin/builder/spi-builder-workspace/Examples/Network Sample/main.swift:31:7: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
29 |
30 |
31 | class SessionDelegate: NSObject, URLSessionDataDelegate, URLSessionTaskDelegate {
   |       `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
32 |     let semaphore = DispatchSemaphore(value: 0)
33 |
[1152/1265] Compiling DatadogExporter LogsExporter.swift
[1153/1265] Compiling DatadogExporter MetricEncoder.swift
[1154/1265] Compiling DatadogExporter MetricUtils.swift
[1155/1265] Compiling DatadogExporter FileWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FileWriter.swift:31:13: warning: capture of 'self' with non-sendable type 'FileWriter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal final class FileWriter {
   |                      `- note: class 'FileWriter' does not conform to the 'Sendable' protocol
 9 |     /// Data writing format.
10 |     private let dataFormat: DataFormat
   :
29 |     func write<T: Encodable>(value: T) {
30 |         queue.async { [weak self] in
31 |             self?.synchronizedWrite(value: value)
   |             `- warning: capture of 'self' with non-sendable type 'FileWriter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |         }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FileWriter.swift:31:44: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 |     /// Comma is used to separate consecutive values in the file.
28 |
29 |     func write<T: Encodable>(value: T) {
   |                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
30 |         queue.async { [weak self] in
31 |             self?.synchronizedWrite(value: value)
   |                                            `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |         }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FilesOrchestrator.swift:178:10: warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
175 | }
176 |
177 | private enum FixedWidthIntegerError<T: BinaryFloatingPoint>: Error {
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
178 |     case overflow(overflowingValue: T)
    |          `- warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
179 | }
180 |
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FileWriter.swift:31:13: warning: capture of 'self' with non-sendable type 'FileWriter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal final class FileWriter {
   |                      `- note: class 'FileWriter' does not conform to the 'Sendable' protocol
 9 |     /// Data writing format.
10 |     private let dataFormat: DataFormat
   :
29 |     func write<T: Encodable>(value: T) {
30 |         queue.async { [weak self] in
31 |             self?.synchronizedWrite(value: value)
   |             `- warning: capture of 'self' with non-sendable type 'FileWriter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |         }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FileWriter.swift:31:44: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 |     /// Comma is used to separate consecutive values in the file.
28 |
29 |     func write<T: Encodable>(value: T) {
   |                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
30 |         queue.async { [weak self] in
31 |             self?.synchronizedWrite(value: value)
   |                                            `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |         }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FilesOrchestrator.swift:178:10: warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
175 | }
176 |
177 | private enum FixedWidthIntegerError<T: BinaryFloatingPoint>: Error {
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
178 |     case overflow(overflowingValue: T)
    |          `- warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
179 | }
180 |
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FileWriter.swift:31:13: warning: capture of 'self' with non-sendable type 'FileWriter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | internal final class FileWriter {
   |                      `- note: class 'FileWriter' does not conform to the 'Sendable' protocol
 9 |     /// Data writing format.
10 |     private let dataFormat: DataFormat
   :
29 |     func write<T: Encodable>(value: T) {
30 |         queue.async { [weak self] in
31 |             self?.synchronizedWrite(value: value)
   |             `- warning: capture of 'self' with non-sendable type 'FileWriter?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |         }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FileWriter.swift:31:44: warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 |     /// Comma is used to separate consecutive values in the file.
28 |
29 |     func write<T: Encodable>(value: T) {
   |                `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
30 |         queue.async { [weak self] in
31 |             self?.synchronizedWrite(value: value)
   |                                            `- warning: capture of 'value' with non-sendable type 'T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
32 |         }
33 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/DatadogExporter/Persistence/FilesOrchestrator.swift:178:10: warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
175 | }
176 |
177 | private enum FixedWidthIntegerError<T: BinaryFloatingPoint>: Error {
    |                                     `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
178 |     case overflow(overflowingValue: T)
    |          `- warning: associated value 'overflow(overflowingValue:)' of 'Sendable'-conforming generic enum 'FixedWidthIntegerError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
179 | }
180 |
[1157/1265] Write Objects.LinkFileList
[1159/1265] Compiling JaegerExporter jaeger.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Thrift-Swift/Sources/TEnum.swift:27:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TagType' to 'Hashable' by implementing 'hash(into:)' instead
25 | extension TEnum {
26 |   public static var thriftType: TType { return .i32 }
27 |   public var hashValue: Int { return rawValue.hashValue }
   |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TagType' to 'Hashable' by implementing 'hash(into:)' instead
28 |
29 |   public func write(to proto: TProtocol) throws {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Thrift-Swift/Sources/TEnum.swift:27:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRefType' to 'Hashable' by implementing 'hash(into:)' instead
25 | extension TEnum {
26 |   public static var thriftType: TType { return .i32 }
27 |   public var hashValue: Int { return rawValue.hashValue }
   |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRefType' to 'Hashable' by implementing 'hash(into:)' instead
28 |
29 |   public func write(to proto: TProtocol) throws {
[1160/1265] Compiling JaegerExporter agent.swift
[1161/1265] Compiling JaegerExporter Adapter.swift
[1162/1265] Compiling JaegerExporter jaeger+Exts.swift
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:44:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Tag' to 'Hashable' by implementing 'hash(into:)' instead
 42 | extension Tag : Hashable {
 43 |
 44 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Tag' to 'Hashable' by implementing 'hash(into:)' instead
 45 |     let prime = 31
 46 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:127:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Log' to 'Hashable' by implementing 'hash(into:)' instead
125 | extension Log : Hashable {
126 |
127 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Log' to 'Hashable' by implementing 'hash(into:)' instead
128 |     let prime = 31
129 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:199:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRef' to 'Hashable' by implementing 'hash(into:)' instead
197 | extension SpanRef : Hashable {
198 |
199 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'SpanRef' to 'Hashable' by implementing 'hash(into:)' instead
200 |     let prime = 31
201 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:293:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Span' to 'Hashable' by implementing 'hash(into:)' instead
291 | extension Span : Hashable {
292 |
293 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Span' to 'Hashable' by implementing 'hash(into:)' instead
294 |     let prime = 31
295 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:394:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Process' to 'Hashable' by implementing 'hash(into:)' instead
392 | extension Process : Hashable {
393 |
394 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Process' to 'Hashable' by implementing 'hash(into:)' instead
395 |     let prime = 31
396 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:461:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Batch' to 'Hashable' by implementing 'hash(into:)' instead
459 | extension Batch : Hashable {
460 |
461 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Batch' to 'Hashable' by implementing 'hash(into:)' instead
462 |     let prime = 31
463 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:527:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BatchSubmitResponse' to 'Hashable' by implementing 'hash(into:)' instead
525 | extension BatchSubmitResponse : Hashable {
526 |
527 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'BatchSubmitResponse' to 'Hashable' by implementing 'hash(into:)' instead
528 |     let prime = 31
529 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:590:19: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_args' to 'Hashable' by implementing 'hash(into:)' instead
588 | extension Collector_submitBatches_args : Hashable {
589 |
590 |   fileprivate var hashValue : Int {
    |                   `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_args' to 'Hashable' by implementing 'hash(into:)' instead
591 |     let prime = 31
592 |     var result = 1
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:654:19: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_result' to 'Hashable' by implementing 'hash(into:)' instead
652 | extension Collector_submitBatches_result : Hashable {
653 |
654 |   fileprivate var hashValue : Int {
    |                   `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Collector_submitBatches_result' to 'Hashable' by implementing 'hash(into:)' instead
655 |     let prime = 31
656 |     var result = 1
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/Jaeger/Jaeger Thrift/jaeger+Exts.swift:774:14: warning: static property 'processorHandlers' is not concurrency-safe because non-'Sendable' type 'CollectorProcessor.ProcessorHandlerDictionary' (aka 'Dictionary<String, (Int32, any TProtocol, any TProtocol, any Collector) throws -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
772 | extension CollectorProcessor : TProcessor {
773 |
774 |   static let processorHandlers: ProcessorHandlerDictionary = {
    |              |- warning: static property 'processorHandlers' is not concurrency-safe because non-'Sendable' type 'CollectorProcessor.ProcessorHandlerDictionary' (aka 'Dictionary<String, (Int32, any TProtocol, any TProtocol, any Collector) throws -> ()>') may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'processorHandlers' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
775 |
776 |     var processorHandlers = ProcessorHandlerDictionary()
[1163/1267] Compiling NIOCore NIOLoopBound.swift
[1164/1267] Compiling NIOCore NIOSendable.swift
[1165/1267] Compiling NIOCore PointerHelpers.swift
[1166/1267] Compiling NIOCore RecvByteBufferAllocator.swift
[1167/1267] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[1168/1267] Compiling NIOCore SocketAddresses.swift
[1182/1273] Emitting module DatadogSample
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:25:24: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 | var tracer: Tracer
 25 | tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: instrumentationScopeName, instrumentationVersion: instrumentationScopeVersion)
    |                        `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | let hostName = Host.current().localizedName
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
[1183/1273] Compiling DatadogSample main.swift
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:25:24: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 | var tracer: Tracer
 25 | tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: instrumentationScopeName, instrumentationVersion: instrumentationScopeVersion)
    |                        `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 | let hostName = Host.current().localizedName
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:50:59: warning: main actor-isolated let 'datadogExporter' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 | )
 41 |
 42 | let datadogExporter = try! DatadogExporter(config: exporterConfiguration)
    |     `- note: let declared here
 43 |
 44 | testTraces()
    :
 47 | sleep(10)
 48 |
 49 | func testTraces() {
    |      `- note: add '@MainActor' to make global function 'testTraces()' part of global actor 'MainActor'
 50 |     let spanProcessor = SimpleSpanProcessor(spanExporter: datadogExporter)
    |                                                           `- warning: main actor-isolated let 'datadogExporter' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 51 |
 52 |     OpenTelemetry.registerTracerProvider(tracerProvider:
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:57:5: error: main actor-isolated var 'tracer' can not be mutated from a nonisolated context
 22 | let instrumentationScopeVersion = "semver:0.1.0"
 23 |
 24 | var tracer: Tracer
    |     `- note: mutation of this var is only permitted within the actor
 25 | tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: instrumentationScopeName, instrumentationVersion: instrumentationScopeVersion)
 26 |
    :
 47 | sleep(10)
 48 |
 49 | func testTraces() {
    |      `- note: add '@MainActor' to make global function 'testTraces()' part of global actor 'MainActor'
 50 |     let spanProcessor = SimpleSpanProcessor(spanExporter: datadogExporter)
 51 |
    :
 55 |             .build()
 56 |     )
 57 |     tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: instrumentationScopeName, instrumentationVersion: instrumentationScopeVersion) as! TracerSdk
    |     `- error: main actor-isolated var 'tracer' can not be mutated from a nonisolated context
 58 |
 59 |     simpleSpan()
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:57:28: warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 55 |             .build()
 56 |     )
 57 |     tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: instrumentationScopeName, instrumentationVersion: instrumentationScopeVersion) as! TracerSdk
    |                            `- warning: reference to static property 'instance' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 58 |
 59 |     simpleSpan()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:18:23: note: static property declared here
 16 |     public static var version = "v1.21.0"
 17 |
 18 |     public static var instance = OpenTelemetry()
    |                       `- note: static property declared here
 19 |
 20 |     /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:65:16: error: main actor-isolated var 'tracer' can not be referenced from a nonisolated context
 22 | let instrumentationScopeVersion = "semver:0.1.0"
 23 |
 24 | var tracer: Tracer
    |     `- note: var declared here
 25 | tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: instrumentationScopeName, instrumentationVersion: instrumentationScopeVersion)
 26 |
    :
 62 | }
 63 |
 64 | func simpleSpan() {
    |      `- note: add '@MainActor' to make global function 'simpleSpan()' part of global actor 'MainActor'
 65 |     let span = tracer.spanBuilder(spanName: "SimpleSpan").setSpanKind(spanKind: .client).startSpan()
    |                `- error: main actor-isolated var 'tracer' can not be referenced from a nonisolated context
 66 |     span.setAttribute(key: resourceKey, value: resourceValue)
 67 |     span.addEvent(name: "My event", attributes: ["message": AttributeValue.string("test message"),
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:73:16: error: main actor-isolated var 'tracer' can not be referenced from a nonisolated context
 22 | let instrumentationScopeVersion = "semver:0.1.0"
 23 |
 24 | var tracer: Tracer
    |     `- note: var declared here
 25 | tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: instrumentationScopeName, instrumentationVersion: instrumentationScopeVersion)
 26 |
    :
 70 | }
 71 |
 72 | func childSpan() {
    |      `- note: add '@MainActor' to make global function 'childSpan()' part of global actor 'MainActor'
 73 |     let span = tracer.spanBuilder(spanName: "parentSpan").setSpanKind(spanKind: .client).setActive(true).startSpan()
    |                `- error: main actor-isolated var 'tracer' can not be referenced from a nonisolated context
 74 |     span.setAttribute(key: sampleKey, value: sampleValue)
 75 |     let childSpan = tracer.spanBuilder(spanName: "childSpan").setSpanKind(spanKind: .client).startSpan()
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:75:21: error: main actor-isolated var 'tracer' can not be referenced from a nonisolated context
 22 | let instrumentationScopeVersion = "semver:0.1.0"
 23 |
 24 | var tracer: Tracer
    |     `- note: var declared here
 25 | tracer = OpenTelemetry.instance.tracerProvider.get(instrumentationName: instrumentationScopeName, instrumentationVersion: instrumentationScopeVersion)
 26 |
    :
 70 | }
 71 |
 72 | func childSpan() {
    |      `- note: add '@MainActor' to make global function 'childSpan()' part of global actor 'MainActor'
 73 |     let span = tracer.spanBuilder(spanName: "parentSpan").setSpanKind(spanKind: .client).setActive(true).startSpan()
 74 |     span.setAttribute(key: sampleKey, value: sampleValue)
 75 |     let childSpan = tracer.spanBuilder(spanName: "childSpan").setSpanKind(spanKind: .client).startSpan()
    |                     `- error: main actor-isolated var 'tracer' can not be referenced from a nonisolated context
 76 |     childSpan.setAttribute(key: sampleKey, value: sampleValue)
 77 |     childSpan.end()
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:84:25: warning: 'MeterProviderSdk' is deprecated: renamed to 'StableMeterProviderSdk'
 82 |     let processor = MetricProcessorSdk()
 83 |
 84 |     let meterProvider = MeterProviderSdk(metricProcessor: processor, metricExporter: datadogExporter, metricPushInterval: 0.1)
    |                         |- warning: 'MeterProviderSdk' is deprecated: renamed to 'StableMeterProviderSdk'
    |                         `- note: use 'StableMeterProviderSdk' instead
 85 |     OpenTelemetry.registerMeterProvider(meterProvider: meterProvider)
 86 |
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:85:19: warning: 'registerMeterProvider(meterProvider:)' is deprecated: Use registerStableMeterProvider instead.
 83 |
 84 |     let meterProvider = MeterProviderSdk(metricProcessor: processor, metricExporter: datadogExporter, metricPushInterval: 0.1)
 85 |     OpenTelemetry.registerMeterProvider(meterProvider: meterProvider)
    |                   `- warning: 'registerMeterProvider(meterProvider:)' is deprecated: Use registerStableMeterProvider instead.
 86 |
 87 |     let meter = meterProvider.get(instrumentationName: "MyMeter")
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:84:86: warning: main actor-isolated let 'datadogExporter' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 40 | )
 41 |
 42 | let datadogExporter = try! DatadogExporter(config: exporterConfiguration)
    |     `- note: let declared here
 43 |
 44 | testTraces()
    :
 79 | }
 80 |
 81 | func testMetrics() {
    |      `- note: add '@MainActor' to make global function 'testMetrics()' part of global actor 'MainActor'
 82 |     let processor = MetricProcessorSdk()
 83 |
 84 |     let meterProvider = MeterProviderSdk(metricProcessor: processor, metricExporter: datadogExporter, metricPushInterval: 0.1)
    |                                                                                      `- warning: main actor-isolated let 'datadogExporter' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 85 |     OpenTelemetry.registerMeterProvider(meterProvider: meterProvider)
 86 |
/Users/admin/builder/spi-builder-workspace/Examples/Datadog Sample/main.swift:100:27: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 98 |         let _: kern_return_t = withUnsafeMutablePointer(to: &taskInfo) {
 99 |             $0.withMemoryRebound(to: integer_t.self, capacity: 1) {
100 |                 task_info(mach_task_self_, task_flavor_t(MACH_TASK_BASIC_INFO), $0, &count)
    |                           `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
101 |             }
102 |         }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
  |            `- note: var declared here
[1183/1273] Linking NetworkSample
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/trace.pb.swift:372:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
370 | extension Opentelemetry_Proto_Trace_V1_Span.SpanKind: CaseIterable {
371 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
372 |   public static var allCases: [Opentelemetry_Proto_Trace_V1_Span.SpanKind] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |     .unspecified,
374 |     .internal,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/trace.pb.swift:446:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
444 | extension Opentelemetry_Proto_Trace_V1_Status.StatusCode: CaseIterable {
445 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
446 |   public static var allCases: [Opentelemetry_Proto_Trace_V1_Status.StatusCode] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
447 |     .unset,
448 |     .ok,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/trace.pb.swift:372:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
370 | extension Opentelemetry_Proto_Trace_V1_Span.SpanKind: CaseIterable {
371 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
372 |   public static var allCases: [Opentelemetry_Proto_Trace_V1_Span.SpanKind] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |     .unspecified,
374 |     .internal,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/trace.pb.swift:446:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
444 | extension Opentelemetry_Proto_Trace_V1_Status.StatusCode: CaseIterable {
445 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
446 |   public static var allCases: [Opentelemetry_Proto_Trace_V1_Status.StatusCode] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
447 |     .unset,
448 |     .ok,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/logs.pb.swift:141:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 | extension Opentelemetry_Proto_Logs_V1_SeverityNumber: CaseIterable {
140 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
141 |   public static var allCases: [Opentelemetry_Proto_Logs_V1_SeverityNumber] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |     .unspecified,
143 |     .trace,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/logs.pb.swift:214:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
212 | extension Opentelemetry_Proto_Logs_V1_LogRecordFlags: CaseIterable {
213 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
214 |   public static var allCases: [Opentelemetry_Proto_Logs_V1_LogRecordFlags] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |     .doNotUse,
216 |     .traceFlagsMask,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/logs.pb.swift:141:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 | extension Opentelemetry_Proto_Logs_V1_SeverityNumber: CaseIterable {
140 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
141 |   public static var allCases: [Opentelemetry_Proto_Logs_V1_SeverityNumber] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |     .unspecified,
143 |     .trace,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/logs.pb.swift:214:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
212 | extension Opentelemetry_Proto_Logs_V1_LogRecordFlags: CaseIterable {
213 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
214 |   public static var allCases: [Opentelemetry_Proto_Logs_V1_LogRecordFlags] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |     .doNotUse,
216 |     .traceFlagsMask,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/logs.pb.swift:141:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
139 | extension Opentelemetry_Proto_Logs_V1_SeverityNumber: CaseIterable {
140 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
141 |   public static var allCases: [Opentelemetry_Proto_Logs_V1_SeverityNumber] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |     .unspecified,
143 |     .trace,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/logs.pb.swift:214:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
212 | extension Opentelemetry_Proto_Logs_V1_LogRecordFlags: CaseIterable {
213 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
214 |   public static var allCases: [Opentelemetry_Proto_Logs_V1_LogRecordFlags] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |     .doNotUse,
216 |     .traceFlagsMask,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/metrics.pb.swift:138:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 136 | extension Opentelemetry_Proto_Metrics_V1_AggregationTemporality: CaseIterable {
 137 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
 138 |   public static var allCases: [Opentelemetry_Proto_Metrics_V1_AggregationTemporality] = [
     |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
     |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 139 |     .unspecified,
 140 |     .delta,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/metrics.pb.swift:192:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 190 | extension Opentelemetry_Proto_Metrics_V1_DataPointFlags: CaseIterable {
 191 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
 192 |   public static var allCases: [Opentelemetry_Proto_Metrics_V1_DataPointFlags] = [
     |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
     |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
     |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 193 |     .doNotUse,
 194 |     .noRecordedValueMask,
/Users/admin/builder/spi-builder-workspace/Sources/Exporters/OpenTelemetryProtocolCommon/proto/trace.pb.swift:372:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
370 | extension Opentelemetry_Proto_Trace_V1_Span.SpanKind: CaseIterable {
371 |   // The compiler won't synthesize support with the UNRECOGNIZED case.
372 |   public static var allCases: [Opentelemetry_Proto_Trace_V1_Span.SpanKind] = [
    |                     |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |     .unspecified,
374 |     .internal,
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Exporters/Persistence/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Bridges/OTelSwiftLog/README.md
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP Exporter/images/zipkin-spans.png
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP Exporter/images/prometheus-metrics.png
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP Exporter/docker-compose.yaml
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP Exporter/prometheus.yaml
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP Exporter/collector-config.yaml
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP HTTP Exporter/images/prometheus-metrics.png
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP HTTP Exporter/prometheus.yaml
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP HTTP Exporter/collector-config.yaml
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP HTTP Exporter/docker-compose.yaml
    /Users/admin/builder/spi-builder-workspace/Examples/OTLP HTTP Exporter/images/zipkin-spans.png
warning: 'swift-nio-ssl': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/NIOSSL/PrivacyInfo.xcprivacy
warning: 'swift-protobuf': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/CMakeLists.txt
BUILD FAILURE 6.0 macosSpm