Build Information
Successful build of opentelemetry-swift, reference 1.6.0 (adcfc3
), with Swift 6.0 for macOS (SPM) on 16 Sep 2024 09:39:02 UTC.
Swift 6 data race errors: 149
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
2436 | /**
2437 | Alibaba Cloud.
:
2441 | Amazon Web Services.
2442 | */
2443 | public static let aws = FaasInvokedProviderValues("aws")
| |- warning: static property 'aws' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.FaasInvokedProviderValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aws' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2444 | /**
2445 | Microsoft Azure.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2447:27: warning: static property 'azure' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.FaasInvokedProviderValues' may have shared mutable state; this is an error in the Swift 6 language mode
2433 | */
2434 | /// - Tag: otelFaasInvokedProviderValues
2435 | public struct FaasInvokedProviderValues: CustomStringConvertible {
| `- note: consider making struct 'FaasInvokedProviderValues' conform to the 'Sendable' protocol
2436 | /**
2437 | Alibaba Cloud.
:
2445 | Microsoft Azure.
2446 | */
2447 | public static let azure = FaasInvokedProviderValues("azure")
| |- warning: static property 'azure' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.FaasInvokedProviderValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'azure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2448 | /**
2449 | Google Cloud Platform.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2451:27: warning: static property 'gcp' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.FaasInvokedProviderValues' may have shared mutable state; this is an error in the Swift 6 language mode
2433 | */
2434 | /// - Tag: otelFaasInvokedProviderValues
2435 | public struct FaasInvokedProviderValues: CustomStringConvertible {
| `- note: consider making struct 'FaasInvokedProviderValues' conform to the 'Sendable' protocol
2436 | /**
2437 | Alibaba Cloud.
:
2449 | Google Cloud Platform.
2450 | */
2451 | public static let gcp = FaasInvokedProviderValues("gcp")
| |- warning: static property 'gcp' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.FaasInvokedProviderValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gcp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2452 | /**
2453 | Tencent Cloud.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2455:27: warning: static property 'tencentCloud' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.FaasInvokedProviderValues' may have shared mutable state; this is an error in the Swift 6 language mode
2433 | */
2434 | /// - Tag: otelFaasInvokedProviderValues
2435 | public struct FaasInvokedProviderValues: CustomStringConvertible {
| `- note: consider making struct 'FaasInvokedProviderValues' conform to the 'Sendable' protocol
2436 | /**
2437 | Alibaba Cloud.
:
2453 | Tencent Cloud.
2454 | */
2455 | public static let tencentCloud = FaasInvokedProviderValues("tencent_cloud")
| |- warning: static property 'tencentCloud' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.FaasInvokedProviderValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tencentCloud' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2456 |
2457 | internal let value: String
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2476:27: warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2470 | */
2471 | /// - Tag: otelNetHostConnectionTypeValues
2472 | public struct NetHostConnectionTypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionTypeValues' conform to the 'Sendable' protocol
2473 | /**
2474 | wifi.
2475 | */
2476 | public static let wifi = NetHostConnectionTypeValues("wifi")
| |- warning: static property 'wifi' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wifi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2477 | /**
2478 | wired.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2480:27: warning: static property 'wired' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2470 | */
2471 | /// - Tag: otelNetHostConnectionTypeValues
2472 | public struct NetHostConnectionTypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionTypeValues' conform to the 'Sendable' protocol
2473 | /**
2474 | wifi.
:
2478 | wired.
2479 | */
2480 | public static let wired = NetHostConnectionTypeValues("wired")
| |- warning: static property 'wired' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wired' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2481 | /**
2482 | cell.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2484:27: warning: static property 'cell' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2470 | */
2471 | /// - Tag: otelNetHostConnectionTypeValues
2472 | public struct NetHostConnectionTypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionTypeValues' conform to the 'Sendable' protocol
2473 | /**
2474 | wifi.
:
2482 | cell.
2483 | */
2484 | public static let cell = NetHostConnectionTypeValues("cell")
| |- warning: static property 'cell' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cell' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2485 | /**
2486 | unavailable.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2488:27: warning: static property 'unavailable' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2470 | */
2471 | /// - Tag: otelNetHostConnectionTypeValues
2472 | public struct NetHostConnectionTypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionTypeValues' conform to the 'Sendable' protocol
2473 | /**
2474 | wifi.
:
2486 | unavailable.
2487 | */
2488 | public static let unavailable = NetHostConnectionTypeValues("unavailable")
| |- warning: static property 'unavailable' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unavailable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2489 | /**
2490 | unknown.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2492:27: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2470 | */
2471 | /// - Tag: otelNetHostConnectionTypeValues
2472 | public struct NetHostConnectionTypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionTypeValues' conform to the 'Sendable' protocol
2473 | /**
2474 | wifi.
:
2490 | unknown.
2491 | */
2492 | public static let unknown = NetHostConnectionTypeValues("unknown")
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionTypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2493 |
2494 | internal let value: String
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2513:27: warning: static property 'gprs' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
2512 | */
2513 | public static let gprs = NetHostConnectionSubtypeValues("gprs")
| |- warning: static property 'gprs' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gprs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2514 | /**
2515 | EDGE.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2517:27: warning: static property 'edge' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2515 | EDGE.
2516 | */
2517 | public static let edge = NetHostConnectionSubtypeValues("edge")
| |- warning: static property 'edge' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'edge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2518 | /**
2519 | UMTS.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2521:27: warning: static property 'umts' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2519 | UMTS.
2520 | */
2521 | public static let umts = NetHostConnectionSubtypeValues("umts")
| |- warning: static property 'umts' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'umts' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2522 | /**
2523 | CDMA.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2525:27: warning: static property 'cdma' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2523 | CDMA.
2524 | */
2525 | public static let cdma = NetHostConnectionSubtypeValues("cdma")
| |- warning: static property 'cdma' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cdma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2526 | /**
2527 | EVDO Rel. 0.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2529:27: warning: static property 'evdo0' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2527 | EVDO Rel. 0.
2528 | */
2529 | public static let evdo0 = NetHostConnectionSubtypeValues("evdo_0")
| |- warning: static property 'evdo0' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'evdo0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2530 | /**
2531 | EVDO Rev. A.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2533:27: warning: static property 'evdoA' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2531 | EVDO Rev. A.
2532 | */
2533 | public static let evdoA = NetHostConnectionSubtypeValues("evdo_a")
| |- warning: static property 'evdoA' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'evdoA' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2534 | /**
2535 | CDMA2000 1XRTT.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2537:27: warning: static property 'cdma20001xrtt' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2535 | CDMA2000 1XRTT.
2536 | */
2537 | public static let cdma20001xrtt = NetHostConnectionSubtypeValues("cdma2000_1xrtt")
| |- warning: static property 'cdma20001xrtt' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cdma20001xrtt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2538 | /**
2539 | HSDPA.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2541:27: warning: static property 'hsdpa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2539 | HSDPA.
2540 | */
2541 | public static let hsdpa = NetHostConnectionSubtypeValues("hsdpa")
| |- warning: static property 'hsdpa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hsdpa' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2542 | /**
2543 | HSUPA.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2545:27: warning: static property 'hsupa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2543 | HSUPA.
2544 | */
2545 | public static let hsupa = NetHostConnectionSubtypeValues("hsupa")
| |- warning: static property 'hsupa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hsupa' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2546 | /**
2547 | HSPA.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2549:27: warning: static property 'hspa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2547 | HSPA.
2548 | */
2549 | public static let hspa = NetHostConnectionSubtypeValues("hspa")
| |- warning: static property 'hspa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hspa' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2550 | /**
2551 | IDEN.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2553:27: warning: static property 'iden' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2551 | IDEN.
2552 | */
2553 | public static let iden = NetHostConnectionSubtypeValues("iden")
| |- warning: static property 'iden' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2554 | /**
2555 | EVDO Rev. B.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2557:27: warning: static property 'evdoB' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2555 | EVDO Rev. B.
2556 | */
2557 | public static let evdoB = NetHostConnectionSubtypeValues("evdo_b")
| |- warning: static property 'evdoB' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'evdoB' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2558 | /**
2559 | LTE.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2561:27: warning: static property 'lte' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2559 | LTE.
2560 | */
2561 | public static let lte = NetHostConnectionSubtypeValues("lte")
| |- warning: static property 'lte' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lte' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2562 | /**
2563 | EHRPD.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2565:27: warning: static property 'ehrpd' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2563 | EHRPD.
2564 | */
2565 | public static let ehrpd = NetHostConnectionSubtypeValues("ehrpd")
| |- warning: static property 'ehrpd' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ehrpd' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2566 | /**
2567 | HSPAP.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2569:27: warning: static property 'hspap' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2567 | HSPAP.
2568 | */
2569 | public static let hspap = NetHostConnectionSubtypeValues("hspap")
| |- warning: static property 'hspap' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hspap' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2570 | /**
2571 | GSM.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2573:27: warning: static property 'gsm' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2571 | GSM.
2572 | */
2573 | public static let gsm = NetHostConnectionSubtypeValues("gsm")
| |- warning: static property 'gsm' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'gsm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2574 | /**
2575 | TD-SCDMA.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2577:27: warning: static property 'tdScdma' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2575 | TD-SCDMA.
2576 | */
2577 | public static let tdScdma = NetHostConnectionSubtypeValues("td_scdma")
| |- warning: static property 'tdScdma' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tdScdma' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2578 | /**
2579 | IWLAN.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2581:27: warning: static property 'iwlan' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2579 | IWLAN.
2580 | */
2581 | public static let iwlan = NetHostConnectionSubtypeValues("iwlan")
| |- warning: static property 'iwlan' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iwlan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2582 | /**
2583 | 5G NR (New Radio).
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2585:27: warning: static property 'nr' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2583 | 5G NR (New Radio).
2584 | */
2585 | public static let nr = NetHostConnectionSubtypeValues("nr")
| |- warning: static property 'nr' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2586 | /**
2587 | 5G NRNSA (New Radio Non-Standalone).
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2589:27: warning: static property 'nrnsa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2587 | 5G NRNSA (New Radio Non-Standalone).
2588 | */
2589 | public static let nrnsa = NetHostConnectionSubtypeValues("nrnsa")
| |- warning: static property 'nrnsa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nrnsa' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2590 | /**
2591 | LTE CA.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2593:27: warning: static property 'lteCa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
2507 | */
2508 | /// - Tag: otelNetHostConnectionSubtypeValues
2509 | public struct NetHostConnectionSubtypeValues: CustomStringConvertible {
| `- note: consider making struct 'NetHostConnectionSubtypeValues' conform to the 'Sendable' protocol
2510 | /**
2511 | GPRS.
:
2591 | LTE CA.
2592 | */
2593 | public static let lteCa = NetHostConnectionSubtypeValues("lte_ca")
| |- warning: static property 'lteCa' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.NetHostConnectionSubtypeValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lteCa' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2594 |
2595 | internal let value: String
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2614:27: warning: static property 'grpc' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
2608 | */
2609 | /// - Tag: otelRpcSystemValues
2610 | public struct RpcSystemValues: CustomStringConvertible {
| `- note: consider making struct 'RpcSystemValues' conform to the 'Sendable' protocol
2611 | /**
2612 | gRPC.
2613 | */
2614 | public static let grpc = RpcSystemValues("grpc")
| |- warning: static property 'grpc' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'grpc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2615 | /**
2616 | Java RMI.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2618:27: warning: static property 'javaRmi' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
2608 | */
2609 | /// - Tag: otelRpcSystemValues
2610 | public struct RpcSystemValues: CustomStringConvertible {
| `- note: consider making struct 'RpcSystemValues' conform to the 'Sendable' protocol
2611 | /**
2612 | gRPC.
:
2616 | Java RMI.
2617 | */
2618 | public static let javaRmi = RpcSystemValues("java_rmi")
| |- warning: static property 'javaRmi' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'javaRmi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2619 | /**
2620 | .NET WCF.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2622:27: warning: static property 'dotnetWcf' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
2608 | */
2609 | /// - Tag: otelRpcSystemValues
2610 | public struct RpcSystemValues: CustomStringConvertible {
| `- note: consider making struct 'RpcSystemValues' conform to the 'Sendable' protocol
2611 | /**
2612 | gRPC.
:
2620 | .NET WCF.
2621 | */
2622 | public static let dotnetWcf = RpcSystemValues("dotnet_wcf")
| |- warning: static property 'dotnetWcf' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dotnetWcf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2623 | /**
2624 | Apache Dubbo.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2626:27: warning: static property 'apacheDubbo' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
2608 | */
2609 | /// - Tag: otelRpcSystemValues
2610 | public struct RpcSystemValues: CustomStringConvertible {
| `- note: consider making struct 'RpcSystemValues' conform to the 'Sendable' protocol
2611 | /**
2612 | gRPC.
:
2624 | Apache Dubbo.
2625 | */
2626 | public static let apacheDubbo = RpcSystemValues("apache_dubbo")
| |- warning: static property 'apacheDubbo' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'apacheDubbo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2627 | /**
2628 | Connect RPC.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Trace/SemanticAttributes.swift:2630:27: warning: static property 'connectRpc' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
2608 | */
2609 | /// - Tag: otelRpcSystemValues
2610 | public struct RpcSystemValues: CustomStringConvertible {
| `- note: consider making struct 'RpcSystemValues' conform to the 'Sendable' protocol
2611 | /**
2612 | gRPC.
:
2628 | Connect RPC.
2629 | */
2630 | public static let connectRpc = RpcSystemValues("connect_rpc")
| |- warning: static property 'connectRpc' is not concurrency-safe because non-'Sendable' type 'SemanticAttributes.RpcSystemValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'connectRpc' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2631 |
2632 | internal let value: String
[86/107] Compiling OpenTelemetryApi OpenTelemetryContextProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[87/107] Compiling OpenTelemetryApi StringUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[88/107] Compiling OpenTelemetryApi SwiftExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[89/107] Compiling OpenTelemetryApi TracestateUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[90/107] Compiling OpenTelemetryApi DefaultLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[91/107] Compiling OpenTelemetryApi DefaultLoggerProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[92/107] Compiling OpenTelemetryApi EventBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[93/107] Compiling OpenTelemetryApi LogRecordBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[94/107] Compiling OpenTelemetryApi Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[95/107] Compiling OpenTelemetryApi LoggerBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[96/107] Compiling OpenTelemetryApi LoggerProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:10:22: warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
| |- warning: static property 'instanceWithDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:11:22: warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
6 | import Foundation
7 |
8 | public class DefaultLogger: Logger {
| `- note: class 'DefaultLogger' does not conform to the 'Sendable' protocol
9 |
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
| |- warning: static property 'instanceNoDomain' is not concurrency-safe because non-'Sendable' type 'DefaultLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instanceNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
13 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLogger.swift:12:22: warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private static let instanceWithDomain = DefaultLogger(true)
11 | private static let instanceNoDomain = DefaultLogger(false)
12 | private static let noopLogRecordBuilder = NoopLogRecordBuilder()
| |- warning: static property 'noopLogRecordBuilder' is not concurrency-safe because non-'Sendable' type 'DefaultLogger.NoopLogRecordBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopLogRecordBuilder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private var hasDomain: Bool
:
37 | }
38 |
39 | private class NoopLogRecordBuilder: EventBuilder {
| `- note: class 'NoopLogRecordBuilder' does not conform to the 'Sendable' protocol
40 | func setTimestamp(_ timestamp: Date) -> Self {
41 | return self
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:9:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'any LoggerProvider' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/LoggerProvider.swift:8:17: note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
6 | import Foundation
7 |
8 | public protocol LoggerProvider : AnyObject {
| `- note: protocol 'LoggerProvider' does not conform to the 'Sendable' protocol
9 | /// Returns a Logger for a given name and version
10 | /// - Parameters:
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:10:28: warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
8 | public class DefaultLoggerProvider : LoggerProvider {
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
| |- warning: static property 'noopBuilderWithDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderWithDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
12 |
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Logs/DefaultLoggerProvider.swift:11:28: warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
9 | public static let instance: LoggerProvider = DefaultLoggerProvider()
10 | fileprivate static let noopBuilderWithDomain = NoopLoggerBuilder(true)
11 | fileprivate static let noopBuilderNoDomain = NoopLoggerBuilder(false)
| |- warning: static property 'noopBuilderNoDomain' is not concurrency-safe because non-'Sendable' type 'NoopLoggerBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noopBuilderNoDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | public func get(instrumentationScopeName: String) -> Logger {
:
20 | }
21 |
22 | fileprivate class NoopLoggerBuilder: LoggerBuilder {
| `- note: class 'NoopLoggerBuilder' does not conform to the 'Sendable' protocol
23 | private let hasDomain : Bool
24 |
[97/107] Compiling OpenTelemetryApi EntryKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[98/107] Compiling OpenTelemetryApi EntryMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[99/107] Compiling OpenTelemetryApi EntryValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[100/107] Compiling OpenTelemetryApi JaegerBaggagePropagator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[101/107] Compiling OpenTelemetryApi TextMapBaggagePropagator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[102/107] Compiling OpenTelemetryApi W3CBaggagePropagator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[103/107] Compiling OpenTelemetryApi ZipkinBaggagePropagator.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[104/107] Compiling OpenTelemetryApi AttributeSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[105/107] Compiling OpenTelemetryApi AttributeValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[106/107] Compiling OpenTelemetryApi ActivityContextManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
[107/107] Compiling OpenTelemetryApi ContextManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/OpenTelemetry.swift:15:23: warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var version = "v1.20.0"
14 |
15 | public static var instance = OpenTelemetry()
| |- warning: static property 'instance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'instance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// Registered tracerProvider or default via DefaultTracerProvider.instance.
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Common/AttributeSet.swift:12:21: warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Empty LabelSet.
12 | public static var empty = AttributeSet()
| |- warning: static property 'empty' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'empty' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | private init() {
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:10:13: warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| `- warning: let 'OS_ACTIVITY_CURRENT' is not concurrency-safe because non-'Sendable' type 'os_activity_t' (aka 'any OS_os_activity') may have shared mutable state; this is an error in the Swift 6 language mode
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
os.OS_os_activity:2:17: note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | public protocol OS_os_activity : NSObjectProtocol {
| `- note: protocol 'OS_os_activity' does not conform to the 'Sendable' protocol
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
5 |
6 | import Foundation
7 | import os.activity
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'os'
8 |
9 | // Bridging Obj-C variabled defined as c-macroses. See `activity.h` header.
10 | private let OS_ACTIVITY_CURRENT = unsafeBitCast(dlsym(UnsafeMutableRawPointer(bitPattern: -2), "_os_activity_current"),
| |- note: annotate 'OS_ACTIVITY_CURRENT' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | to: os_activity_t.self)
12 | @_silgen_name("_os_activity_create") private func _os_activity_create(_ dso: UnsafeRawPointer?,
/Users/admin/builder/spi-builder-workspace/Sources/OpenTelemetryApi/Context/ActivityContextManager.swift:18:16: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
15 | _ flags: os_activity_flag_t) -> AnyObject!
16 |
17 | class ActivityContextManager: ContextManager {
| `- note: class 'ActivityContextManager' does not conform to the 'Sendable' protocol
18 | static let instance = ActivityContextManager()
| |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'ActivityContextManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let rlock = NSRecursiveLock()
Build complete! (16.03s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "opentelemetry-swift",
"name" : "opentelemetry-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "OpenTelemetryApi",
"targets" : [
"OpenTelemetryApi"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenTelemetryApiTests",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryApiTests",
"path" : "Tests/OpenTelemetryApiTests",
"sources" : [
"Baggage/BaggageTestUtil.swift",
"Baggage/DefaultBaggageManagerTests.swift",
"Baggage/DefaultBaggageTests.swift",
"Baggage/EntryKeyTests.swift",
"Baggage/EntryMetadataTests.swift",
"Baggage/EntryTests.swift",
"Baggage/EntryValueTests.swift",
"Baggage/Mocks/BaggageMock.swift",
"Baggage/Propagation/JaegerBaggagePropagatorTests.swift",
"Baggage/Propagation/W3CBaggagePropagatorTest.swift",
"Baggage/Propagation/ZipkinBaggagePropagatorTests.swift",
"Baggage/ScopedBaggageTests.swift",
"Common/AttributeValueTests.swift",
"Context/ActivityContextManagerTests.swift",
"Internal/SwiftExtensionsTests.swift",
"Logs/DefaultLoggerProviderTests.swift",
"Logs/DefaultLoggerTests.swift",
"Logs/SeverityTests.swift",
"Metrics/DefaultMeterProviderTests.swift",
"Trace/DefaultTracerTests.swift",
"Trace/PropagatedSpanTests.swift",
"Trace/Propagation/B3PropagatorTests.swift",
"Trace/Propagation/JaegerPropagatorTests.swift",
"Trace/Propagation/PropagationTestUtils.swift",
"Trace/Propagation/W3CTraceContextPropagatorTest.swift",
"Trace/SpanBuilderTests.swift",
"Trace/SpanContextTests.swift",
"Trace/SpanIdTests.swift",
"Trace/StatusTests.swift",
"Trace/TraceFlagsTests.swift",
"Trace/TraceIdTests.swift",
"Trace/TracestateTests.swift"
],
"target_dependencies" : [
"OpenTelemetryApi"
],
"type" : "test"
},
{
"c99name" : "OpenTelemetryApi",
"module_type" : "SwiftTarget",
"name" : "OpenTelemetryApi",
"path" : "Sources/OpenTelemetryApi",
"product_memberships" : [
"OpenTelemetryApi"
],
"sources" : [
"Baggage/Baggage.swift",
"Baggage/BaggageBuilder.swift",
"Baggage/BaggageManager.swift",
"Baggage/BaggageManagerProvider.swift",
"Baggage/DefaultBaggage.swift",
"Baggage/DefaultBaggageBuilder.swift",
"Baggage/DefaultBaggageManager.swift",
"Baggage/DefaultBaggageManagerProvider.swift",
"Baggage/EmptyBaggage.swift",
"Baggage/EmptyBaggageBuilder.swift",
"Baggage/Entry.swift",
"Baggage/EntryKey.swift",
"Baggage/EntryMetadata.swift",
"Baggage/EntryValue.swift",
"Baggage/Propagation/JaegerBaggagePropagator.swift",
"Baggage/Propagation/TextMapBaggagePropagator.swift",
"Baggage/Propagation/W3CBaggagePropagator.swift",
"Baggage/Propagation/ZipkinBaggagePropagator.swift",
"Common/AttributeSet.swift",
"Common/AttributeValue.swift",
"Context/ActivityContextManager.swift",
"Context/ContextManager.swift",
"Context/OpenTelemetryContextProvider.swift",
"Internal/StringUtils.swift",
"Internal/SwiftExtensions.swift",
"Internal/TracestateUtils.swift",
"Logs/DefaultLogger.swift",
"Logs/DefaultLoggerProvider.swift",
"Logs/EventBuilder.swift",
"Logs/LogRecordBuilder.swift",
"Logs/Logger.swift",
"Logs/LoggerBuilder.swift",
"Logs/LoggerProvider.swift",
"Logs/Severity.swift",
"Metrics/DefaultMeterProvider.swift",
"Metrics/Instruments/Gauge/BoundMeasureMetric.swift",
"Metrics/Instruments/Gauge/DoubleObserverMetric.swift",
"Metrics/Instruments/Gauge/DoubleObserverMetricHandle.swift",
"Metrics/Instruments/Gauge/IntObserverMetric.swift",
"Metrics/Instruments/Gauge/IntObserverMetricHandle.swift",
"Metrics/Instruments/Gauge/MeasureMetric.swift",
"Metrics/Instruments/Histogram/BoundHistogramMetric.swift",
"Metrics/Instruments/Histogram/HistogramMetric.swift",
"Metrics/Instruments/Sum/BoundCounterMetric.swift",
"Metrics/Instruments/Sum/CounterMetric.swift",
"Metrics/LabelSet.swift",
"Metrics/Meter.swift",
"Metrics/MeterProvider.swift",
"Metrics/ProxyMeter.swift",
"Metrics/Raw/BoundRawCounterMetric.swift",
"Metrics/Raw/BoundRawHistogramMetric.swift",
"Metrics/Raw/RawCounterMetric.swift",
"Metrics/Raw/RawHistogramMetric.swift",
"Metrics/Stable/DefaultStableMeter.swift",
"Metrics/Stable/DefaultStableMeterProvider.swift",
"Metrics/Stable/DoubleCounter.swift",
"Metrics/Stable/DoubleCounterBuilder.swift",
"Metrics/Stable/DoubleGaugeBuilder.swift",
"Metrics/Stable/DoubleHistogram.swift",
"Metrics/Stable/DoubleHistogramBuilder.swift",
"Metrics/Stable/DoubleUpDownCounter.swift",
"Metrics/Stable/DoubleUpDownCounterBuilder.swift",
"Metrics/Stable/LongCounter.swift",
"Metrics/Stable/LongCounterBuilder.swift",
"Metrics/Stable/LongGaugeBuilder.swift",
"Metrics/Stable/LongHistogram.swift",
"Metrics/Stable/LongHistogramBuilder.swift",
"Metrics/Stable/LongUpDownCounter.swift",
"Metrics/Stable/LongUpDownCounterBuilder.swift",
"Metrics/Stable/MeterBuilder.swift",
"Metrics/Stable/ObservableDoubleCounter.swift",
"Metrics/Stable/ObservableDoubleGauge.swift",
"Metrics/Stable/ObservableDoubleMeasurement.swift",
"Metrics/Stable/ObservableDoubleUpDownCounter.swift",
"Metrics/Stable/ObservableLongCounter.swift",
"Metrics/Stable/ObservableLongGauge.swift",
"Metrics/Stable/ObservableLongMeasurement.swift",
"Metrics/Stable/ObservableLongUpDownCounter.swift",
"Metrics/Stable/StableMeter.swift",
"Metrics/Stable/StableMeterProvider.swift",
"OpenTelemetry.swift",
"Propagation/ContextPropagators.swift",
"Propagation/DefaultContextPropagators.swift",
"Trace/DefaultTracer.swift",
"Trace/DefaultTracerProvider.swift",
"Trace/PropagatedSpan.swift",
"Trace/PropagatedSpanBuilder.swift",
"Trace/Propagation/B3Propagator.swift",
"Trace/Propagation/BinaryFormattable.swift",
"Trace/Propagation/JaegerPropagator.swift",
"Trace/Propagation/TextMapPropagator.swift",
"Trace/Propagation/W3CTraceContextPropagator.swift",
"Trace/SemanticAttributes.swift",
"Trace/Span.swift",
"Trace/SpanBuilder.swift",
"Trace/SpanContext.swift",
"Trace/SpanId.swift",
"Trace/SpanKind.swift",
"Trace/Status.swift",
"Trace/TraceFlags.swift",
"Trace/TraceId.swift",
"Trace/TraceState.swift",
"Trace/Tracer.swift",
"Trace/TracerProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.