The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of NautilusTelemetry, reference main (851794), with Swift 6.1 for macOS (SPM) on 12 Jun 2025 00:22:31 UTC.

Swift 6 data race errors: 9

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/airbnb/NautilusTelemetry.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/NautilusTelemetry
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8517947 Switch to captureHeaders: everywhere (#27)
Cloned https://github.com/airbnb/NautilusTelemetry.git
Revision (git rev-parse @):
85179476bd9741ee1c81ae3c83a416e59ab50db4
SUCCESS checkout https://github.com/airbnb/NautilusTelemetry.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "nautilustelemetry",
      "name": "NautilusTelemetry",
      "url": "https://github.com/airbnb/NautilusTelemetry.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NautilusTelemetry",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/airbnb/NautilusTelemetry.git
[1/837] Fetching nautilustelemetry
Fetched https://github.com/airbnb/NautilusTelemetry.git from cache (0.81s)
Creating working copy for https://github.com/airbnb/NautilusTelemetry.git
Working copy of https://github.com/airbnb/NautilusTelemetry.git resolved at main (8517947)
warning: '.resolve-product-dependencies': dependency 'nautilustelemetry' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/airbnb/NautilusTelemetry.git
https://github.com/airbnb/NautilusTelemetry.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NautilusTelemetry",
  "name" : "NautilusTelemetry",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "NautilusTelemetry",
      "targets" : [
        "NautilusTelemetry"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "SampleCode",
      "targets" : [
        "SampleCode"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SampleCode",
      "module_type" : "SwiftTarget",
      "name" : "SampleCode",
      "path" : "Sources/SampleCode",
      "product_memberships" : [
        "SampleCode"
      ],
      "sources" : [
        "ExampleReporter.swift",
        "SampleCodeLogger.swift"
      ],
      "target_dependencies" : [
        "NautilusTelemetry"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NautilusTelemetryTests",
      "module_type" : "SwiftTarget",
      "name" : "NautilusTelemetryTests",
      "path" : "Tests/NautilusTelemetryTests",
      "sources" : [
        "CompressionTests.swift",
        "ExporterTests.swift",
        "HardwareDetailsTests.swift",
        "IdentifiersTests.swift",
        "MeterTests.swift",
        "MetricExporterTests.swift",
        "ProcessDetailsTests.swift",
        "ReporterTests.swift",
        "ResourceAttributesTests.swift",
        "SamplerTests.swift",
        "Span+URLSessionTests.swift",
        "SpanTests.swift",
        "TestDataNormalization.swift",
        "TimeReferenceTests.swift",
        "TraceExporterTests.swift",
        "Tracer+URLRequestTests.swift",
        "XCTestCase+Leaks.swift"
      ],
      "target_dependencies" : [
        "NautilusTelemetry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NautilusTelemetry",
      "module_type" : "SwiftTarget",
      "name" : "NautilusTelemetry",
      "path" : "Sources/NautilusTelemetry",
      "product_memberships" : [
        "NautilusTelemetry",
        "SampleCode"
      ],
      "sources" : [
        "Compression/Compression.swift",
        "Exporters/Exporter+Logs.swift",
        "Exporters/Exporter+Metrics.swift",
        "Exporters/Exporter+Trace.swift",
        "Exporters/Exporter.swift",
        "Exporters/OTLP-JSON/Common/V1AnyValue.swift",
        "Exporters/OTLP-JSON/Common/V1ArrayValue.swift",
        "Exporters/OTLP-JSON/Common/V1InstrumentationScope.swift",
        "Exporters/OTLP-JSON/Common/V1KeyValue.swift",
        "Exporters/OTLP-JSON/Common/V1KeyValueList.swift",
        "Exporters/OTLP-JSON/Common/V1Resource.swift",
        "Exporters/OTLP-JSON/Logs/V1ExportLogsPartialSuccess.swift",
        "Exporters/OTLP-JSON/Logs/V1ExportLogsServiceRequest.swift",
        "Exporters/OTLP-JSON/Logs/V1ExportLogsServiceResponse.swift",
        "Exporters/OTLP-JSON/Logs/V1LogRecord.swift",
        "Exporters/OTLP-JSON/Logs/V1ResourceLogs.swift",
        "Exporters/OTLP-JSON/Logs/V1ScopeLogs.swift",
        "Exporters/OTLP-JSON/Logs/V1SeverityNumber.swift",
        "Exporters/OTLP-JSON/Metrics/ExponentialHistogramDataPointBuckets.swift",
        "Exporters/OTLP-JSON/Metrics/SummaryDataPointValueAtQuantile.swift",
        "Exporters/OTLP-JSON/Metrics/V1AggregationTemporality.swift",
        "Exporters/OTLP-JSON/Metrics/V1Exemplar.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExponentialHistogram.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExponentialHistogramDataPoint.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExportMetricsPartialSuccess.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExportMetricsServiceRequest.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExportMetricsServiceResponse.swift",
        "Exporters/OTLP-JSON/Metrics/V1Gauge.swift",
        "Exporters/OTLP-JSON/Metrics/V1Histogram.swift",
        "Exporters/OTLP-JSON/Metrics/V1HistogramDataPoint.swift",
        "Exporters/OTLP-JSON/Metrics/V1Metric.swift",
        "Exporters/OTLP-JSON/Metrics/V1NumberDataPoint.swift",
        "Exporters/OTLP-JSON/Metrics/V1ResourceMetrics.swift",
        "Exporters/OTLP-JSON/Metrics/V1ScopeMetrics.swift",
        "Exporters/OTLP-JSON/Metrics/V1Sum.swift",
        "Exporters/OTLP-JSON/Metrics/V1Summary.swift",
        "Exporters/OTLP-JSON/Metrics/V1SummaryDataPoint.swift",
        "Exporters/OTLP-JSON/OTLP.swift",
        "Exporters/OTLP-JSON/Trace/SpanEvent.swift",
        "Exporters/OTLP-JSON/Trace/SpanLink.swift",
        "Exporters/OTLP-JSON/Trace/SpanSpanKind.swift",
        "Exporters/OTLP-JSON/Trace/StatusStatusCode.swift",
        "Exporters/OTLP-JSON/Trace/Tracev1Status.swift",
        "Exporters/OTLP-JSON/Trace/V1ExportTracePartialSuccess.swift",
        "Exporters/OTLP-JSON/Trace/V1ExportTraceServiceRequest.swift",
        "Exporters/OTLP-JSON/Trace/V1ExportTraceServiceResponse.swift",
        "Exporters/OTLP-JSON/Trace/V1ResourceSpans.swift",
        "Exporters/OTLP-JSON/Trace/V1ScopeSpans.swift",
        "Exporters/OTLP-JSON/Trace/V1Span.swift",
        "Instrumentation/HardwareDetails.swift",
        "Instrumentation/InstrumentationSystem.swift",
        "Instrumentation/MetricKitInstrument.swift",
        "Instrumentation/ProcessDetails.swift",
        "Metrics/Counter.swift",
        "Metrics/Histogram.swift",
        "Metrics/HistogramValues.swift",
        "Metrics/Instrument.swift",
        "Metrics/Meter.swift",
        "Metrics/MetricValues.swift",
        "Metrics/ObservableCounter.swift",
        "Metrics/ObservableGauge.swift",
        "Metrics/ObservableUpDownCounter.swift",
        "Metrics/UpDownCounter.swift",
        "NautilusTelemetry.swift",
        "NautilusTelemetryLogger.swift",
        "Reporters/NautilusTelemetryReporter.swift",
        "Reporters/NoOpReporter.swift",
        "ResourceAttributes.swift",
        "Tracing/Baggage.swift",
        "Tracing/Span+URLSession.swift",
        "Tracing/Span.swift",
        "Tracing/Tracer+URLRequest.swift",
        "Tracing/Tracer.swift",
        "Utilities/Identifiers.swift",
        "Utilities/Sampling.swift",
        "Utilities/TimeReference.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-2F0A5646E1D333AE.txt
[4/77] Emitting module NautilusTelemetry
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:12:20: warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct HardwareDetails {
11 |
12 | 	public static var platformCachedValue: String? = {
   |                    |- warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'platformCachedValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'platformCachedValue' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 		// This doesn't change after launch, so evaluate once.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:23:21: warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | 	}()
22 |
23 | 	private static var isOnMac: Bool = {
   |                     |- warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'isOnMac' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'isOnMac' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 		// This doesn't change after launch, so evaluate once.
25 | 		var isOnMac = false
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'tracer' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:13:33: warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | 	static public private(set) var tracer = Tracer()
13 | 	static public private(set) var meter = Meter()
   |                                 |- warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'meter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'meter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:19:33: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
19 | 	static public private(set) var reporter: NautilusTelemetryReporter? = nil
   |                                 |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'reporter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | 	public static func bootstrap(reporter _reporter: NautilusTelemetryReporter) {
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Identifiers.swift:23:21: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public struct Identifiers {
22 | 	// MARK: utilities
23 | 	private static var random = SystemRandomNumberGenerator()
   |                     |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | 	/// Hex encodes an identifier.
[5/84] Compiling NautilusTelemetry SpanSpanKind.swift
[6/84] Compiling NautilusTelemetry StatusStatusCode.swift
[7/84] Compiling NautilusTelemetry Tracev1Status.swift
[8/84] Compiling NautilusTelemetry V1ExportTracePartialSuccess.swift
[9/84] Compiling NautilusTelemetry V1ExportTraceServiceRequest.swift
[10/84] Compiling NautilusTelemetry V1ExportTraceServiceResponse.swift
[11/84] Compiling NautilusTelemetry V1ResourceSpans.swift
[12/84] Compiling NautilusTelemetry V1ScopeSpans.swift
[13/84] Compiling NautilusTelemetry V1Span.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:12:20: warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct HardwareDetails {
11 |
12 | 	public static var platformCachedValue: String? = {
   |                    |- warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'platformCachedValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'platformCachedValue' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 		// This doesn't change after launch, so evaluate once.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:23:21: warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | 	}()
22 |
23 | 	private static var isOnMac: Bool = {
   |                     |- warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'isOnMac' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'isOnMac' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 		// This doesn't change after launch, so evaluate once.
25 | 		var isOnMac = false
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'tracer' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:13:33: warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | 	static public private(set) var tracer = Tracer()
13 | 	static public private(set) var meter = Meter()
   |                                 |- warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'meter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'meter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:19:33: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
19 | 	static public private(set) var reporter: NautilusTelemetryReporter? = nil
   |                                 |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'reporter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | 	public static func bootstrap(reporter _reporter: NautilusTelemetryReporter) {
[14/84] Compiling NautilusTelemetry HardwareDetails.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:12:20: warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct HardwareDetails {
11 |
12 | 	public static var platformCachedValue: String? = {
   |                    |- warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'platformCachedValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'platformCachedValue' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 		// This doesn't change after launch, so evaluate once.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:23:21: warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | 	}()
22 |
23 | 	private static var isOnMac: Bool = {
   |                     |- warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'isOnMac' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'isOnMac' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 		// This doesn't change after launch, so evaluate once.
25 | 		var isOnMac = false
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'tracer' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:13:33: warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | 	static public private(set) var tracer = Tracer()
13 | 	static public private(set) var meter = Meter()
   |                                 |- warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'meter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'meter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:19:33: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
19 | 	static public private(set) var reporter: NautilusTelemetryReporter? = nil
   |                                 |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'reporter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | 	public static func bootstrap(reporter _reporter: NautilusTelemetryReporter) {
[15/84] Compiling NautilusTelemetry InstrumentationSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:12:20: warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct HardwareDetails {
11 |
12 | 	public static var platformCachedValue: String? = {
   |                    |- warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'platformCachedValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'platformCachedValue' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 		// This doesn't change after launch, so evaluate once.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:23:21: warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | 	}()
22 |
23 | 	private static var isOnMac: Bool = {
   |                     |- warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'isOnMac' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'isOnMac' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 		// This doesn't change after launch, so evaluate once.
25 | 		var isOnMac = false
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'tracer' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:13:33: warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | 	static public private(set) var tracer = Tracer()
13 | 	static public private(set) var meter = Meter()
   |                                 |- warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'meter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'meter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:19:33: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
19 | 	static public private(set) var reporter: NautilusTelemetryReporter? = nil
   |                                 |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'reporter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | 	public static func bootstrap(reporter _reporter: NautilusTelemetryReporter) {
[16/84] Compiling NautilusTelemetry MetricKitInstrument.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:12:20: warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct HardwareDetails {
11 |
12 | 	public static var platformCachedValue: String? = {
   |                    |- warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'platformCachedValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'platformCachedValue' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 		// This doesn't change after launch, so evaluate once.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:23:21: warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | 	}()
22 |
23 | 	private static var isOnMac: Bool = {
   |                     |- warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'isOnMac' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'isOnMac' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 		// This doesn't change after launch, so evaluate once.
25 | 		var isOnMac = false
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'tracer' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:13:33: warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | 	static public private(set) var tracer = Tracer()
13 | 	static public private(set) var meter = Meter()
   |                                 |- warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'meter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'meter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:19:33: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
19 | 	static public private(set) var reporter: NautilusTelemetryReporter? = nil
   |                                 |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'reporter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | 	public static func bootstrap(reporter _reporter: NautilusTelemetryReporter) {
[17/84] Compiling NautilusTelemetry ProcessDetails.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:12:20: warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct HardwareDetails {
11 |
12 | 	public static var platformCachedValue: String? = {
   |                    |- warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'platformCachedValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'platformCachedValue' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 		// This doesn't change after launch, so evaluate once.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:23:21: warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | 	}()
22 |
23 | 	private static var isOnMac: Bool = {
   |                     |- warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'isOnMac' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'isOnMac' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 		// This doesn't change after launch, so evaluate once.
25 | 		var isOnMac = false
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'tracer' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:13:33: warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | 	static public private(set) var tracer = Tracer()
13 | 	static public private(set) var meter = Meter()
   |                                 |- warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'meter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'meter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:19:33: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
19 | 	static public private(set) var reporter: NautilusTelemetryReporter? = nil
   |                                 |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'reporter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | 	public static func bootstrap(reporter _reporter: NautilusTelemetryReporter) {
[18/84] Compiling NautilusTelemetry Counter.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:12:20: warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct HardwareDetails {
11 |
12 | 	public static var platformCachedValue: String? = {
   |                    |- warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'platformCachedValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'platformCachedValue' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 		// This doesn't change after launch, so evaluate once.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:23:21: warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | 	}()
22 |
23 | 	private static var isOnMac: Bool = {
   |                     |- warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'isOnMac' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'isOnMac' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 		// This doesn't change after launch, so evaluate once.
25 | 		var isOnMac = false
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'tracer' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:13:33: warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | 	static public private(set) var tracer = Tracer()
13 | 	static public private(set) var meter = Meter()
   |                                 |- warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'meter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'meter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:19:33: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
19 | 	static public private(set) var reporter: NautilusTelemetryReporter? = nil
   |                                 |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'reporter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | 	public static func bootstrap(reporter _reporter: NautilusTelemetryReporter) {
[19/84] Compiling NautilusTelemetry Histogram.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:12:20: warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct HardwareDetails {
11 |
12 | 	public static var platformCachedValue: String? = {
   |                    |- warning: static property 'platformCachedValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'platformCachedValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'platformCachedValue' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 		// This doesn't change after launch, so evaluate once.
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/HardwareDetails.swift:23:21: warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | 	}()
22 |
23 | 	private static var isOnMac: Bool = {
   |                     |- warning: static property 'isOnMac' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'isOnMac' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'isOnMac' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | 		// This doesn't change after launch, so evaluate once.
25 | 		var isOnMac = false
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 |- warning: static property 'tracer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'tracer' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'tracer' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:13:33: warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | 	static public private(set) var tracer = Tracer()
13 | 	static public private(set) var meter = Meter()
   |                                 |- warning: static property 'meter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'meter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'meter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:19:33: warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #endif
18 |
19 | 	static public private(set) var reporter: NautilusTelemetryReporter? = nil
   |                                 |- warning: static property 'reporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert 'reporter' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property 'reporter' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | 	public static func bootstrap(reporter _reporter: NautilusTelemetryReporter) {
[20/84] Compiling NautilusTelemetry V1KeyValue.swift
[21/84] Compiling NautilusTelemetry V1KeyValueList.swift
[22/84] Compiling NautilusTelemetry V1Resource.swift
[23/84] Compiling NautilusTelemetry V1ExportLogsPartialSuccess.swift
[24/84] Compiling NautilusTelemetry V1ExportLogsServiceRequest.swift
[25/84] Compiling NautilusTelemetry V1ExportLogsServiceResponse.swift
[26/84] Compiling NautilusTelemetry V1LogRecord.swift
[27/84] Compiling NautilusTelemetry V1ResourceLogs.swift
[28/84] Compiling NautilusTelemetry V1ScopeLogs.swift
[29/84] Compiling NautilusTelemetry V1SeverityNumber.swift
[30/84] Compiling NautilusTelemetry ExponentialHistogramDataPointBuckets.swift
[31/84] Compiling NautilusTelemetry SummaryDataPointValueAtQuantile.swift
[32/84] Compiling NautilusTelemetry V1AggregationTemporality.swift
[33/84] Compiling NautilusTelemetry V1Exemplar.swift
[34/84] Compiling NautilusTelemetry V1ExponentialHistogram.swift
[35/84] Compiling NautilusTelemetry V1ExponentialHistogramDataPoint.swift
[36/84] Compiling NautilusTelemetry Span+URLSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:24: warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |                        `- warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:51:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 49 |
 50 | 		Tracer.lock.withLock {
 51 | 			traceId = Identifiers.generateTraceId()
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 52 | 			root = Span(name: "root", traceId: traceId, parentId: nil, retireCallback: retire)
 53 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:59:43: warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |
 58 | 	func flushRetiredSpans() {
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
    |                                           `- warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:61:16: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
    |                `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | 			retiredSpans.removeAll()
 63 | 			return spans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Identifiers.swift:23:21: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public struct Identifiers {
22 | 	// MARK: utilities
23 | 	private static var random = SystemRandomNumberGenerator()
   |                     |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | 	/// Hex encodes an identifier.
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:54:27: warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
   :
52 | 		// actors would be great here!
53 | 		get {
54 | 			lock.withLock { return _guid }
   |                           `- warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | 		}
56 |
[37/84] Compiling NautilusTelemetry Span.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:24: warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |                        `- warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:51:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 49 |
 50 | 		Tracer.lock.withLock {
 51 | 			traceId = Identifiers.generateTraceId()
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 52 | 			root = Span(name: "root", traceId: traceId, parentId: nil, retireCallback: retire)
 53 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:59:43: warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |
 58 | 	func flushRetiredSpans() {
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
    |                                           `- warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:61:16: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
    |                `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | 			retiredSpans.removeAll()
 63 | 			return spans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Identifiers.swift:23:21: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public struct Identifiers {
22 | 	// MARK: utilities
23 | 	private static var random = SystemRandomNumberGenerator()
   |                     |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | 	/// Hex encodes an identifier.
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:54:27: warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
   :
52 | 		// actors would be great here!
53 | 		get {
54 | 			lock.withLock { return _guid }
   |                           `- warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | 		}
56 |
[38/84] Compiling NautilusTelemetry Tracer+URLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:24: warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |                        `- warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:51:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 49 |
 50 | 		Tracer.lock.withLock {
 51 | 			traceId = Identifiers.generateTraceId()
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 52 | 			root = Span(name: "root", traceId: traceId, parentId: nil, retireCallback: retire)
 53 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:59:43: warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |
 58 | 	func flushRetiredSpans() {
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
    |                                           `- warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:61:16: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
    |                `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | 			retiredSpans.removeAll()
 63 | 			return spans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Identifiers.swift:23:21: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public struct Identifiers {
22 | 	// MARK: utilities
23 | 	private static var random = SystemRandomNumberGenerator()
   |                     |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | 	/// Hex encodes an identifier.
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:54:27: warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
   :
52 | 		// actors would be great here!
53 | 		get {
54 | 			lock.withLock { return _guid }
   |                           `- warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | 		}
56 |
[39/84] Compiling NautilusTelemetry Tracer.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:24: warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |                        `- warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:51:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 49 |
 50 | 		Tracer.lock.withLock {
 51 | 			traceId = Identifiers.generateTraceId()
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 52 | 			root = Span(name: "root", traceId: traceId, parentId: nil, retireCallback: retire)
 53 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:59:43: warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |
 58 | 	func flushRetiredSpans() {
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
    |                                           `- warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:61:16: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
    |                `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | 			retiredSpans.removeAll()
 63 | 			return spans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Identifiers.swift:23:21: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public struct Identifiers {
22 | 	// MARK: utilities
23 | 	private static var random = SystemRandomNumberGenerator()
   |                     |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | 	/// Hex encodes an identifier.
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:54:27: warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
   :
52 | 		// actors would be great here!
53 | 		get {
54 | 			lock.withLock { return _guid }
   |                           `- warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | 		}
56 |
[40/84] Compiling NautilusTelemetry Identifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:24: warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |                        `- warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:51:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 49 |
 50 | 		Tracer.lock.withLock {
 51 | 			traceId = Identifiers.generateTraceId()
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 52 | 			root = Span(name: "root", traceId: traceId, parentId: nil, retireCallback: retire)
 53 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:59:43: warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |
 58 | 	func flushRetiredSpans() {
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
    |                                           `- warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:61:16: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
    |                `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | 			retiredSpans.removeAll()
 63 | 			return spans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Identifiers.swift:23:21: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public struct Identifiers {
22 | 	// MARK: utilities
23 | 	private static var random = SystemRandomNumberGenerator()
   |                     |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | 	/// Hex encodes an identifier.
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:54:27: warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
   :
52 | 		// actors would be great here!
53 | 		get {
54 | 			lock.withLock { return _guid }
   |                           `- warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | 		}
56 |
[41/84] Compiling NautilusTelemetry Sampling.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:24: warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |                        `- warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:51:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 49 |
 50 | 		Tracer.lock.withLock {
 51 | 			traceId = Identifiers.generateTraceId()
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 52 | 			root = Span(name: "root", traceId: traceId, parentId: nil, retireCallback: retire)
 53 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:59:43: warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |
 58 | 	func flushRetiredSpans() {
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
    |                                           `- warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:61:16: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
    |                `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | 			retiredSpans.removeAll()
 63 | 			return spans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Identifiers.swift:23:21: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public struct Identifiers {
22 | 	// MARK: utilities
23 | 	private static var random = SystemRandomNumberGenerator()
   |                     |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | 	/// Hex encodes an identifier.
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:54:27: warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
   :
52 | 		// actors would be great here!
53 | 		get {
54 | 			lock.withLock { return _guid }
   |                           `- warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | 		}
56 |
[42/84] Compiling NautilusTelemetry TimeReference.swift
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:42:24: warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 40 | 	func retire(span: Span) {
 41 | 		Tracer.lock.withLock {
 42 | 			retiredSpans.append(span)
    |                        `- warning: capture of 'span' with non-sendable type 'Span' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 43 | 		}
 44 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:51:4: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 49 |
 50 | 		Tracer.lock.withLock {
 51 | 			traceId = Identifiers.generateTraceId()
    |    `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 52 | 			root = Span(name: "root", traceId: traceId, parentId: nil, retireCallback: retire)
 53 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:59:43: warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 57 |
 58 | 	func flushRetiredSpans() {
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
    |                                           `- warning: type 'Span' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Span.swift:23:20: note: class 'Span' does not conform to the 'Sendable' protocol
 21 | /// Implements a pared down version of the spec
 22 | /// Not thread safe -- it's assumed that Span will only be modified from a single thread.
 23 | public final class Span: Identifiable {
    |                    `- note: class 'Span' does not conform to the 'Sendable' protocol
 24 | 	let name: String
 25 | 	let kind: SpanKind
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Tracing/Tracer.swift:61:16: warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  9 | import os
 10 |
 11 | public final class Tracer {
    |                    `- note: class 'Tracer' does not conform to the 'Sendable' protocol
 12 | 	static let lock = OSAllocatedUnfairLock()
 13 |
    :
 59 | 		let spansToReport: [Span] = Tracer.lock.withLock {
 60 | 			// copy and empty the array.
 61 | 			let spans = retiredSpans
    |                `- warning: capture of 'self' with non-sendable type 'Tracer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | 			retiredSpans.removeAll()
 63 | 			return spans
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Identifiers.swift:23:21: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | public struct Identifiers {
22 | 	// MARK: utilities
23 | 	private static var random = SystemRandomNumberGenerator()
   |                     |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
   |                     |- note: add '@MainActor' to make static property 'random' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | 	/// Hex encodes an identifier.
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:54:27: warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
   :
52 | 		// actors would be great here!
53 | 		get {
54 | 			lock.withLock { return _guid }
   |                           `- warning: capture of 'self' with non-sendable type 'StableGuidSampler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | 		}
56 |
[43/84] Compiling NautilusTelemetry HistogramValues.swift
[44/84] Compiling NautilusTelemetry Instrument.swift
[45/84] Compiling NautilusTelemetry Meter.swift
[46/84] Compiling NautilusTelemetry MetricValues.swift
[47/84] Compiling NautilusTelemetry ObservableCounter.swift
[48/84] Compiling NautilusTelemetry ObservableGauge.swift
[49/84] Compiling NautilusTelemetry ObservableUpDownCounter.swift
[50/84] Compiling NautilusTelemetry UpDownCounter.swift
[51/84] Compiling NautilusTelemetry NautilusTelemetry.swift
[52/84] Compiling NautilusTelemetry NautilusTelemetryLogger.swift
[53/84] Compiling NautilusTelemetry NautilusTelemetryReporter.swift
[54/84] Compiling NautilusTelemetry NoOpReporter.swift
[55/84] Compiling NautilusTelemetry ResourceAttributes.swift
[56/84] Compiling NautilusTelemetry Baggage.swift
[57/84] Compiling NautilusTelemetry V1ExportMetricsPartialSuccess.swift
[58/84] Compiling NautilusTelemetry V1ExportMetricsServiceRequest.swift
[59/84] Compiling NautilusTelemetry V1ExportMetricsServiceResponse.swift
[60/84] Compiling NautilusTelemetry V1Gauge.swift
[61/84] Compiling NautilusTelemetry V1Histogram.swift
[62/84] Compiling NautilusTelemetry V1HistogramDataPoint.swift
[63/84] Compiling NautilusTelemetry V1Metric.swift
[64/84] Compiling NautilusTelemetry V1NumberDataPoint.swift
[65/84] Compiling NautilusTelemetry Compression.swift
[66/84] Compiling NautilusTelemetry Exporter+Logs.swift
[67/84] Compiling NautilusTelemetry Exporter+Metrics.swift
[68/84] Compiling NautilusTelemetry Exporter+Trace.swift
[69/84] Compiling NautilusTelemetry Exporter.swift
[70/84] Compiling NautilusTelemetry V1AnyValue.swift
[71/84] Compiling NautilusTelemetry V1ArrayValue.swift
[72/84] Compiling NautilusTelemetry V1InstrumentationScope.swift
[73/84] Compiling NautilusTelemetry V1ResourceMetrics.swift
[74/84] Compiling NautilusTelemetry V1ScopeMetrics.swift
[75/84] Compiling NautilusTelemetry V1Sum.swift
[76/84] Compiling NautilusTelemetry V1Summary.swift
[77/84] Compiling NautilusTelemetry V1SummaryDataPoint.swift
[78/84] Compiling NautilusTelemetry OTLP.swift
[79/84] Compiling NautilusTelemetry SpanEvent.swift
[80/84] Compiling NautilusTelemetry SpanLink.swift
[80/84] Write Objects.LinkFileList
[81/84] Archiving libNautilusTelemetry.a
[83/87] Compiling SampleCode SampleCodeLogger.swift
[84/87] Emitting module SampleCode
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:51:13: warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 | 	}
 50 |
 51 | 	static var userAgent: String = {
    |             |- warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'userAgent' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 | 		let bundle = Bundle.main
 53 | 		let bundleIdentifier = bundle.bundleIdentifier ?? "unknown"
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:58:21: warning: static property '_sessionGUID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 | 	}()
 57 |
 58 | 	static private var _sessionGUID: Data?
    |                     |- warning: static property '_sessionGUID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert '_sessionGUID' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property '_sessionGUID' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 | 	static var sessionGUID: Data {
 60 | 		lock.withLock {
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:88:13: warning: static property 'sampler' is not concurrency-safe because non-'Sendable' type 'StableGuidSampler' may have shared mutable state; this is an error in the Swift 6 language mode
 86 | 	}
 87 |
 88 | 	static let sampler = StableGuidSampler(sampleRate: 1.0, seed: Data("OpenTelemetry".utf8), guid: sessionGUID)
    |             `- warning: static property 'sampler' is not concurrency-safe because non-'Sendable' type 'StableGuidSampler' may have shared mutable state; this is an error in the Swift 6 language mode
 89 | 	static var samplingEnabled: Bool {
 90 | 		sampler.guid = Self.sessionGUID
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:18:20: note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NautilusTelemetry'
 12 | 	import UIKit
 13 | #endif
 14 | import NautilusTelemetry
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NautilusTelemetry'
 15 |
 16 | /// An example telemetry reporter. Intended to be modified for specific use cases.
    :
 86 | 	}
 87 |
 88 | 	static let sampler = StableGuidSampler(sampleRate: 1.0, seed: Data("OpenTelemetry".utf8), guid: sessionGUID)
    |             |- note: add '@MainActor' to make static property 'sampler' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 | 	static var samplingEnabled: Bool {
 90 | 		sampler.guid = Self.sessionGUID
[85/87] Compiling SampleCode ExampleReporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:51:13: warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 | 	}
 50 |
 51 | 	static var userAgent: String = {
    |             |- warning: static property 'userAgent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'userAgent' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make static property 'userAgent' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 | 		let bundle = Bundle.main
 53 | 		let bundleIdentifier = bundle.bundleIdentifier ?? "unknown"
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:58:21: warning: static property '_sessionGUID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 | 	}()
 57 |
 58 | 	static private var _sessionGUID: Data?
    |                     |- warning: static property '_sessionGUID' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert '_sessionGUID' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property '_sessionGUID' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 | 	static var sessionGUID: Data {
 60 | 		lock.withLock {
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:88:13: warning: static property 'sampler' is not concurrency-safe because non-'Sendable' type 'StableGuidSampler' may have shared mutable state; this is an error in the Swift 6 language mode
 86 | 	}
 87 |
 88 | 	static let sampler = StableGuidSampler(sampleRate: 1.0, seed: Data("OpenTelemetry".utf8), guid: sessionGUID)
    |             `- warning: static property 'sampler' is not concurrency-safe because non-'Sendable' type 'StableGuidSampler' may have shared mutable state; this is an error in the Swift 6 language mode
 89 | 	static var samplingEnabled: Bool {
 90 | 		sampler.guid = Self.sessionGUID
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Utilities/Sampling.swift:18:20: note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
16 | /// A sampler that is stable for a given GUID.
17 | /// Intended to be used for session-based sampling or similar use cases.
18 | public final class StableGuidSampler: Sampler {
   |                    `- note: class 'StableGuidSampler' does not conform to the 'Sendable' protocol
19 |
20 | 	private let lock = OSAllocatedUnfairLock()
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NautilusTelemetry'
 12 | 	import UIKit
 13 | #endif
 14 | import NautilusTelemetry
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NautilusTelemetry'
 15 |
 16 | /// An example telemetry reporter. Intended to be modified for specific use cases.
    :
 86 | 	}
 87 |
 88 | 	static let sampler = StableGuidSampler(sampleRate: 1.0, seed: Data("OpenTelemetry".utf8), guid: sessionGUID)
    |             |- note: add '@MainActor' to make static property 'sampler' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 89 | 	static var samplingEnabled: Bool {
 90 | 		sampler.guid = Self.sessionGUID
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:79:25: warning: reference to static property 'tracer' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 77 | 	// MARK: Lifecycle events
 78 | 	func didEnterBackground() {
 79 | 		InstrumentationSystem.tracer.flushTrace()
    |                         `- warning: reference to static property 'tracer' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 80 | 		Self.resetSessionGUID()
 81 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: note: static property declared here
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 `- note: static property declared here
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:136:80: warning: reference to static property 'tracer' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | 		}
135 |
136 | 		let traceIdString = Identifiers.hexEncodedString(data: InstrumentationSystem.tracer.currentSpan.traceId)
    |                                                                                `- warning: reference to static property 'tracer' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | 		var urlRequest = URLRequest(url: url)
138 | 		urlRequest.httpBody = compressedPayload
/Users/admin/builder/spi-builder-workspace/Sources/NautilusTelemetry/Instrumentation/InstrumentationSystem.swift:12:33: note: static property declared here
10 | public struct InstrumentationSystem {
11 |
12 | 	static public private(set) var tracer = Tracer()
   |                                 `- note: static property declared here
13 | 	static public private(set) var meter = Meter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SampleCode/ExampleReporter.swift:143:7: warning: capture of 'self' with non-sendable type 'ExampleReporter' in a '@Sendable' closure
 16 | /// An example telemetry reporter. Intended to be modified for specific use cases.
 17 | @available(iOS 13.0, *)
 18 | public class ExampleReporter: NautilusTelemetryReporter {
    |              `- note: class 'ExampleReporter' does not conform to the 'Sendable' protocol
 19 |
 20 | 	/// If collector supports brotli in the future.
    :
141 | 		urlRequest.addValue(contentEncoding, forHTTPHeaderField: "Content-Encoding")
142 | 		let task = urlSession.dataTask(with: urlRequest) { data, urlResponse, error in
143 | 			if self.success(urlResponse) {
    |       `- warning: capture of 'self' with non-sendable type 'ExampleReporter' in a '@Sendable' closure
144 | 				logger.debug("\(url): success, traceId = \(traceIdString)")
145 | 			} else {
[85/87] Write Objects.LinkFileList
[86/87] Archiving libSampleCode.a
Build complete! (7.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NautilusTelemetry",
  "name" : "NautilusTelemetry",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    }
  ],
  "products" : [
    {
      "name" : "NautilusTelemetry",
      "targets" : [
        "NautilusTelemetry"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "SampleCode",
      "targets" : [
        "SampleCode"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SampleCode",
      "module_type" : "SwiftTarget",
      "name" : "SampleCode",
      "path" : "Sources/SampleCode",
      "product_memberships" : [
        "SampleCode"
      ],
      "sources" : [
        "ExampleReporter.swift",
        "SampleCodeLogger.swift"
      ],
      "target_dependencies" : [
        "NautilusTelemetry"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NautilusTelemetryTests",
      "module_type" : "SwiftTarget",
      "name" : "NautilusTelemetryTests",
      "path" : "Tests/NautilusTelemetryTests",
      "sources" : [
        "CompressionTests.swift",
        "ExporterTests.swift",
        "HardwareDetailsTests.swift",
        "IdentifiersTests.swift",
        "MeterTests.swift",
        "MetricExporterTests.swift",
        "ProcessDetailsTests.swift",
        "ReporterTests.swift",
        "ResourceAttributesTests.swift",
        "SamplerTests.swift",
        "Span+URLSessionTests.swift",
        "SpanTests.swift",
        "TestDataNormalization.swift",
        "TimeReferenceTests.swift",
        "TraceExporterTests.swift",
        "Tracer+URLRequestTests.swift",
        "XCTestCase+Leaks.swift"
      ],
      "target_dependencies" : [
        "NautilusTelemetry"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NautilusTelemetry",
      "module_type" : "SwiftTarget",
      "name" : "NautilusTelemetry",
      "path" : "Sources/NautilusTelemetry",
      "product_memberships" : [
        "NautilusTelemetry",
        "SampleCode"
      ],
      "sources" : [
        "Compression/Compression.swift",
        "Exporters/Exporter+Logs.swift",
        "Exporters/Exporter+Metrics.swift",
        "Exporters/Exporter+Trace.swift",
        "Exporters/Exporter.swift",
        "Exporters/OTLP-JSON/Common/V1AnyValue.swift",
        "Exporters/OTLP-JSON/Common/V1ArrayValue.swift",
        "Exporters/OTLP-JSON/Common/V1InstrumentationScope.swift",
        "Exporters/OTLP-JSON/Common/V1KeyValue.swift",
        "Exporters/OTLP-JSON/Common/V1KeyValueList.swift",
        "Exporters/OTLP-JSON/Common/V1Resource.swift",
        "Exporters/OTLP-JSON/Logs/V1ExportLogsPartialSuccess.swift",
        "Exporters/OTLP-JSON/Logs/V1ExportLogsServiceRequest.swift",
        "Exporters/OTLP-JSON/Logs/V1ExportLogsServiceResponse.swift",
        "Exporters/OTLP-JSON/Logs/V1LogRecord.swift",
        "Exporters/OTLP-JSON/Logs/V1ResourceLogs.swift",
        "Exporters/OTLP-JSON/Logs/V1ScopeLogs.swift",
        "Exporters/OTLP-JSON/Logs/V1SeverityNumber.swift",
        "Exporters/OTLP-JSON/Metrics/ExponentialHistogramDataPointBuckets.swift",
        "Exporters/OTLP-JSON/Metrics/SummaryDataPointValueAtQuantile.swift",
        "Exporters/OTLP-JSON/Metrics/V1AggregationTemporality.swift",
        "Exporters/OTLP-JSON/Metrics/V1Exemplar.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExponentialHistogram.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExponentialHistogramDataPoint.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExportMetricsPartialSuccess.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExportMetricsServiceRequest.swift",
        "Exporters/OTLP-JSON/Metrics/V1ExportMetricsServiceResponse.swift",
        "Exporters/OTLP-JSON/Metrics/V1Gauge.swift",
        "Exporters/OTLP-JSON/Metrics/V1Histogram.swift",
        "Exporters/OTLP-JSON/Metrics/V1HistogramDataPoint.swift",
        "Exporters/OTLP-JSON/Metrics/V1Metric.swift",
        "Exporters/OTLP-JSON/Metrics/V1NumberDataPoint.swift",
        "Exporters/OTLP-JSON/Metrics/V1ResourceMetrics.swift",
        "Exporters/OTLP-JSON/Metrics/V1ScopeMetrics.swift",
        "Exporters/OTLP-JSON/Metrics/V1Sum.swift",
        "Exporters/OTLP-JSON/Metrics/V1Summary.swift",
        "Exporters/OTLP-JSON/Metrics/V1SummaryDataPoint.swift",
        "Exporters/OTLP-JSON/OTLP.swift",
        "Exporters/OTLP-JSON/Trace/SpanEvent.swift",
        "Exporters/OTLP-JSON/Trace/SpanLink.swift",
        "Exporters/OTLP-JSON/Trace/SpanSpanKind.swift",
        "Exporters/OTLP-JSON/Trace/StatusStatusCode.swift",
        "Exporters/OTLP-JSON/Trace/Tracev1Status.swift",
        "Exporters/OTLP-JSON/Trace/V1ExportTracePartialSuccess.swift",
        "Exporters/OTLP-JSON/Trace/V1ExportTraceServiceRequest.swift",
        "Exporters/OTLP-JSON/Trace/V1ExportTraceServiceResponse.swift",
        "Exporters/OTLP-JSON/Trace/V1ResourceSpans.swift",
        "Exporters/OTLP-JSON/Trace/V1ScopeSpans.swift",
        "Exporters/OTLP-JSON/Trace/V1Span.swift",
        "Instrumentation/HardwareDetails.swift",
        "Instrumentation/InstrumentationSystem.swift",
        "Instrumentation/MetricKitInstrument.swift",
        "Instrumentation/ProcessDetails.swift",
        "Metrics/Counter.swift",
        "Metrics/Histogram.swift",
        "Metrics/HistogramValues.swift",
        "Metrics/Instrument.swift",
        "Metrics/Meter.swift",
        "Metrics/MetricValues.swift",
        "Metrics/ObservableCounter.swift",
        "Metrics/ObservableGauge.swift",
        "Metrics/ObservableUpDownCounter.swift",
        "Metrics/UpDownCounter.swift",
        "NautilusTelemetry.swift",
        "NautilusTelemetryLogger.swift",
        "Reporters/NautilusTelemetryReporter.swift",
        "Reporters/NoOpReporter.swift",
        "ResourceAttributes.swift",
        "Tracing/Baggage.swift",
        "Tracing/Span+URLSession.swift",
        "Tracing/Span.swift",
        "Tracing/Tracer+URLRequest.swift",
        "Tracing/Tracer.swift",
        "Utilities/Identifiers.swift",
        "Utilities/Sampling.swift",
        "Utilities/TimeReference.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.