Build Information
Successful build of opentelemetry-swift, reference main (e4a311
), with Swift 6.0 for macOS (SPM) on 31 Mar 2025 15:21:02 UTC.
Swift 6 data race errors: 171
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
10 |
11 | static var proxyMeter = ProxyMeter()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider: LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider: AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracer.swift:10: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
8 | /// No-op implementation of the Tracer
9 | public class DefaultTracer: Tracer {
10 | public static var instance = DefaultTracer()
| |- 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
11 |
12 | public func spanBuilder(spanName: String) -> SpanBuilder {
[74/110] Compiling OpenTelemetryApi OpenTelemetry.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:17:21: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public struct OpenTelemetry {
16 |
17 | public static var version = "v1.21.0"
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' 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 |
19 | public static var instance = OpenTelemetry()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:25:42: warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
23 |
24 | /// Registered MeterProvider or default via DefaultMeterProvider.instance.
25 | public private(set) var meterProvider: MeterProvider
| |- warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
| `- note: use 'StableMeterProvider' instead
26 |
27 | public private(set) var stableMeterProvider: StableMeterProvider?
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultTracerProvider: TracerProvider {
| `- note: class 'DefaultTracerProvider' does not conform to the 'Sendable' protocol
9 | public static let instance = DefaultTracerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 |
11 | public func get(instrumentationName: String, instrumentationVersion: String? = nil) -> Tracer {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/DefaultMeterProvider.swift:9: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
7 |
8 | public class DefaultMeterProvider: MeterProvider {
9 | public static var instance: MeterProvider = DefaultMeterProvider()
| |- 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
10 |
11 | static var proxyMeter = ProxyMeter()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider: LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider: AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracer.swift:10: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
8 | /// No-op implementation of the Tracer
9 | public class DefaultTracer: Tracer {
10 | public static var instance = DefaultTracer()
| |- 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
11 |
12 | public func spanBuilder(spanName: String) -> SpanBuilder {
[75/110] Compiling OpenTelemetryApi ContextPropagators.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:17:21: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public struct OpenTelemetry {
16 |
17 | public static var version = "v1.21.0"
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' 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 |
19 | public static var instance = OpenTelemetry()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:25:42: warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
23 |
24 | /// Registered MeterProvider or default via DefaultMeterProvider.instance.
25 | public private(set) var meterProvider: MeterProvider
| |- warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
| `- note: use 'StableMeterProvider' instead
26 |
27 | public private(set) var stableMeterProvider: StableMeterProvider?
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultTracerProvider: TracerProvider {
| `- note: class 'DefaultTracerProvider' does not conform to the 'Sendable' protocol
9 | public static let instance = DefaultTracerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 |
11 | public func get(instrumentationName: String, instrumentationVersion: String? = nil) -> Tracer {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/DefaultMeterProvider.swift:9: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
7 |
8 | public class DefaultMeterProvider: MeterProvider {
9 | public static var instance: MeterProvider = DefaultMeterProvider()
| |- 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
10 |
11 | static var proxyMeter = ProxyMeter()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider: LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider: AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracer.swift:10: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
8 | /// No-op implementation of the Tracer
9 | public class DefaultTracer: Tracer {
10 | public static var instance = DefaultTracer()
| |- 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
11 |
12 | public func spanBuilder(spanName: String) -> SpanBuilder {
[76/110] Compiling OpenTelemetryApi DefaultContextPropagators.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:17:21: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public struct OpenTelemetry {
16 |
17 | public static var version = "v1.21.0"
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' 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 |
19 | public static var instance = OpenTelemetry()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:25:42: warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
23 |
24 | /// Registered MeterProvider or default via DefaultMeterProvider.instance.
25 | public private(set) var meterProvider: MeterProvider
| |- warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
| `- note: use 'StableMeterProvider' instead
26 |
27 | public private(set) var stableMeterProvider: StableMeterProvider?
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultTracerProvider: TracerProvider {
| `- note: class 'DefaultTracerProvider' does not conform to the 'Sendable' protocol
9 | public static let instance = DefaultTracerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 |
11 | public func get(instrumentationName: String, instrumentationVersion: String? = nil) -> Tracer {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/DefaultMeterProvider.swift:9: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
7 |
8 | public class DefaultMeterProvider: MeterProvider {
9 | public static var instance: MeterProvider = DefaultMeterProvider()
| |- 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
10 |
11 | static var proxyMeter = ProxyMeter()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider: LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider: AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracer.swift:10: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
8 | /// No-op implementation of the Tracer
9 | public class DefaultTracer: Tracer {
10 | public static var instance = DefaultTracer()
| |- 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
11 |
12 | public func spanBuilder(spanName: String) -> SpanBuilder {
[77/110] Compiling OpenTelemetryApi DefaultTracer.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:17:21: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public struct OpenTelemetry {
16 |
17 | public static var version = "v1.21.0"
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' 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 |
19 | public static var instance = OpenTelemetry()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:25:42: warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
23 |
24 | /// Registered MeterProvider or default via DefaultMeterProvider.instance.
25 | public private(set) var meterProvider: MeterProvider
| |- warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
| `- note: use 'StableMeterProvider' instead
26 |
27 | public private(set) var stableMeterProvider: StableMeterProvider?
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultTracerProvider: TracerProvider {
| `- note: class 'DefaultTracerProvider' does not conform to the 'Sendable' protocol
9 | public static let instance = DefaultTracerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 |
11 | public func get(instrumentationName: String, instrumentationVersion: String? = nil) -> Tracer {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/DefaultMeterProvider.swift:9: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
7 |
8 | public class DefaultMeterProvider: MeterProvider {
9 | public static var instance: MeterProvider = DefaultMeterProvider()
| |- 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
10 |
11 | static var proxyMeter = ProxyMeter()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider: LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider: AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracer.swift:10: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
8 | /// No-op implementation of the Tracer
9 | public class DefaultTracer: Tracer {
10 | public static var instance = DefaultTracer()
| |- 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
11 |
12 | public func spanBuilder(spanName: String) -> SpanBuilder {
[78/110] Compiling OpenTelemetryApi DefaultTracerProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:17:21: warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public struct OpenTelemetry {
16 |
17 | public static var version = "v1.21.0"
| |- warning: static property 'version' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'version' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'version' 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 |
19 | public static var instance = OpenTelemetry()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:25:42: warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
23 |
24 | /// Registered MeterProvider or default via DefaultMeterProvider.instance.
25 | public private(set) var meterProvider: MeterProvider
| |- warning: 'MeterProvider' is deprecated: renamed to 'StableMeterProvider'
| `- note: use 'StableMeterProvider' instead
26 |
27 | public private(set) var stableMeterProvider: StableMeterProvider?
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultTracerProvider: TracerProvider {
| `- note: class 'DefaultTracerProvider' does not conform to the 'Sendable' protocol
9 | public static let instance = DefaultTracerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'DefaultTracerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 |
11 | public func get(instrumentationName: String, instrumentationVersion: String? = nil) -> Tracer {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Metrics/DefaultMeterProvider.swift:9: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
7 |
8 | public class DefaultMeterProvider: MeterProvider {
9 | public static var instance: MeterProvider = DefaultMeterProvider()
| |- 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
10 |
11 | static var proxyMeter = ProxyMeter()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider: LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider: AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/DefaultTracer.swift:10: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
8 | /// No-op implementation of the Tracer
9 | public class DefaultTracer: Tracer {
10 | public static var instance = DefaultTracer()
| |- 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
11 |
12 | public func spanBuilder(spanName: String) -> SpanBuilder {
[79/110] Compiling OpenTelemetryApi Baggage.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[80/110] Compiling OpenTelemetryApi BaggageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[81/110] Compiling OpenTelemetryApi BaggageManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[82/110] Compiling OpenTelemetryApi BaggageManagerProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[83/110] Compiling OpenTelemetryApi DefaultBaggage.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[84/110] Compiling OpenTelemetryApi DefaultBaggageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[85/110] Compiling OpenTelemetryApi DefaultBaggageManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[86/110] Compiling OpenTelemetryApi DefaultBaggageManagerProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[87/110] Compiling OpenTelemetryApi EmptyBaggage.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[88/110] Compiling OpenTelemetryApi EmptyBaggageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[89/110] Compiling OpenTelemetryApi Entry.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/EmptyBaggage.swift:13:16: 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
11 |
12 | /// Returns the single instance of the EmptyBaggage class.
13 | static var instance = EmptyBaggage()
| |- 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
14 |
15 | static func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManager.swift:14: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
12 | /// Returns a BaggageManager singleton that is the default implementation for
13 | /// BaggageManager.
14 | public static var instance = DefaultBaggageManager()
| |- 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
15 |
16 | public func baggageBuilder() -> BaggageBuilder {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Baggage/DefaultBaggageManagerProvider.swift:10: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
8 | /// No-op implementations of BaggageManager.
9 | public class DefaultBaggageManagerProvider: BaggageManagerProvider {
10 | public static var instance = DefaultBaggageManagerProvider()
| |- 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
11 |
12 | public func create() -> BaggageManager {
[90/110] Compiling OpenTelemetryApi EntryKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[91/110] Compiling OpenTelemetryApi EntryMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[92/110] Compiling OpenTelemetryApi EntryValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[93/110] Compiling OpenTelemetryApi JaegerBaggagePropagator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[94/110] Compiling OpenTelemetryApi TextMapBaggagePropagator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[95/110] Compiling OpenTelemetryApi W3CBaggagePropagator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[96/110] Compiling OpenTelemetryApi ZipkinBaggagePropagator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[97/110] Compiling OpenTelemetryApi AttributeArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[98/110] Compiling OpenTelemetryApi AttributeSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[99/110] Compiling OpenTelemetryApi AttributeValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[100/110] Compiling OpenTelemetryApi ActivityContextManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:19:21: 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
17 | public static var version = "v1.21.0"
18 |
19 | public static var instance = OpenTelemetry()
| |- 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
20 |
21 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeArray.swift:10:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | open class AttributeArray: Hashable, Codable {
9 | public private(set) var values: [AttributeValue]
10 | public static var empty = AttributeArray()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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
11 | public var description: String {
12 | values.description
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' 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 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:13:15: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:9:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
7 |
8 | #if canImport(os.activity)
9 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
10 |
11 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
12 | // swiftlint:disable identifier_name
13 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(
| |- note: annotate 'OS_ACTIVITY_CURRENT' 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
14 | dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
15 | to: os_activity_t.self)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:25:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ) -> AnyObject!
23 |
24 | class ActivityContextManager: ImperativeContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
25 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
26 |
27 | let rlock = NSRecursiveLock()
[101/110] Compiling OpenTelemetryApi SpanContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[102/110] Compiling OpenTelemetryApi SpanException.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[103/110] Compiling OpenTelemetryApi SpanId.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[104/110] Compiling OpenTelemetryApi SpanKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[105/110] Compiling OpenTelemetryApi Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[106/110] Compiling OpenTelemetryApi TraceFlags.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[107/110] Compiling OpenTelemetryApi TraceId.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[108/110] Compiling OpenTelemetryApi TraceState.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[109/110] Compiling OpenTelemetryApi Tracer.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
[110/110] Compiling OpenTelemetryApi TracerProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SpanId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a span identifier. A valid span identifier is an 8-byte array with at
9 | /// least one non-zero byte.
10 | public struct SpanId: Equatable, Comparable, Hashable, CustomStringConvertible, Codable {
| `- note: consider making struct 'SpanId' conform to the 'Sendable' protocol
11 | public static let size = 8
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = SpanId(id: invalidId)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'SpanId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the SpanId.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/TraceId.swift:13:23: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// A struct that represents a trace identifier. A valid trace identifier is a 16-byte array with at
9 | /// least one non-zero byte.
10 | public struct TraceId: Comparable, Hashable, CustomStringConvertible, Equatable, Codable {
| `- note: consider making struct 'TraceId' conform to the 'Sendable' protocol
11 | public static let size = 16
12 | public static let invalidId: UInt64 = 0
13 | public static let invalid = TraceId()
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'TraceId' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' 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
14 |
15 | // The internal representation of the TraceId.
Build complete! (13.77s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "opentelemetry-swift",
"name" : "opentelemetry-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "OpenTelemetryApi",
"targets" : [
"OpenTelemetryApi"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenTelemetryApi",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryApi",
"path" : "Sources/OpenTelemetryApi",
"product_memberships" : [
"OpenTelemetryApi"
],
"sources" : [
"Baggage/Baggage.swift",
"Baggage/BaggageBuilder.swift",
"Baggage/BaggageManager.swift",
"Baggage/BaggageManagerProvider.swift",
"Baggage/DefaultBaggage.swift",
"Baggage/DefaultBaggageBuilder.swift",
"Baggage/DefaultBaggageManager.swift",
"Baggage/DefaultBaggageManagerProvider.swift",
"Baggage/EmptyBaggage.swift",
"Baggage/EmptyBaggageBuilder.swift",
"Baggage/Entry.swift",
"Baggage/EntryKey.swift",
"Baggage/EntryMetadata.swift",
"Baggage/EntryValue.swift",
"Baggage/Propagation/JaegerBaggagePropagator.swift",
"Baggage/Propagation/TextMapBaggagePropagator.swift",
"Baggage/Propagation/W3CBaggagePropagator.swift",
"Baggage/Propagation/ZipkinBaggagePropagator.swift",
"Common/AttributeArray.swift",
"Common/AttributeSet.swift",
"Common/AttributeValue.swift",
"Context/ActivityContextManager.swift",
"Context/ContextManager.swift",
"Context/OpenTelemetryContextProvider.swift",
"Context/TaskLocalContextManager.swift",
"Internal/StringUtils.swift",
"Internal/SwiftExtensions.swift",
"Internal/TracestateUtils.swift",
"Logs/DefaultLogger.swift",
"Logs/DefaultLoggerProvider.swift",
"Logs/EventBuilder.swift",
"Logs/LogRecordBuilder.swift",
"Logs/Logger.swift",
"Logs/LoggerBuilder.swift",
"Logs/LoggerProvider.swift",
"Logs/Severity.swift",
"Metrics/DefaultMeterProvider.swift",
"Metrics/Instruments/Gauge/BoundMeasureMetric.swift",
"Metrics/Instruments/Gauge/DoubleObserverMetric.swift",
"Metrics/Instruments/Gauge/DoubleObserverMetricHandle.swift",
"Metrics/Instruments/Gauge/IntObserverMetric.swift",
"Metrics/Instruments/Gauge/IntObserverMetricHandle.swift",
"Metrics/Instruments/Gauge/MeasureMetric.swift",
"Metrics/Instruments/Histogram/BoundHistogramMetric.swift",
"Metrics/Instruments/Histogram/HistogramMetric.swift",
"Metrics/Instruments/Sum/BoundCounterMetric.swift",
"Metrics/Instruments/Sum/CounterMetric.swift",
"Metrics/LabelSet.swift",
"Metrics/Meter.swift",
"Metrics/MeterProvider.swift",
"Metrics/ProxyMeter.swift",
"Metrics/Raw/BoundRawCounterMetric.swift",
"Metrics/Raw/BoundRawHistogramMetric.swift",
"Metrics/Raw/RawCounterMetric.swift",
"Metrics/Raw/RawHistogramMetric.swift",
"Metrics/Stable/DefaultStableMeter.swift",
"Metrics/Stable/DefaultStableMeterProvider.swift",
"Metrics/Stable/DoubleCounter.swift",
"Metrics/Stable/DoubleCounterBuilder.swift",
"Metrics/Stable/DoubleGaugeBuilder.swift",
"Metrics/Stable/DoubleHistogram.swift",
"Metrics/Stable/DoubleHistogramBuilder.swift",
"Metrics/Stable/DoubleUpDownCounter.swift",
"Metrics/Stable/DoubleUpDownCounterBuilder.swift",
"Metrics/Stable/LongCounter.swift",
"Metrics/Stable/LongCounterBuilder.swift",
"Metrics/Stable/LongGaugeBuilder.swift",
"Metrics/Stable/LongHistogram.swift",
"Metrics/Stable/LongHistogramBuilder.swift",
"Metrics/Stable/LongUpDownCounter.swift",
"Metrics/Stable/LongUpDownCounterBuilder.swift",
"Metrics/Stable/MeterBuilder.swift",
"Metrics/Stable/ObservableDoubleCounter.swift",
"Metrics/Stable/ObservableDoubleGauge.swift",
"Metrics/Stable/ObservableDoubleMeasurement.swift",
"Metrics/Stable/ObservableDoubleUpDownCounter.swift",
"Metrics/Stable/ObservableLongCounter.swift",
"Metrics/Stable/ObservableLongGauge.swift",
"Metrics/Stable/ObservableLongMeasurement.swift",
"Metrics/Stable/ObservableLongUpDownCounter.swift",
"Metrics/Stable/StableMeter.swift",
"Metrics/Stable/StableMeterProvider.swift",
"OpenTelemetry.swift",
"Propagation/ContextPropagators.swift",
"Propagation/DefaultContextPropagators.swift",
"Trace/DefaultTracer.swift",
"Trace/DefaultTracerProvider.swift",
"Trace/PropagatedSpan.swift",
"Trace/PropagatedSpanBuilder.swift",
"Trace/Propagation/B3Propagator.swift",
"Trace/Propagation/BinaryFormattable.swift",
"Trace/Propagation/JaegerPropagator.swift",
"Trace/Propagation/TextMapPropagator.swift",
"Trace/Propagation/W3CTraceContextPropagator.swift",
"Trace/SemanticAttributes.swift",
"Trace/Span.swift",
"Trace/SpanBuilder.swift",
"Trace/SpanContext.swift",
"Trace/SpanException.swift",
"Trace/SpanId.swift",
"Trace/SpanKind.swift",
"Trace/Status.swift",
"Trace/TraceFlags.swift",
"Trace/TraceId.swift",
"Trace/TraceState.swift",
"Trace/Tracer.swift",
"Trace/TracerProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.