The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CioAnalytics, reference main (b5f805), with Swift 6.1 for macOS (SPM) on 2 Apr 2026 13:36:51 UTC.

Swift 6 data race errors: 20

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

 67 |         }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:90:23: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
 88 |
 89 |         let dataTask = session.uploadTask(with: urlRequest, from: data) { [weak self] (data, response, error) in
 90 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 91 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
 92 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:91:102: warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 89 |         let dataTask = session.uploadTask(with: urlRequest, from: data) { [weak self] (data, response, error) in
 90 |             guard let self else { return }
 91 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
    |                                                                                                      |- warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |         }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:131:17: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
129 |         let dataTask = session.dataTask(with: urlRequest) { [weak self] (data, response, error) in
130 |             if let error = error {
131 |                 self?.analytics?.reportInternalError(AnalyticsError.settingsFail(AnalyticsError.networkUnknown(settingsURL, error)))
    |                 `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
132 |                 completion(false, nil)
133 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:132:17: warning: capture of 'completion' with non-sendable type '(Bool, Settings?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |             if let error = error {
131 |                 self?.analytics?.reportInternalError(AnalyticsError.settingsFail(AnalyticsError.networkUnknown(settingsURL, error)))
132 |                 completion(false, nil)
    |                 |- warning: capture of 'completion' with non-sendable type '(Bool, Settings?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
133 |                 return
134 |             }
[27/77] Compiling CioAnalytics HTTPSession+Apple.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/KeyPath.swift:48:25: warning: static property 'handlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |     }
 47 |
 48 |     internal static var handlers: [KeyPathHandler] = [PathHandler(), IfHandler(), BasicHandler()]
    |                         |- warning: static property 'handlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'handlers' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'handlers' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     static func register(_ handler: KeyPathHandler) { handlers.insert(handler, at: 0) }
 50 |     static func handlerFor(keyPath: KeyPath, input: Any?) -> KeyPathHandler? {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:65:23: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
 63 |
 64 |         let dataTask = session.uploadTask(with: urlRequest, fromFile: batch) { [weak self] (data, response, error) in
 65 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:66:102: warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 64 |         let dataTask = session.uploadTask(with: urlRequest, fromFile: batch) { [weak self] (data, response, error) in
 65 |             guard let self else { return }
 66 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
    |                                                                                                      |- warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |         }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:90:23: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
 88 |
 89 |         let dataTask = session.uploadTask(with: urlRequest, from: data) { [weak self] (data, response, error) in
 90 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 91 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
 92 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:91:102: warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 89 |         let dataTask = session.uploadTask(with: urlRequest, from: data) { [weak self] (data, response, error) in
 90 |             guard let self else { return }
 91 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
    |                                                                                                      |- warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |         }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:131:17: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
129 |         let dataTask = session.dataTask(with: urlRequest) { [weak self] (data, response, error) in
130 |             if let error = error {
131 |                 self?.analytics?.reportInternalError(AnalyticsError.settingsFail(AnalyticsError.networkUnknown(settingsURL, error)))
    |                 `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
132 |                 completion(false, nil)
133 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:132:17: warning: capture of 'completion' with non-sendable type '(Bool, Settings?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |             if let error = error {
131 |                 self?.analytics?.reportInternalError(AnalyticsError.settingsFail(AnalyticsError.networkUnknown(settingsURL, error)))
132 |                 completion(false, nil)
    |                 |- warning: capture of 'completion' with non-sendable type '(Bool, Settings?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
133 |                 return
134 |             }
[28/77] Compiling CioAnalytics HTTPSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/KeyPath.swift:48:25: warning: static property 'handlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |     }
 47 |
 48 |     internal static var handlers: [KeyPathHandler] = [PathHandler(), IfHandler(), BasicHandler()]
    |                         |- warning: static property 'handlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'handlers' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'handlers' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     static func register(_ handler: KeyPathHandler) { handlers.insert(handler, at: 0) }
 50 |     static func handlerFor(keyPath: KeyPath, input: Any?) -> KeyPathHandler? {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:65:23: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
 63 |
 64 |         let dataTask = session.uploadTask(with: urlRequest, fromFile: batch) { [weak self] (data, response, error) in
 65 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:66:102: warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 64 |         let dataTask = session.uploadTask(with: urlRequest, fromFile: batch) { [weak self] (data, response, error) in
 65 |             guard let self else { return }
 66 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
    |                                                                                                      |- warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |         }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:90:23: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
 88 |
 89 |         let dataTask = session.uploadTask(with: urlRequest, from: data) { [weak self] (data, response, error) in
 90 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 91 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
 92 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:91:102: warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 89 |         let dataTask = session.uploadTask(with: urlRequest, from: data) { [weak self] (data, response, error) in
 90 |             guard let self else { return }
 91 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
    |                                                                                                      |- warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |         }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:131:17: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
129 |         let dataTask = session.dataTask(with: urlRequest) { [weak self] (data, response, error) in
130 |             if let error = error {
131 |                 self?.analytics?.reportInternalError(AnalyticsError.settingsFail(AnalyticsError.networkUnknown(settingsURL, error)))
    |                 `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
132 |                 completion(false, nil)
133 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:132:17: warning: capture of 'completion' with non-sendable type '(Bool, Settings?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |             if let error = error {
131 |                 self?.analytics?.reportInternalError(AnalyticsError.settingsFail(AnalyticsError.networkUnknown(settingsURL, error)))
132 |                 completion(false, nil)
    |                 |- warning: capture of 'completion' with non-sendable type '(Bool, Settings?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
133 |                 return
134 |             }
[29/77] Compiling CioAnalytics Noncodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/KeyPath.swift:48:25: warning: static property 'handlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |     }
 47 |
 48 |     internal static var handlers: [KeyPathHandler] = [PathHandler(), IfHandler(), BasicHandler()]
    |                         |- warning: static property 'handlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'handlers' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'handlers' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     static func register(_ handler: KeyPathHandler) { handlers.insert(handler, at: 0) }
 50 |     static func handlerFor(keyPath: KeyPath, input: Any?) -> KeyPathHandler? {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:65:23: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
 63 |
 64 |         let dataTask = session.uploadTask(with: urlRequest, fromFile: batch) { [weak self] (data, response, error) in
 65 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 66 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:66:102: warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 64 |         let dataTask = session.uploadTask(with: urlRequest, fromFile: batch) { [weak self] (data, response, error) in
 65 |             guard let self else { return }
 66 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
    |                                                                                                      |- warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 67 |         }
 68 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:90:23: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
 88 |
 89 |         let dataTask = session.uploadTask(with: urlRequest, from: data) { [weak self] (data, response, error) in
 90 |             guard let self else { return }
    |                       `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 91 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
 92 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:91:102: warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 89 |         let dataTask = session.uploadTask(with: urlRequest, from: data) { [weak self] (data, response, error) in
 90 |             guard let self else { return }
 91 |             handleResponse(data: data, response: response, error: error, url: uploadURL, completion: completion)
    |                                                                                                      |- warning: capture of 'completion' with non-sendable type '(Result<Bool, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                      `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 92 |         }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:131:17: warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 | }
 19 |
 20 | public class HTTPClient {
    |              `- note: class 'HTTPClient' does not conform to the 'Sendable' protocol
 21 |     private static let defaultAPIHost = "api.segment.io/v1"
 22 |     private static let defaultCDNHost = "cdn-settings.segment.com/v1"
    :
129 |         let dataTask = session.dataTask(with: urlRequest) { [weak self] (data, response, error) in
130 |             if let error = error {
131 |                 self?.analytics?.reportInternalError(AnalyticsError.settingsFail(AnalyticsError.networkUnknown(settingsURL, error)))
    |                 `- warning: capture of 'self' with non-sendable type 'HTTPClient?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
132 |                 completion(false, nil)
133 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Networking/HTTPClient.swift:132:17: warning: capture of 'completion' with non-sendable type '(Bool, Settings?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |             if let error = error {
131 |                 self?.analytics?.reportInternalError(AnalyticsError.settingsFail(AnalyticsError.networkUnknown(settingsURL, error)))
132 |                 completion(false, nil)
    |                 |- warning: capture of 'completion' with non-sendable type '(Bool, Settings?) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
133 |                 return
134 |             }
[30/77] Emitting module CioAnalytics
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:25: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
 23 |
 24 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 25 |     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
 26 |
 27 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30: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
 28 |
 29 |     static internal let deadInstance = "DEADINSTANCE"
 30 |     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
 31 |
 32 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:32: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
 30 |     static internal weak var firstInstance: Analytics? = nil
 31 |
 32 |     @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
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Context.swift:23:25: warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     internal var staticContext = staticContextData()
 23 |     internal static var device = VendorSystem.current
    |                         |- warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'device' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     internal let instanceId = UUID().uuidString
 25 |
/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/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()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:58:16: warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |     case object([String: JSON])
 57 |
 58 |     static var jsonNonConformingNumberStrategy: JSONSafeEncoder.NonConformingFloatEncodingStrategy = .zero
    |                |- warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonNonConformingNumberStrategy' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonNonConformingNumberStrategy' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     internal enum JSONError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:564:16: warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
562 | fileprivate extension NSNumber {
563 |     static let trueValue = NSNumber(value: true)
564 |     static let trueObjCType = trueValue.objCType
    |                |- warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'trueObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:566:16: warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
564 |     static let trueObjCType = trueValue.objCType
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
    |                |- warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'falseObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 |
568 |     func isBool() -> Bool {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/KeyPath.swift:48:25: warning: static property 'handlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |     }
 47 |
 48 |     internal static var handlers: [KeyPathHandler] = [PathHandler(), IfHandler(), BasicHandler()]
    |                         |- warning: static property 'handlers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'handlers' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'handlers' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 49 |     static func register(_ handler: KeyPathHandler) { handlers.insert(handler, at: 0) }
 50 |     static func handlerFor(keyPath: KeyPath, input: Any?) -> KeyPathHandler? {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/QueueTimer.swift:23:16: warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |     @Atomic var state: State = .suspended
22 |
23 |     static var timers = [QueueTimer]()
   |                |- warning: static property 'timers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'timers' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'timers' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 |     static func schedule(interval: TimeInterval, immediate: Bool = false, queue: DispatchQueue = .main, handler: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/Types/DirectoryStore.swift:11:25: warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | public class DirectoryStore: DataStore {
 11 |     internal static var fileValidator: ((URL) -> Void)? = nil
    |                         |- warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'fileValidator' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'fileValidator' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     public typealias StoreConfiguration = Configuration
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' 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
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
 37 |     public static let INVOKE_METRIC = "\(METRICS_BASE_TAG).invoke"
/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;
[31/77] Compiling CioAnalytics Storage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:50:27: warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
 7 | import Foundation
 8 |
 9 | public class TransientDB {
   |              `- note: class 'TransientDB' does not conform to the 'Sendable' protocol
10 |     // our data store
11 |     internal let store: any DataStore
   :
48 |         if asyncAppend {
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
   |                           `- warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
51 |                 store.append(data: data)
52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:51:36: warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
51 |                 store.append(data: data)
   |                                    `- warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
52 |             }
53 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Types.swift:21:17: note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 19 | // MARK: - Event Types
 20 |
 21 | public protocol RawEvent: Codable {
    |                 `- note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 22 |     var enrichments: [EnrichmentClosure]? { get set }
 23 |     var type: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/Types/DirectoryStore.swift:11:25: warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | public class DirectoryStore: DataStore {
 11 |     internal static var fileValidator: ((URL) -> Void)? = nil
    |                         |- warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'fileValidator' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'fileValidator' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     public typealias StoreConfiguration = Configuration
[32/77] Compiling CioAnalytics TransientDB.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:50:27: warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
 7 | import Foundation
 8 |
 9 | public class TransientDB {
   |              `- note: class 'TransientDB' does not conform to the 'Sendable' protocol
10 |     // our data store
11 |     internal let store: any DataStore
   :
48 |         if asyncAppend {
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
   |                           `- warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
51 |                 store.append(data: data)
52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:51:36: warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
51 |                 store.append(data: data)
   |                                    `- warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
52 |             }
53 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Types.swift:21:17: note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 19 | // MARK: - Event Types
 20 |
 21 | public protocol RawEvent: Codable {
    |                 `- note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 22 |     var enrichments: [EnrichmentClosure]? { get set }
 23 |     var type: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/Types/DirectoryStore.swift:11:25: warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | public class DirectoryStore: DataStore {
 11 |     internal static var fileValidator: ((URL) -> Void)? = nil
    |                         |- warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'fileValidator' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'fileValidator' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     public typealias StoreConfiguration = Configuration
[33/77] Compiling CioAnalytics DirectoryStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:50:27: warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
 7 | import Foundation
 8 |
 9 | public class TransientDB {
   |              `- note: class 'TransientDB' does not conform to the 'Sendable' protocol
10 |     // our data store
11 |     internal let store: any DataStore
   :
48 |         if asyncAppend {
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
   |                           `- warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
51 |                 store.append(data: data)
52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:51:36: warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
51 |                 store.append(data: data)
   |                                    `- warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
52 |             }
53 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Types.swift:21:17: note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 19 | // MARK: - Event Types
 20 |
 21 | public protocol RawEvent: Codable {
    |                 `- note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 22 |     var enrichments: [EnrichmentClosure]? { get set }
 23 |     var type: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/Types/DirectoryStore.swift:11:25: warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | public class DirectoryStore: DataStore {
 11 |     internal static var fileValidator: ((URL) -> Void)? = nil
    |                         |- warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'fileValidator' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'fileValidator' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     public typealias StoreConfiguration = Configuration
[34/77] Compiling CioAnalytics MemoryStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:50:27: warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
 7 | import Foundation
 8 |
 9 | public class TransientDB {
   |              `- note: class 'TransientDB' does not conform to the 'Sendable' protocol
10 |     // our data store
11 |     internal let store: any DataStore
   :
48 |         if asyncAppend {
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
   |                           `- warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
51 |                 store.append(data: data)
52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:51:36: warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
51 |                 store.append(data: data)
   |                                    `- warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
52 |             }
53 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Types.swift:21:17: note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 19 | // MARK: - Event Types
 20 |
 21 | public protocol RawEvent: Codable {
    |                 `- note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 22 |     var enrichments: [EnrichmentClosure]? { get set }
 23 |     var type: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/Types/DirectoryStore.swift:11:25: warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | public class DirectoryStore: DataStore {
 11 |     internal static var fileValidator: ((URL) -> Void)? = nil
    |                         |- warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'fileValidator' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'fileValidator' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     public typealias StoreConfiguration = Configuration
[35/77] Compiling CioAnalytics FileHandleExt.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:50:27: warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
 7 | import Foundation
 8 |
 9 | public class TransientDB {
   |              `- note: class 'TransientDB' does not conform to the 'Sendable' protocol
10 |     // our data store
11 |     internal let store: any DataStore
   :
48 |         if asyncAppend {
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
   |                           `- warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
51 |                 store.append(data: data)
52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:51:36: warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
51 |                 store.append(data: data)
   |                                    `- warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
52 |             }
53 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Types.swift:21:17: note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 19 | // MARK: - Event Types
 20 |
 21 | public protocol RawEvent: Codable {
    |                 `- note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 22 |     var enrichments: [EnrichmentClosure]? { get set }
 23 |     var type: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/Types/DirectoryStore.swift:11:25: warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | public class DirectoryStore: DataStore {
 11 |     internal static var fileValidator: ((URL) -> Void)? = nil
    |                         |- warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'fileValidator' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'fileValidator' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     public typealias StoreConfiguration = Configuration
[36/77] Compiling CioAnalytics LineStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:50:27: warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
 7 | import Foundation
 8 |
 9 | public class TransientDB {
   |              `- note: class 'TransientDB' does not conform to the 'Sendable' protocol
10 |     // our data store
11 |     internal let store: any DataStore
   :
48 |         if asyncAppend {
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
   |                           `- warning: capture of 'self' with non-sendable type 'TransientDB?' in a '@Sendable' closure
51 |                 store.append(data: data)
52 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/TransientDB.swift:51:36: warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
49 |             syncQueue.async { [weak self] in
50 |                 guard let self else { return }
51 |                 store.append(data: data)
   |                                    `- warning: capture of 'data' with non-sendable type 'any RawEvent' in a '@Sendable' closure
52 |             }
53 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Types.swift:21:17: note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 19 | // MARK: - Event Types
 20 |
 21 | public protocol RawEvent: Codable {
    |                 `- note: protocol 'RawEvent' does not conform to the 'Sendable' protocol
 22 |     var enrichments: [EnrichmentClosure]? { get set }
 23 |     var type: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Storage/Types/DirectoryStore.swift:11:25: warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  9 |
 10 | public class DirectoryStore: DataStore {
 11 |     internal static var fileValidator: ((URL) -> Void)? = nil
    |                         |- warning: static property 'fileValidator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'fileValidator' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'fileValidator' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 12 |
 13 |     public typealias StoreConfiguration = Configuration
[37/77] Compiling CioAnalytics Analytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:25: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
 23 |
 24 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 25 |     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
 26 |
 27 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30: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
 28 |
 29 |     static internal let deadInstance = "DEADINSTANCE"
 30 |     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
 31 |
 32 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:32: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
 30 |     static internal weak var firstInstance: Analytics? = nil
 31 |
 32 |     @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
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:482:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
480 |         case .asynchronous:
481 |             queue.async {
482 |                 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'
483 |             }
484 |         case .synchronous:
[38/77] Compiling CioAnalytics Configuration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:25: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
 23 |
 24 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 25 |     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
 26 |
 27 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30: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
 28 |
 29 |     static internal let deadInstance = "DEADINSTANCE"
 30 |     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
 31 |
 32 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:32: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
 30 |     static internal weak var firstInstance: Analytics? = nil
 31 |
 32 |     @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
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:482:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
480 |         case .asynchronous:
481 |             queue.async {
482 |                 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'
483 |             }
484 |         case .synchronous:
[39/77] Compiling CioAnalytics Deprecations.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:25: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
 23 |
 24 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 25 |     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
 26 |
 27 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30: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
 28 |
 29 |     static internal let deadInstance = "DEADINSTANCE"
 30 |     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
 31 |
 32 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:32: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
 30 |     static internal weak var firstInstance: Analytics? = nil
 31 |
 32 |     @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
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:482:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
480 |         case .asynchronous:
481 |             queue.async {
482 |                 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'
483 |             }
484 |         case .synchronous:
[40/77] Compiling CioAnalytics Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:25: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
 23 |
 24 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 25 |     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
 26 |
 27 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30: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
 28 |
 29 |     static internal let deadInstance = "DEADINSTANCE"
 30 |     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
 31 |
 32 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:32: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
 30 |     static internal weak var firstInstance: Analytics? = nil
 31 |
 32 |     @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
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:482:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
480 |         case .asynchronous:
481 |             queue.async {
482 |                 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'
483 |             }
484 |         case .synchronous:
[41/77] Compiling CioAnalytics Events.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:25: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
 23 |
 24 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 25 |     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
 26 |
 27 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30: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
 28 |
 29 |     static internal let deadInstance = "DEADINSTANCE"
 30 |     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
 31 |
 32 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:32: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
 30 |     static internal weak var firstInstance: Analytics? = nil
 31 |
 32 |     @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
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:482:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
480 |         case .asynchronous:
481 |             queue.async {
482 |                 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'
483 |             }
484 |         case .synchronous:
[42/77] Compiling CioAnalytics ObjCAnalytics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:25: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
 23 |
 24 |     /// Enabled/disables debug logging to trace your data going through the SDK.
 25 |     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
 26 |
 27 |     public var timeline: Timeline
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:30: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
 28 |
 29 |     static internal let deadInstance = "DEADINSTANCE"
 30 |     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
 31 |
 32 |     @Atomic static internal var activeWriteKeys = [String]()
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:32: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
 30 |     static internal weak var firstInstance: Analytics? = nil
 31 |
 32 |     @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
 33 |
 34 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Analytics.swift:482:17: warning: capture of 'task' with non-sendable type '() -> Void' in a '@Sendable' closure
480 |         case .asynchronous:
481 |             queue.async {
482 |                 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'
483 |             }
484 |         case .synchronous:
[43/77] Compiling CioAnalytics VendorSystem.swift
/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()
[44/77] Compiling CioAnalytics WindowsUtils.swift
/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()
[45/77] Compiling CioAnalytics iOSDelegation.swift
/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()
[46/77] Compiling CioAnalytics iOSLifecycleEvents.swift
/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()
[47/77] Compiling CioAnalytics iOSLifecycleMonitor.swift
/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()
[48/77] Compiling CioAnalytics watchOSDelegation.swift
/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()
[49/77] Compiling CioAnalytics ObjCConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Context.swift:23:25: warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     internal var staticContext = staticContextData()
 23 |     internal static var device = VendorSystem.current
    |                         |- warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'device' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     internal let instanceId = UUID().uuidString
 25 |
[50/77] Compiling CioAnalytics ObjCEvents.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Context.swift:23:25: warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     internal var staticContext = staticContextData()
 23 |     internal static var device = VendorSystem.current
    |                         |- warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'device' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     internal let instanceId = UUID().uuidString
 25 |
[51/77] Compiling CioAnalytics ObjCPlugin.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Context.swift:23:25: warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     internal var staticContext = staticContextData()
 23 |     internal static var device = VendorSystem.current
    |                         |- warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'device' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     internal let instanceId = UUID().uuidString
 25 |
[52/77] Compiling CioAnalytics Plugins.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Context.swift:23:25: warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     internal var staticContext = staticContextData()
 23 |     internal static var device = VendorSystem.current
    |                         |- warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'device' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     internal let instanceId = UUID().uuidString
 25 |
[53/77] Compiling CioAnalytics Context.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Context.swift:23:25: warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     internal var staticContext = staticContextData()
 23 |     internal static var device = VendorSystem.current
    |                         |- warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'device' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     internal let instanceId = UUID().uuidString
 25 |
[54/77] Compiling CioAnalytics DestinationMetadataPlugin.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Plugins/Context.swift:23:25: warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 21 |
 22 |     internal var staticContext = staticContextData()
 23 |     internal static var device = VendorSystem.current
    |                         |- warning: static property 'device' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: convert 'device' to a 'let' constant to make 'Sendable' shared state immutable
    |                         |- note: add '@MainActor' to make static property 'device' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     internal let instanceId = UUID().uuidString
 25 |
[55/77] Compiling CioAnalytics Telemetry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' 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
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
 37 |     public static let INVOKE_METRIC = "\(METRICS_BASE_TAG).invoke"
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:209:17: warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
    :
207 |         let task = session.dataTask(with: request) { data, response, error in
208 |             if let error = error {
209 |                 self.errorHandler?(error)
    |                 `- warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
210 |                 return
211 |             }
/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;
[56/77] Compiling CioAnalytics UserAgent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' 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
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
 37 |     public static let INVOKE_METRIC = "\(METRICS_BASE_TAG).invoke"
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:209:17: warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
    :
207 |         let task = session.dataTask(with: request) { data, response, error in
208 |             if let error = error {
209 |                 self.errorHandler?(error)
    |                 `- warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
210 |                 return
211 |             }
/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;
[57/77] Compiling CioAnalytics Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' 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
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
 37 |     public static let INVOKE_METRIC = "\(METRICS_BASE_TAG).invoke"
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:209:17: warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
    :
207 |         let task = session.dataTask(with: request) { data, response, error in
208 |             if let error = error {
209 |                 self.errorHandler?(error)
    |                 `- warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
210 |                 return
211 |             }
/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;
[58/77] Compiling CioAnalytics iso8601.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' 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
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
 37 |     public static let INVOKE_METRIC = "\(METRICS_BASE_TAG).invoke"
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:209:17: warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
    :
207 |         let task = session.dataTask(with: request) { data, response, error in
208 |             if let error = error {
209 |                 self.errorHandler?(error)
    |                 `- warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
210 |                 return
211 |             }
/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;
[59/77] Compiling CioAnalytics Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Telemetry' 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
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
 37 |     public static let INVOKE_METRIC = "\(METRICS_BASE_TAG).invoke"
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/Telemetry.swift:209:17: warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 32 | /// Errors are sent with a write key, which can be disabled by setting Telemetry.shared.sendWriteKeyOnError to false.
 33 | /// All data is downsampled and no PII is collected.
 34 | public class Telemetry: Subscriber {
    |              `- note: class 'Telemetry' does not conform to the 'Sendable' protocol
 35 |     public static let shared = Telemetry(session: HTTPSessions.urlSession())
 36 |     private static let METRICS_BASE_TAG = "analytics_mobile"
    :
207 |         let task = session.dataTask(with: request) { data, response, error in
208 |             if let error = error {
209 |                 self.errorHandler?(error)
    |                 `- warning: capture of 'self' with non-sendable type 'Telemetry' in a '@Sendable' closure; this is an error in the Swift 6 language mode
210 |                 return
211 |             }
/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;
[60/77] Compiling CioAnalytics 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 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:58:16: warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |     case object([String: JSON])
 57 |
 58 |     static var jsonNonConformingNumberStrategy: JSONSafeEncoder.NonConformingFloatEncodingStrategy = .zero
    |                |- warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonNonConformingNumberStrategy' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonNonConformingNumberStrategy' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     internal enum JSONError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:564:16: warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
562 | fileprivate extension NSNumber {
563 |     static let trueValue = NSNumber(value: true)
564 |     static let trueObjCType = trueValue.objCType
    |                |- warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'trueObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:566:16: warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
564 |     static let trueObjCType = trueValue.objCType
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
    |                |- warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'falseObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 |
568 |     func isBool() -> Bool {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[61/77] Compiling CioAnalytics 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 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:58:16: warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |     case object([String: JSON])
 57 |
 58 |     static var jsonNonConformingNumberStrategy: JSONSafeEncoder.NonConformingFloatEncodingStrategy = .zero
    |                |- warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonNonConformingNumberStrategy' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonNonConformingNumberStrategy' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     internal enum JSONError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:564:16: warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
562 | fileprivate extension NSNumber {
563 |     static let trueValue = NSNumber(value: true)
564 |     static let trueObjCType = trueValue.objCType
    |                |- warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'trueObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:566:16: warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
564 |     static let trueObjCType = trueValue.objCType
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
    |                |- warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'falseObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 |
568 |     func isBool() -> Bool {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[62/77] Compiling CioAnalytics 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 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:58:16: warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |     case object([String: JSON])
 57 |
 58 |     static var jsonNonConformingNumberStrategy: JSONSafeEncoder.NonConformingFloatEncodingStrategy = .zero
    |                |- warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonNonConformingNumberStrategy' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonNonConformingNumberStrategy' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     internal enum JSONError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:564:16: warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
562 | fileprivate extension NSNumber {
563 |     static let trueValue = NSNumber(value: true)
564 |     static let trueObjCType = trueValue.objCType
    |                |- warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'trueObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:566:16: warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
564 |     static let trueObjCType = trueValue.objCType
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
    |                |- warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'falseObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 |
568 |     func isBool() -> Bool {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[63/77] Compiling CioAnalytics 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 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:58:16: warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |     case object([String: JSON])
 57 |
 58 |     static var jsonNonConformingNumberStrategy: JSONSafeEncoder.NonConformingFloatEncodingStrategy = .zero
    |                |- warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonNonConformingNumberStrategy' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonNonConformingNumberStrategy' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     internal enum JSONError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:564:16: warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
562 | fileprivate extension NSNumber {
563 |     static let trueValue = NSNumber(value: true)
564 |     static let trueObjCType = trueValue.objCType
    |                |- warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'trueObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:566:16: warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
564 |     static let trueObjCType = trueValue.objCType
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
    |                |- warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'falseObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 |
568 |     func isBool() -> Bool {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[64/77] Compiling CioAnalytics 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 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:58:16: warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |     case object([String: JSON])
 57 |
 58 |     static var jsonNonConformingNumberStrategy: JSONSafeEncoder.NonConformingFloatEncodingStrategy = .zero
    |                |- warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonNonConformingNumberStrategy' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonNonConformingNumberStrategy' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     internal enum JSONError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:564:16: warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
562 | fileprivate extension NSNumber {
563 |     static let trueValue = NSNumber(value: true)
564 |     static let trueObjCType = trueValue.objCType
    |                |- warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'trueObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:566:16: warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
564 |     static let trueObjCType = trueValue.objCType
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
    |                |- warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'falseObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 |
568 |     func isBool() -> Bool {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[65/77] Compiling CioAnalytics JSON.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 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:58:16: warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 56 |     case object([String: JSON])
 57 |
 58 |     static var jsonNonConformingNumberStrategy: JSONSafeEncoder.NonConformingFloatEncodingStrategy = .zero
    |                |- warning: static property 'jsonNonConformingNumberStrategy' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'jsonNonConformingNumberStrategy' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'jsonNonConformingNumberStrategy' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 59 |
 60 |     internal enum JSONError: Error {
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:564:16: warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
562 | fileprivate extension NSNumber {
563 |     static let trueValue = NSNumber(value: true)
564 |     static let trueObjCType = trueValue.objCType
    |                |- warning: static property 'trueObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'trueObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/Segment/Utilities/JSON.swift:566:16: warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
564 |     static let trueObjCType = trueValue.objCType
565 |     static let falseValue = NSNumber(value: false)
566 |     static let falseObjCType = falseValue.objCType
    |                |- warning: static property 'falseObjCType' is not concurrency-safe because non-'Sendable' type 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'falseObjCType' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
567 |
568 |     func isBool() -> Bool {
Swift.UnsafePointer:1:23: note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
  |                       `- note: generic struct 'UnsafePointer' does not conform to the 'Sendable' protocol
2 |     public let _rawValue: Builtin.RawPointer
3 |     public init(_ _rawValue: Builtin.RawPointer)
[66/77] Compiling CioAnalytics watchOSLifecycleEvents.swift
[67/77] Compiling CioAnalytics watchOSLifecycleMonitor.swift
[68/77] Compiling CioAnalytics SegmentDestination.swift
[69/77] Compiling CioAnalytics StartupQueue.swift
[70/77] Compiling CioAnalytics Settings.swift
[71/77] Compiling CioAnalytics Startup.swift
[72/77] Compiling CioAnalytics DeviceToken.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
[73/77] Compiling CioAnalytics LinuxLifecycleMonitor.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
[74/77] Compiling CioAnalytics 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
[75/77] Compiling CioAnalytics 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
[76/77] Compiling CioAnalytics 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
[77/77] Compiling CioAnalytics 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
Build complete! (15.11s)
Fetching https://github.com/segmentio/sovran-swift.git
Fetching https://github.com/segmentio/jsonsafeencoding-swift.git
[1/371] Fetching sovran-swift
[94/448] Fetching sovran-swift, jsonsafeencoding-swift
Fetched https://github.com/segmentio/jsonsafeencoding-swift.git from cache (0.65s)
Fetched https://github.com/segmentio/sovran-swift.git from cache (0.65s)
Computing version for https://github.com/segmentio/jsonsafeencoding-swift.git
Computed https://github.com/segmentio/jsonsafeencoding-swift.git at 2.0.0 (4.22s)
Computing version for https://github.com/segmentio/sovran-swift.git
Computed https://github.com/segmentio/sovran-swift.git at 1.1.2 (0.60s)
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
warning: 'spi-builder-workspace': Invalid Resource 'Segment/Resources': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Segment/Resources/PrivacyInfo.xcprivacy
Build complete.
{
  "dependencies" : [
    {
      "identity" : "sovran-swift",
      "requirement" : {
        "exact" : [
          "1.1.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/segmentio/sovran-swift.git"
    },
    {
      "identity" : "jsonsafeencoding-swift",
      "requirement" : {
        "exact" : [
          "2.0.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/segmentio/jsonsafeencoding-swift.git"
    }
  ],
  "manifest_display_name" : "CioAnalytics",
  "name" : "CioAnalytics",
  "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" : "CioAnalytics",
      "targets" : [
        "CioAnalytics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CioAnalytics_Tests",
      "module_type" : "SwiftTarget",
      "name" : "CioAnalytics-Tests",
      "path" : "Tests",
      "sources" : [
        "Segment-Tests/Analytics_Tests.swift",
        "Segment-Tests/Atomic_Tests.swift",
        "Segment-Tests/CompletionGroup_Tests.swift",
        "Segment-Tests/FlushPolicy_Tests.swift",
        "Segment-Tests/HTTPClient_Tests.swift",
        "Segment-Tests/JSON_Tests.swift",
        "Segment-Tests/KeyPath_Tests.swift",
        "Segment-Tests/MemoryLeak_Tests.swift",
        "Segment-Tests/ObjC_Tests.swift",
        "Segment-Tests/Storage_Tests.swift",
        "Segment-Tests/StressTests.swift",
        "Segment-Tests/Support/TestUtilities.swift",
        "Segment-Tests/Telemetry_Tests.swift",
        "Segment-Tests/Timeline_Tests.swift",
        "Segment-Tests/UserAgentTests.swift",
        "Segment-Tests/WindowsVendorSystem_Tests.swift",
        "Segment-Tests/XCTestManifests.swift",
        "Segment-Tests/iOSLifecycle_Tests.swift"
      ],
      "target_dependencies" : [
        "CioAnalytics"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CioAnalytics",
      "module_type" : "SwiftTarget",
      "name" : "CioAnalytics",
      "path" : "Sources/Segment",
      "product_dependencies" : [
        "Sovran",
        "JSONSafeEncoding"
      ],
      "product_memberships" : [
        "CioAnalytics"
      ],
      "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/KeyPath.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/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"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
warning: 'spi-builder-workspace': Invalid Resource 'Segment/Resources': File not found.
Done.