The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Segment, reference 1.10.3 (9fbe93), with Swift 6.1 for macOS (SPM) on 25 Oct 2026 00:08:00 UTC.

Swift 6 data race errors: 30

Build Command

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

Build Log

 53 |     public let rawValue: Int
 54 |
    :
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
    |                           |- warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationUnhidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:75:27: warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
    |                           |- warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationHidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:76:27: warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
    |                           |- warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationTerminated' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:78:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |             .applicationInstalled,
 80 |             .applicationUpdated,
[61/86] Compiling Segment Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:23:23: warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 23 |     public static var debugLogsEnabled = false
    |                       |- warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugLogsEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'debugLogsEnabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:28:30: warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     static internal let deadInstance = "DEADINSTANCE"
 28 |     static internal weak var firstInstance: Analytics? = nil
    |                              |- warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'firstInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: add '@MainActor' to make static property 'firstInstance' part of global actor 'MainActor'
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30:33: warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     static internal weak var firstInstance: Analytics? = nil
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
    |                                 |- warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                 |- note: convert 'activeWriteKeys' to a 'let' constant to make 'Sendable' shared state immutable
    |                                 |- note: add '@MainActor' to make static property 'activeWriteKeys' part of global actor 'MainActor'
    |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     @Atomic internal var lastSettingsCheck: Date = .distantPast
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:568:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
566 |         case .asynchronous:
567 |             queue.async {
568 |                 task()
    |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
569 |             }
570 |         case .synchronous:
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 65 |     }
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:68:23: warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
    |                       |- warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationInstalled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:69:23: warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
    |                       |- warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationUpdated' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:70:23: warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
    |                       |- warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationOpened' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:71:23: warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
    |                       |- warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationBackgrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:72:23: warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
    |                       |- warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationForegrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:74:27: warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
    |                           |- warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationUnhidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:75:27: warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
    |                           |- warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationHidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:76:27: warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
    |                           |- warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationTerminated' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:78:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |             .applicationInstalled,
 80 |             .applicationUpdated,
[62/86] Compiling Segment Deprecations.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:23:23: warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 23 |     public static var debugLogsEnabled = false
    |                       |- warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugLogsEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'debugLogsEnabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:28:30: warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     static internal let deadInstance = "DEADINSTANCE"
 28 |     static internal weak var firstInstance: Analytics? = nil
    |                              |- warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'firstInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: add '@MainActor' to make static property 'firstInstance' part of global actor 'MainActor'
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30:33: warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     static internal weak var firstInstance: Analytics? = nil
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
    |                                 |- warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                 |- note: convert 'activeWriteKeys' to a 'let' constant to make 'Sendable' shared state immutable
    |                                 |- note: add '@MainActor' to make static property 'activeWriteKeys' part of global actor 'MainActor'
    |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     @Atomic internal var lastSettingsCheck: Date = .distantPast
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:568:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
566 |         case .asynchronous:
567 |             queue.async {
568 |                 task()
    |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
569 |             }
570 |         case .synchronous:
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 65 |     }
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:68:23: warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
    |                       |- warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationInstalled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:69:23: warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
    |                       |- warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationUpdated' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:70:23: warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
    |                       |- warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationOpened' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:71:23: warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
    |                       |- warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationBackgrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:72:23: warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
    |                       |- warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationForegrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:74:27: warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
    |                           |- warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationUnhidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:75:27: warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
    |                           |- warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationHidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:76:27: warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
    |                           |- warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationTerminated' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:78:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |             .applicationInstalled,
 80 |             .applicationUpdated,
[63/86] Compiling Segment Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:23:23: warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 23 |     public static var debugLogsEnabled = false
    |                       |- warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugLogsEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'debugLogsEnabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:28:30: warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     static internal let deadInstance = "DEADINSTANCE"
 28 |     static internal weak var firstInstance: Analytics? = nil
    |                              |- warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'firstInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: add '@MainActor' to make static property 'firstInstance' part of global actor 'MainActor'
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30:33: warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     static internal weak var firstInstance: Analytics? = nil
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
    |                                 |- warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                 |- note: convert 'activeWriteKeys' to a 'let' constant to make 'Sendable' shared state immutable
    |                                 |- note: add '@MainActor' to make static property 'activeWriteKeys' part of global actor 'MainActor'
    |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     @Atomic internal var lastSettingsCheck: Date = .distantPast
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:568:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
566 |         case .asynchronous:
567 |             queue.async {
568 |                 task()
    |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
569 |             }
570 |         case .synchronous:
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 65 |     }
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:68:23: warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
    |                       |- warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationInstalled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:69:23: warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
    |                       |- warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationUpdated' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:70:23: warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
    |                       |- warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationOpened' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:71:23: warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
    |                       |- warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationBackgrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:72:23: warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
    |                       |- warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationForegrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:74:27: warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
    |                           |- warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationUnhidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:75:27: warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
    |                           |- warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationHidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:76:27: warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
    |                           |- warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationTerminated' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:78:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |             .applicationInstalled,
 80 |             .applicationUpdated,
[64/86] Compiling Segment Events.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:23:23: warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 23 |     public static var debugLogsEnabled = false
    |                       |- warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugLogsEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'debugLogsEnabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:28:30: warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     static internal let deadInstance = "DEADINSTANCE"
 28 |     static internal weak var firstInstance: Analytics? = nil
    |                              |- warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'firstInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: add '@MainActor' to make static property 'firstInstance' part of global actor 'MainActor'
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30:33: warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     static internal weak var firstInstance: Analytics? = nil
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
    |                                 |- warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                 |- note: convert 'activeWriteKeys' to a 'let' constant to make 'Sendable' shared state immutable
    |                                 |- note: add '@MainActor' to make static property 'activeWriteKeys' part of global actor 'MainActor'
    |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     @Atomic internal var lastSettingsCheck: Date = .distantPast
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:568:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
566 |         case .asynchronous:
567 |             queue.async {
568 |                 task()
    |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
569 |             }
570 |         case .synchronous:
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 65 |     }
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:68:23: warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
    |                       |- warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationInstalled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:69:23: warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
    |                       |- warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationUpdated' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:70:23: warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
    |                       |- warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationOpened' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:71:23: warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
    |                       |- warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationBackgrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:72:23: warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
    |                       |- warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationForegrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:74:27: warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
    |                           |- warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationUnhidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:75:27: warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
    |                           |- warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationHidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:76:27: warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
    |                           |- warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationTerminated' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:78:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |             .applicationInstalled,
 80 |             .applicationUpdated,
[65/86] Compiling Segment ObjCAnalytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:23:23: warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 23 |     public static var debugLogsEnabled = false
    |                       |- warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugLogsEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'debugLogsEnabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:28:30: warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     static internal let deadInstance = "DEADINSTANCE"
 28 |     static internal weak var firstInstance: Analytics? = nil
    |                              |- warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'firstInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: add '@MainActor' to make static property 'firstInstance' part of global actor 'MainActor'
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30:33: warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     static internal weak var firstInstance: Analytics? = nil
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
    |                                 |- warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                 |- note: convert 'activeWriteKeys' to a 'let' constant to make 'Sendable' shared state immutable
    |                                 |- note: add '@MainActor' to make static property 'activeWriteKeys' part of global actor 'MainActor'
    |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     @Atomic internal var lastSettingsCheck: Date = .distantPast
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:568:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
566 |         case .asynchronous:
567 |             queue.async {
568 |                 task()
    |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
569 |             }
570 |         case .synchronous:
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 65 |     }
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:68:23: warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
    |                       |- warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationInstalled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:69:23: warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
    |                       |- warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationUpdated' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:70:23: warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
    |                       |- warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationOpened' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:71:23: warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
    |                       |- warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationBackgrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:72:23: warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
    |                       |- warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationForegrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:74:27: warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
    |                           |- warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationUnhidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:75:27: warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
    |                           |- warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationHidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:76:27: warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
    |                           |- warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationTerminated' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:78:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |             .applicationInstalled,
 80 |             .applicationUpdated,
[66/86] Compiling Segment ObjCConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:23:23: warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 23 |     public static var debugLogsEnabled = false
    |                       |- warning: static property 'debugLogsEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'debugLogsEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'debugLogsEnabled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:28:30: warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     static internal let deadInstance = "DEADINSTANCE"
 28 |     static internal weak var firstInstance: Analytics? = nil
    |                              |- warning: static property 'firstInstance' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                              |- note: convert 'firstInstance' to a 'let' constant to make 'Sendable' shared state immutable
    |                              |- note: add '@MainActor' to make static property 'firstInstance' part of global actor 'MainActor'
    |                              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30:33: warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     static internal weak var firstInstance: Analytics? = nil
 29 |
 30 |     @Atomic static internal var activeWriteKeys = [String]()
    |                                 |- warning: static property 'activeWriteKeys' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                                 |- note: convert 'activeWriteKeys' to a 'let' constant to make 'Sendable' shared state immutable
    |                                 |- note: add '@MainActor' to make static property 'activeWriteKeys' part of global actor 'MainActor'
    |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     @Atomic internal var lastSettingsCheck: Date = .distantPast
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:568:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
566 |         case .asynchronous:
567 |             queue.async {
568 |                 task()
    |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
569 |             }
570 |         case .synchronous:
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:67:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 65 |     }
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:68:23: warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 66 |
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
    |                       |- warning: static property 'applicationInstalled' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationInstalled' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:69:23: warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 67 |     public static let none: TrackedLifecycleEvent = []
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
    |                       |- warning: static property 'applicationUpdated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationUpdated' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:70:23: warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 68 |     public static let applicationInstalled = TrackedLifecycleEvent(rawValue: 1 << 0)
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
    |                       |- warning: static property 'applicationOpened' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationOpened' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:71:23: warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 69 |     public static let applicationUpdated = TrackedLifecycleEvent(rawValue: 1 << 1)
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
    |                       |- warning: static property 'applicationBackgrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationBackgrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:72:23: warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 70 |     public static let applicationOpened = TrackedLifecycleEvent(rawValue: 1 << 2)
 71 |     public static let applicationBackgrounded = TrackedLifecycleEvent(rawValue: 1 << 3)
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
    |                       |- warning: static property 'applicationForegrounded' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'applicationForegrounded' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:74:27: warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 72 |     public static let applicationForegrounded = TrackedLifecycleEvent(rawValue: 1 << 4)
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
    |                           |- warning: static property 'applicationUnhidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationUnhidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:75:27: warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 73 |     #if os(macOS)
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
    |                           |- warning: static property 'applicationHidden' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationHidden' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:76:27: warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 74 |         public static let applicationUnhidden = TrackedLifecycleEvent(rawValue: 1 << 5)
 75 |         public static let applicationHidden = TrackedLifecycleEvent(rawValue: 1 << 6)
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
    |                           |- warning: static property 'applicationTerminated' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'applicationTerminated' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Configuration.swift:78:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
 50 | // MARK: - Internal Configuration
 51 |
 52 | public final class TrackedLifecycleEvent: NSObject, OptionSet {
    |                    `- note: class 'TrackedLifecycleEvent' does not conform to the 'Sendable' protocol
 53 |     public let rawValue: Int
 54 |
    :
 76 |         public static let applicationTerminated = TrackedLifecycleEvent(rawValue: 1 << 7)
 77 |
 78 |         public static let all: TrackedLifecycleEvent = [
    |                           |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'TrackedLifecycleEvent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 79 |             .applicationInstalled,
 80 |             .applicationUpdated,
[67/86] Compiling Segment UserAgent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/UserAgent.swift:38:33: warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     #endif
37 |
38 |     @Atomic internal static var _value: String = ""
   |                                 |- warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert '_value' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property '_value' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     internal static let lock = NSLock()
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:28:14: warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | /// Inquire as to whether we are within a Unit Testing environment.
 27 | #if DEBUG
 28 | internal var isUnitTesting: Bool = {
    |              |- warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isUnitTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isUnitTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     // this will work on apple platforms, but fail on linux.
 30 |     if NSClassFromString("XCTestCase") != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:50:14: warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 | #endif
 49 |
 50 | internal var isAppExtension: Bool = {
    |              |- warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isAppExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isAppExtension' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |     if Bundle.main.bundlePath.hasSuffix(".appex") {
 52 |         return true
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/iso8601.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum SegmentISO8601DateFormatter {
11 |     static let shared: ISO8601DateFormatter = {
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = ISO8601DateFormatter()
13 |         formatter.formatOptions.update(with: .withFractionalSeconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Waiting.swift:62:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
60 |     internal func startProcessingAfterTimeout() {
61 |         DispatchQueue.main.async { [weak self] in
62 |             guard let self else { return }
   |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
63 |             self.processingTimer?.cancel()
64 |             self.processingTimer = DispatchWorkItem { [weak self] in
[68/86] Compiling Segment Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/UserAgent.swift:38:33: warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     #endif
37 |
38 |     @Atomic internal static var _value: String = ""
   |                                 |- warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert '_value' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property '_value' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     internal static let lock = NSLock()
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:28:14: warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | /// Inquire as to whether we are within a Unit Testing environment.
 27 | #if DEBUG
 28 | internal var isUnitTesting: Bool = {
    |              |- warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isUnitTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isUnitTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     // this will work on apple platforms, but fail on linux.
 30 |     if NSClassFromString("XCTestCase") != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:50:14: warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 | #endif
 49 |
 50 | internal var isAppExtension: Bool = {
    |              |- warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isAppExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isAppExtension' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |     if Bundle.main.bundlePath.hasSuffix(".appex") {
 52 |         return true
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/iso8601.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum SegmentISO8601DateFormatter {
11 |     static let shared: ISO8601DateFormatter = {
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = ISO8601DateFormatter()
13 |         formatter.formatOptions.update(with: .withFractionalSeconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Waiting.swift:62:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
60 |     internal func startProcessingAfterTimeout() {
61 |         DispatchQueue.main.async { [weak self] in
62 |             guard let self else { return }
   |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
63 |             self.processingTimer?.cancel()
64 |             self.processingTimer = DispatchWorkItem { [weak self] in
[69/86] Compiling Segment iso8601.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/UserAgent.swift:38:33: warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     #endif
37 |
38 |     @Atomic internal static var _value: String = ""
   |                                 |- warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert '_value' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property '_value' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     internal static let lock = NSLock()
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:28:14: warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | /// Inquire as to whether we are within a Unit Testing environment.
 27 | #if DEBUG
 28 | internal var isUnitTesting: Bool = {
    |              |- warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isUnitTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isUnitTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     // this will work on apple platforms, but fail on linux.
 30 |     if NSClassFromString("XCTestCase") != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:50:14: warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 | #endif
 49 |
 50 | internal var isAppExtension: Bool = {
    |              |- warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isAppExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isAppExtension' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |     if Bundle.main.bundlePath.hasSuffix(".appex") {
 52 |         return true
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/iso8601.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum SegmentISO8601DateFormatter {
11 |     static let shared: ISO8601DateFormatter = {
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = ISO8601DateFormatter()
13 |         formatter.formatOptions.update(with: .withFractionalSeconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Waiting.swift:62:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
60 |     internal func startProcessingAfterTimeout() {
61 |         DispatchQueue.main.async { [weak self] in
62 |             guard let self else { return }
   |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
63 |             self.processingTimer?.cancel()
64 |             self.processingTimer = DispatchWorkItem { [weak self] in
[70/86] Compiling Segment Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/UserAgent.swift:38:33: warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     #endif
37 |
38 |     @Atomic internal static var _value: String = ""
   |                                 |- warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert '_value' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property '_value' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     internal static let lock = NSLock()
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:28:14: warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | /// Inquire as to whether we are within a Unit Testing environment.
 27 | #if DEBUG
 28 | internal var isUnitTesting: Bool = {
    |              |- warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isUnitTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isUnitTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     // this will work on apple platforms, but fail on linux.
 30 |     if NSClassFromString("XCTestCase") != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:50:14: warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 | #endif
 49 |
 50 | internal var isAppExtension: Bool = {
    |              |- warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isAppExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isAppExtension' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |     if Bundle.main.bundlePath.hasSuffix(".appex") {
 52 |         return true
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/iso8601.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum SegmentISO8601DateFormatter {
11 |     static let shared: ISO8601DateFormatter = {
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = ISO8601DateFormatter()
13 |         formatter.formatOptions.update(with: .withFractionalSeconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Waiting.swift:62:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
60 |     internal func startProcessingAfterTimeout() {
61 |         DispatchQueue.main.async { [weak self] in
62 |             guard let self else { return }
   |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
63 |             self.processingTimer?.cancel()
64 |             self.processingTimer = DispatchWorkItem { [weak self] in
[71/86] Compiling Segment Waiting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/UserAgent.swift:38:33: warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     #endif
37 |
38 |     @Atomic internal static var _value: String = ""
   |                                 |- warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert '_value' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property '_value' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     internal static let lock = NSLock()
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:28:14: warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | /// Inquire as to whether we are within a Unit Testing environment.
 27 | #if DEBUG
 28 | internal var isUnitTesting: Bool = {
    |              |- warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isUnitTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isUnitTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     // this will work on apple platforms, but fail on linux.
 30 |     if NSClassFromString("XCTestCase") != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:50:14: warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 | #endif
 49 |
 50 | internal var isAppExtension: Bool = {
    |              |- warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isAppExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isAppExtension' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |     if Bundle.main.bundlePath.hasSuffix(".appex") {
 52 |         return true
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/iso8601.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum SegmentISO8601DateFormatter {
11 |     static let shared: ISO8601DateFormatter = {
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = ISO8601DateFormatter()
13 |         formatter.formatOptions.update(with: .withFractionalSeconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Waiting.swift:62:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
60 |     internal func startProcessingAfterTimeout() {
61 |         DispatchQueue.main.async { [weak self] in
62 |             guard let self else { return }
   |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
63 |             self.processingTimer?.cancel()
64 |             self.processingTimer = DispatchWorkItem { [weak self] in
[72/86] Compiling Segment resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/UserAgent.swift:38:33: warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |     #endif
37 |
38 |     @Atomic internal static var _value: String = ""
   |                                 |- warning: static property '_value' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                                 |- note: convert '_value' to a 'let' constant to make 'Sendable' shared state immutable
   |                                 |- note: add '@MainActor' to make static property '_value' part of global actor 'MainActor'
   |                                 `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |     internal static let lock = NSLock()
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:28:14: warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 | /// Inquire as to whether we are within a Unit Testing environment.
 27 | #if DEBUG
 28 | internal var isUnitTesting: Bool = {
    |              |- warning: var 'isUnitTesting' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isUnitTesting' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isUnitTesting' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     // this will work on apple platforms, but fail on linux.
 30 |     if NSClassFromString("XCTestCase") != nil {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Utils.swift:50:14: warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 48 | #endif
 49 |
 50 | internal var isAppExtension: Bool = {
    |              |- warning: var 'isAppExtension' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'isAppExtension' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: add '@MainActor' to make var 'isAppExtension' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |     if Bundle.main.bundlePath.hasSuffix(".appex") {
 52 |         return true
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/iso8601.swift:11:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | enum SegmentISO8601DateFormatter {
11 |     static let shared: ISO8601DateFormatter = {
   |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |         let formatter = ISO8601DateFormatter()
13 |         formatter.formatOptions.update(with: .withFractionalSeconds)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Waiting.swift:62:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
60 |     internal func startProcessingAfterTimeout() {
61 |         DispatchQueue.main.async { [weak self] in
62 |             guard let self else { return }
   |                       |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                       `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
63 |             self.processingTimer?.cancel()
64 |             self.processingTimer = DispatchWorkItem { [weak self] in
[73/86] Compiling Segment Settings.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/CompletionGroup.swift:50:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
48 |         case .asynchronous:
49 |             queue.async {
50 |                 task()
   |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 |             }
52 |         }
[74/86] Compiling Segment Startup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/CompletionGroup.swift:50:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
48 |         case .asynchronous:
49 |             queue.async {
50 |                 task()
   |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 |             }
52 |         }
[75/86] Compiling Segment State.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/CompletionGroup.swift:50:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
48 |         case .asynchronous:
49 |             queue.async {
50 |                 task()
   |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 |             }
52 |         }
[76/86] Compiling Segment Timeline.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/CompletionGroup.swift:50:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
48 |         case .asynchronous:
49 |             queue.async {
50 |                 task()
   |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 |             }
52 |         }
[77/86] Compiling Segment Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/CompletionGroup.swift:50:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
48 |         case .asynchronous:
49 |             queue.async {
50 |                 task()
   |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 |             }
52 |         }
[78/86] Compiling Segment Atomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/CompletionGroup.swift:50:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
48 |         case .asynchronous:
49 |             queue.async {
50 |                 task()
   |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 |             }
52 |         }
[79/86] Compiling Segment CompletionGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/CompletionGroup.swift:50:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
48 |         case .asynchronous:
49 |             queue.async {
50 |                 task()
   |                 |- warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
51 |             }
52 |         }
[80/86] Compiling Segment macOSLifecycleEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:15:16: warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
    |                |- warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'versionKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'versionKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var buildKey = "SEGBuildKeyV2"
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:16:16: warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
 16 |     static var buildKey = "SEGBuildKeyV2"
    |                |- warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buildKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buildKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     let type = PluginType.before
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:46:16: warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | class macOSLifecycleMonitor: PlatformPlugin {
 46 |     static var specificName = "Segment_macOSLifecycleMonitor"
    |                |- warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'specificName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'specificName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     let type = PluginType.utility
 48 |     let name = specificName
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:69:42: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 67 |
 68 |     required init() {
 69 |         self.application = NSApplication.shared
    |                                          `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 70 |         setupListeners()
 71 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/AppleUtils.swift:327:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
322 | // MARK: -- Connection Status stuff
323 |
324 | internal class ConnectionMonitor {
    |                `- note: class 'ConnectionMonitor' does not conform to the 'Sendable' protocol
325 |     private var timer: QueueTimer? = nil
326 |
327 |     static let shared = ConnectionMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |     @Atomic var connectionStatus: ConnectionStatus = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/VendorSystem.swift:72:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |     }
71 |
72 |     static var current: VendorSystem = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |         #if os(iOS) || os(tvOS) || os(visionOS) || targetEnvironment(macCatalyst)
74 |         return iOSVendorSystem()
[81/86] Compiling Segment macOSLifecycleMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:15:16: warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
    |                |- warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'versionKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'versionKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var buildKey = "SEGBuildKeyV2"
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:16:16: warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
 16 |     static var buildKey = "SEGBuildKeyV2"
    |                |- warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buildKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buildKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     let type = PluginType.before
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:46:16: warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | class macOSLifecycleMonitor: PlatformPlugin {
 46 |     static var specificName = "Segment_macOSLifecycleMonitor"
    |                |- warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'specificName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'specificName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     let type = PluginType.utility
 48 |     let name = specificName
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:69:42: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 67 |
 68 |     required init() {
 69 |         self.application = NSApplication.shared
    |                                          `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 70 |         setupListeners()
 71 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/AppleUtils.swift:327:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
322 | // MARK: -- Connection Status stuff
323 |
324 | internal class ConnectionMonitor {
    |                `- note: class 'ConnectionMonitor' does not conform to the 'Sendable' protocol
325 |     private var timer: QueueTimer? = nil
326 |
327 |     static let shared = ConnectionMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |     @Atomic var connectionStatus: ConnectionStatus = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/VendorSystem.swift:72:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |     }
71 |
72 |     static var current: VendorSystem = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |         #if os(iOS) || os(tvOS) || os(visionOS) || targetEnvironment(macCatalyst)
74 |         return iOSVendorSystem()
[82/86] Compiling Segment AppleUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:15:16: warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
    |                |- warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'versionKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'versionKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var buildKey = "SEGBuildKeyV2"
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:16:16: warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
 16 |     static var buildKey = "SEGBuildKeyV2"
    |                |- warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buildKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buildKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     let type = PluginType.before
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:46:16: warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | class macOSLifecycleMonitor: PlatformPlugin {
 46 |     static var specificName = "Segment_macOSLifecycleMonitor"
    |                |- warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'specificName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'specificName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     let type = PluginType.utility
 48 |     let name = specificName
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:69:42: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 67 |
 68 |     required init() {
 69 |         self.application = NSApplication.shared
    |                                          `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 70 |         setupListeners()
 71 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/AppleUtils.swift:327:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
322 | // MARK: -- Connection Status stuff
323 |
324 | internal class ConnectionMonitor {
    |                `- note: class 'ConnectionMonitor' does not conform to the 'Sendable' protocol
325 |     private var timer: QueueTimer? = nil
326 |
327 |     static let shared = ConnectionMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |     @Atomic var connectionStatus: ConnectionStatus = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/VendorSystem.swift:72:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |     }
71 |
72 |     static var current: VendorSystem = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |         #if os(iOS) || os(tvOS) || os(visionOS) || targetEnvironment(macCatalyst)
74 |         return iOSVendorSystem()
[83/86] Compiling Segment LinuxUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:15:16: warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
    |                |- warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'versionKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'versionKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var buildKey = "SEGBuildKeyV2"
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:16:16: warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
 16 |     static var buildKey = "SEGBuildKeyV2"
    |                |- warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buildKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buildKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     let type = PluginType.before
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:46:16: warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | class macOSLifecycleMonitor: PlatformPlugin {
 46 |     static var specificName = "Segment_macOSLifecycleMonitor"
    |                |- warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'specificName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'specificName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     let type = PluginType.utility
 48 |     let name = specificName
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:69:42: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 67 |
 68 |     required init() {
 69 |         self.application = NSApplication.shared
    |                                          `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 70 |         setupListeners()
 71 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/AppleUtils.swift:327:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
322 | // MARK: -- Connection Status stuff
323 |
324 | internal class ConnectionMonitor {
    |                `- note: class 'ConnectionMonitor' does not conform to the 'Sendable' protocol
325 |     private var timer: QueueTimer? = nil
326 |
327 |     static let shared = ConnectionMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |     @Atomic var connectionStatus: ConnectionStatus = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/VendorSystem.swift:72:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |     }
71 |
72 |     static var current: VendorSystem = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |         #if os(iOS) || os(tvOS) || os(visionOS) || targetEnvironment(macCatalyst)
74 |         return iOSVendorSystem()
[84/86] Compiling Segment VendorSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:15:16: warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
    |                |- warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'versionKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'versionKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var buildKey = "SEGBuildKeyV2"
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:16:16: warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
 16 |     static var buildKey = "SEGBuildKeyV2"
    |                |- warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buildKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buildKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     let type = PluginType.before
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:46:16: warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | class macOSLifecycleMonitor: PlatformPlugin {
 46 |     static var specificName = "Segment_macOSLifecycleMonitor"
    |                |- warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'specificName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'specificName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     let type = PluginType.utility
 48 |     let name = specificName
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:69:42: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 67 |
 68 |     required init() {
 69 |         self.application = NSApplication.shared
    |                                          `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 70 |         setupListeners()
 71 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/AppleUtils.swift:327:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
322 | // MARK: -- Connection Status stuff
323 |
324 | internal class ConnectionMonitor {
    |                `- note: class 'ConnectionMonitor' does not conform to the 'Sendable' protocol
325 |     private var timer: QueueTimer? = nil
326 |
327 |     static let shared = ConnectionMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |     @Atomic var connectionStatus: ConnectionStatus = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/VendorSystem.swift:72:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |     }
71 |
72 |     static var current: VendorSystem = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |         #if os(iOS) || os(tvOS) || os(visionOS) || targetEnvironment(macCatalyst)
74 |         return iOSVendorSystem()
[85/86] Compiling Segment WindowsUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:15:16: warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
    |                |- warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'versionKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'versionKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var buildKey = "SEGBuildKeyV2"
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:16:16: warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
 16 |     static var buildKey = "SEGBuildKeyV2"
    |                |- warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buildKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buildKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     let type = PluginType.before
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:46:16: warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | class macOSLifecycleMonitor: PlatformPlugin {
 46 |     static var specificName = "Segment_macOSLifecycleMonitor"
    |                |- warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'specificName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'specificName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     let type = PluginType.utility
 48 |     let name = specificName
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:69:42: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 67 |
 68 |     required init() {
 69 |         self.application = NSApplication.shared
    |                                          `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 70 |         setupListeners()
 71 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/AppleUtils.swift:327:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
322 | // MARK: -- Connection Status stuff
323 |
324 | internal class ConnectionMonitor {
    |                `- note: class 'ConnectionMonitor' does not conform to the 'Sendable' protocol
325 |     private var timer: QueueTimer? = nil
326 |
327 |     static let shared = ConnectionMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |     @Atomic var connectionStatus: ConnectionStatus = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/VendorSystem.swift:72:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |     }
71 |
72 |     static var current: VendorSystem = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |         #if os(iOS) || os(tvOS) || os(visionOS) || targetEnvironment(macCatalyst)
74 |         return iOSVendorSystem()
[86/86] Compiling Segment iOSDelegation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:15:16: warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
    |                |- warning: static property 'versionKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'versionKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'versionKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     static var buildKey = "SEGBuildKeyV2"
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleEvents.swift:16:16: warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | class macOSLifecycleEvents: PlatformPlugin, macOSLifecycle {
 15 |     static var versionKey = "SEGVersionKey"
 16 |     static var buildKey = "SEGBuildKeyV2"
    |                |- warning: static property 'buildKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'buildKey' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'buildKey' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 |     let type = PluginType.before
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:46:16: warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 44 |
 45 | class macOSLifecycleMonitor: PlatformPlugin {
 46 |     static var specificName = "Segment_macOSLifecycleMonitor"
    |                |- warning: static property 'specificName' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'specificName' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'specificName' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |     let type = PluginType.utility
 48 |     let name = specificName
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Mac/macOSLifecycleMonitor.swift:69:42: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 67 |
 68 |     required init() {
 69 |         self.application = NSApplication.shared
    |                                          `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 70 |         setupListeners()
 71 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/AppleUtils.swift:327:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
322 | // MARK: -- Connection Status stuff
323 |
324 | internal class ConnectionMonitor {
    |                `- note: class 'ConnectionMonitor' does not conform to the 'Sendable' protocol
325 |     private var timer: QueueTimer? = nil
326 |
327 |     static let shared = ConnectionMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ConnectionMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 |     @Atomic var connectionStatus: ConnectionStatus = .unknown
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Platforms/Vendors/VendorSystem.swift:72:16: warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 |     }
71 |
72 |     static var current: VendorSystem = {
   |                |- warning: static property 'current' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'current' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |         #if os(iOS) || os(tvOS) || os(visionOS) || targetEnvironment(macCatalyst)
74 |         return iOSVendorSystem()
Build complete! (15.93s)
Fetching https://github.com/segmentio/sovran-swift.git
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
[1/388] Fetching sovran-swift
[21/481] Fetching sovran-swift, jsonsafeencoding-swift
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.75s)
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.76s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (4.23s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.62s)
Creating working copy for https://github.com/segmentio/jsonsafeencoding-swift.git
Working copy of https://github.com/segmentio/jsonsafeencoding-swift.git resolved at 2.0.0
Creating working copy for https://github.com/segmentio/sovran-swift.git
Working copy of https://github.com/segmentio/sovran-swift.git resolved at 1.1.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "sovran-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/segmentio/sovran-swift.git"
    },
    {
      "identity" : "jsonsafeencoding-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/segmentio/jsonsafeencoding-swift.git"
    }
  ],
  "manifest_display_name" : "Segment",
  "name" : "Segment",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.1"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Segment",
      "targets" : [
        "Segment"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Segment_Tests",
      "module_type" : "SwiftTarget",
      "name" : "Segment-Tests",
      "path" : "Tests/Segment-Tests",
      "sources" : [
        "Analytics_Tests.swift",
        "Atomic_Tests.swift",
        "BackgroundFlush_Tests.swift",
        "CheckSettingsConcurrency_Tests.swift",
        "CheckSettingsDebounce_Tests.swift",
        "CompletionGroup_Tests.swift",
        "DirectoryStore_Hardening_Tests.swift",
        "FlushPolicy_Tests.swift",
        "HTTPClient_Tests.swift",
        "JSON_Tests.swift",
        "KeyPath_Tests.swift",
        "MemoryLeak_Tests.swift",
        "ObjC_Tests.swift",
        "Retry_Tests/FlushData_Tests.swift",
        "Retry_Tests/FlushFiles_Tests.swift",
        "Retry_Tests/HttpConfig_Tests.swift",
        "Retry_Tests/RetryAfterGenericTests.swift",
        "Retry_Tests/RetryChain_Tests.swift",
        "Retry_Tests/RetryStateMachine_Tests.swift",
        "Retry_Tests/RetryState_Tests.swift",
        "Retry_Tests/RetryTypes_Tests.swift",
        "Retry_Tests/Storage_RetryState_Tests.swift",
        "RunOnce_Tests.swift",
        "SegmentDestination_Tests.swift",
        "Storage_Tests.swift",
        "StressTests.swift",
        "Support/TestUtilities.swift",
        "Telemetry_Tests.swift",
        "Timeline_Tests.swift",
        "UserAgentTests.swift",
        "Waiting_Tests.swift",
        "WindowsVendorSystem_Tests.swift",
        "XCTestManifests.swift",
        "iOSLifecycle_Tests.swift"
      ],
      "target_dependencies" : [
        "Segment"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Segment",
      "module_type" : "SwiftTarget",
      "name" : "Segment",
      "path" : "Sources/Segment",
      "product_dependencies" : [
        "Sovran",
        "JSONSafeEncoding"
      ],
      "product_memberships" : [
        "Segment"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Segment/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Analytics.swift",
        "Configuration.swift",
        "Deprecations.swift",
        "Errors.swift",
        "Events.swift",
        "ObjC/ObjCAnalytics.swift",
        "ObjC/ObjCConfiguration.swift",
        "ObjC/ObjCEvents.swift",
        "ObjC/ObjCPlugin.swift",
        "Plugins.swift",
        "Plugins/Context.swift",
        "Plugins/DestinationMetadataPlugin.swift",
        "Plugins/DeviceToken.swift",
        "Plugins/Platforms/Linux/LinuxLifecycleMonitor.swift",
        "Plugins/Platforms/Mac/macOSLifecycleEvents.swift",
        "Plugins/Platforms/Mac/macOSLifecycleMonitor.swift",
        "Plugins/Platforms/Vendors/AppleUtils.swift",
        "Plugins/Platforms/Vendors/LinuxUtils.swift",
        "Plugins/Platforms/Vendors/VendorSystem.swift",
        "Plugins/Platforms/Vendors/WindowsUtils.swift",
        "Plugins/Platforms/iOS/iOSDelegation.swift",
        "Plugins/Platforms/iOS/iOSLifecycleEvents.swift",
        "Plugins/Platforms/iOS/iOSLifecycleMonitor.swift",
        "Plugins/Platforms/watchOS/watchOSDelegation.swift",
        "Plugins/Platforms/watchOS/watchOSLifecycleEvents.swift",
        "Plugins/Platforms/watchOS/watchOSLifecycleMonitor.swift",
        "Plugins/SegmentDestination.swift",
        "Plugins/StartupQueue.swift",
        "Settings.swift",
        "Startup.swift",
        "State.swift",
        "Timeline.swift",
        "Types.swift",
        "Utilities/Atomic.swift",
        "Utilities/CompletionGroup.swift",
        "Utilities/JSON.swift",
        "Utilities/JSONKeyPath.swift",
        "Utilities/Logging.swift",
        "Utilities/Networking/HTTPClient.swift",
        "Utilities/Networking/HTTPSession+Apple.swift",
        "Utilities/Networking/HTTPSession.swift",
        "Utilities/Noncodable.swift",
        "Utilities/OutputFileStream.swift",
        "Utilities/Policies/CountBasedFlushPolicy.swift",
        "Utilities/Policies/FlushPolicy.swift",
        "Utilities/Policies/IntervalBasedFlushPolicy.swift",
        "Utilities/QueueTimer.swift",
        "Utilities/Retry/HttpConfig.swift",
        "Utilities/Retry/RetryState.swift",
        "Utilities/Retry/RetryStateMachine.swift",
        "Utilities/Retry/RetryTypes.swift",
        "Utilities/Retry/TimeProvider.swift",
        "Utilities/RunOnce.swift",
        "Utilities/Storage/DataStore.swift",
        "Utilities/Storage/Storage.swift",
        "Utilities/Storage/TransientDB.swift",
        "Utilities/Storage/Types/DirectoryStore.swift",
        "Utilities/Storage/Types/MemoryStore.swift",
        "Utilities/Storage/Utilities/FileHandleExt.swift",
        "Utilities/Storage/Utilities/LineStream.swift",
        "Utilities/Telemetry.swift",
        "Utilities/UserAgent.swift",
        "Utilities/Utils.swift",
        "Utilities/iso8601.swift",
        "Version.swift",
        "Waiting.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.