Build Information
Successful build of EmbraceIO, reference main (db82d3
), with Swift 6.1 for macOS (SPM) on 11 Sep 2025 21:53:02 UTC.
Swift 6 data race errors: 182
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
75 | kSecValueData: dataFromString
76 | ]
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/NSObject+Embrace.swift:14:20: warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension NSObject {
13 | private struct AssociatedKeys {
14 | static var embraceSpanKey: UInt8 = 8
| |- warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceSpanKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceSpanKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewContext.swift:20:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
19 | private struct EmbraceTraceEnvironmentKey: EnvironmentKey {
20 | static let defaultValue: EmbraceTraceViewContext = EmbraceTraceViewContext()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
:
36 | /// disappear) all refer to the same parent span until the cycle completes.
37 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
38 | final class EmbraceTraceViewContext {
| `- note: class 'EmbraceTraceViewContext' does not conform to the 'Sendable' protocol
39 | /// The parent span for the current render cycle. Reset to `nil` once ended.
40 | var firstCycleSpan: Span?
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewLogger' may have shared mutable state; this is an error in the Swift 6 language mode
17 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
18 | private struct EmbraceTraceViewLoggerEnvironmentKey: EnvironmentKey {
19 | static let defaultValue: EmbraceTraceViewLogger = EmbraceTraceViewLogger(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | otel: Embrace.client,
21 | logger: Embrace.logger,
:
44 | /// If any dependency (OTel client, configuration, etc.) is absent, tracing is effectively disabled.
45 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
46 | final class EmbraceTraceViewLogger {
| `- note: class 'EmbraceTraceViewLogger' does not conform to the 'Sendable' protocol
47 | // MARK: – Properties
48 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:197:13: warning: capture of 'self' with non-sendable type 'EmbraceTraceViewLogger' in a '@Sendable' closure
44 | /// If any dependency (OTel client, configuration, etc.) is absent, tracing is effectively disabled.
45 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
46 | final class EmbraceTraceViewLogger {
| `- note: class 'EmbraceTraceViewLogger' does not conform to the 'Sendable' protocol
47 | // MARK: – Properties
48 |
:
195 | // Schedule end-of-span on next main run loop cycle so child spans can attach
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
| `- warning: capture of 'self' with non-sendable type 'EmbraceTraceViewLogger' in a '@Sendable' closure
198 | completed()
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:197:21: warning: capture of 'span' with non-sendable type 'any Span' in a '@Sendable' closure
195 | // Schedule end-of-span on next main run loop cycle so child spans can attach
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
| `- warning: capture of 'span' with non-sendable type 'any Span' in a '@Sendable' closure
198 | completed()
199 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/Span.swift:107:17: note: protocol 'Span' does not conform to the 'Sendable' protocol
105 | /// Spans are created by the SpanBuilder.startSpan method.
106 | /// Span must be ended by calling end().
107 | public protocol Span: SpanBase, SpanExceptionRecorder {
| `- note: protocol 'Span' does not conform to the 'Sendable' protocol
108 | /// End the span.
109 | func end()
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
4 | //
5 |
6 | import OpenTelemetryApi
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
7 | import SwiftUI
8 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:198:13: warning: capture of 'completed' with non-sendable type '() -> Void' in a '@Sendable' closure
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
198 | completed()
| |- warning: capture of 'completed' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:19:16: warning: static property 'keychain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private init() {}
18 |
19 | static var keychain: KeychainInterface = DefaultKeychainInterface()
| |- warning: static property 'keychain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keychain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'keychain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var deviceId: UUID {
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:67:17: warning: capture of 'completion' with non-sendable type '(OSStatus) -> Void' (aka '(Int32) -> ()') in a '@Sendable' closure
65 | queue.async {
66 | guard let dataFromString = value.data(using: String.Encoding.utf8, allowLossyConversion: false) else {
67 | completion(errSecParam)
| |- warning: capture of 'completion' with non-sendable type '(OSStatus) -> Void' (aka '(Int32) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | return
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:73:34: warning: capture of 'service' with non-sendable type 'CFString' in a '@Sendable' closure
71 | let query: NSMutableDictionary = [
72 | kSecClass: kSecClassGenericPassword,
73 | kSecAttrService: service,
| `- warning: capture of 'service' with non-sendable type 'CFString' in a '@Sendable' closure
74 | kSecAttrAccount: account,
75 | kSecValueData: dataFromString
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 |
7 | protocol KeychainInterface {
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:74:34: warning: capture of 'account' with non-sendable type 'CFString' in a '@Sendable' closure
72 | kSecClass: kSecClassGenericPassword,
73 | kSecAttrService: service,
74 | kSecAttrAccount: account,
| `- warning: capture of 'account' with non-sendable type 'CFString' in a '@Sendable' closure
75 | kSecValueData: dataFromString
76 | ]
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/NSObject+Embrace.swift:14:20: warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension NSObject {
13 | private struct AssociatedKeys {
14 | static var embraceSpanKey: UInt8 = 8
| |- warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceSpanKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceSpanKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewContext.swift:20:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
19 | private struct EmbraceTraceEnvironmentKey: EnvironmentKey {
20 | static let defaultValue: EmbraceTraceViewContext = EmbraceTraceViewContext()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
:
36 | /// disappear) all refer to the same parent span until the cycle completes.
37 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
38 | final class EmbraceTraceViewContext {
| `- note: class 'EmbraceTraceViewContext' does not conform to the 'Sendable' protocol
39 | /// The parent span for the current render cycle. Reset to `nil` once ended.
40 | var firstCycleSpan: Span?
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewLogger' may have shared mutable state; this is an error in the Swift 6 language mode
17 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
18 | private struct EmbraceTraceViewLoggerEnvironmentKey: EnvironmentKey {
19 | static let defaultValue: EmbraceTraceViewLogger = EmbraceTraceViewLogger(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | otel: Embrace.client,
21 | logger: Embrace.logger,
:
44 | /// If any dependency (OTel client, configuration, etc.) is absent, tracing is effectively disabled.
45 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
46 | final class EmbraceTraceViewLogger {
| `- note: class 'EmbraceTraceViewLogger' does not conform to the 'Sendable' protocol
47 | // MARK: – Properties
48 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:197:13: warning: capture of 'self' with non-sendable type 'EmbraceTraceViewLogger' in a '@Sendable' closure
44 | /// If any dependency (OTel client, configuration, etc.) is absent, tracing is effectively disabled.
45 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
46 | final class EmbraceTraceViewLogger {
| `- note: class 'EmbraceTraceViewLogger' does not conform to the 'Sendable' protocol
47 | // MARK: – Properties
48 |
:
195 | // Schedule end-of-span on next main run loop cycle so child spans can attach
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
| `- warning: capture of 'self' with non-sendable type 'EmbraceTraceViewLogger' in a '@Sendable' closure
198 | completed()
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:197:21: warning: capture of 'span' with non-sendable type 'any Span' in a '@Sendable' closure
195 | // Schedule end-of-span on next main run loop cycle so child spans can attach
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
| `- warning: capture of 'span' with non-sendable type 'any Span' in a '@Sendable' closure
198 | completed()
199 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/Span.swift:107:17: note: protocol 'Span' does not conform to the 'Sendable' protocol
105 | /// Spans are created by the SpanBuilder.startSpan method.
106 | /// Span must be ended by calling end().
107 | public protocol Span: SpanBase, SpanExceptionRecorder {
| `- note: protocol 'Span' does not conform to the 'Sendable' protocol
108 | /// End the span.
109 | func end()
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
4 | //
5 |
6 | import OpenTelemetryApi
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
7 | import SwiftUI
8 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:198:13: warning: capture of 'completed' with non-sendable type '() -> Void' in a '@Sendable' closure
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
198 | completed()
| |- warning: capture of 'completed' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:19:16: warning: static property 'keychain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private init() {}
18 |
19 | static var keychain: KeychainInterface = DefaultKeychainInterface()
| |- warning: static property 'keychain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keychain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'keychain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var deviceId: UUID {
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:67:17: warning: capture of 'completion' with non-sendable type '(OSStatus) -> Void' (aka '(Int32) -> ()') in a '@Sendable' closure
65 | queue.async {
66 | guard let dataFromString = value.data(using: String.Encoding.utf8, allowLossyConversion: false) else {
67 | completion(errSecParam)
| |- warning: capture of 'completion' with non-sendable type '(OSStatus) -> Void' (aka '(Int32) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | return
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:73:34: warning: capture of 'service' with non-sendable type 'CFString' in a '@Sendable' closure
71 | let query: NSMutableDictionary = [
72 | kSecClass: kSecClassGenericPassword,
73 | kSecAttrService: service,
| `- warning: capture of 'service' with non-sendable type 'CFString' in a '@Sendable' closure
74 | kSecAttrAccount: account,
75 | kSecValueData: dataFromString
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 |
7 | protocol KeychainInterface {
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:74:34: warning: capture of 'account' with non-sendable type 'CFString' in a '@Sendable' closure
72 | kSecClass: kSecClassGenericPassword,
73 | kSecAttrService: service,
74 | kSecAttrAccount: account,
| `- warning: capture of 'account' with non-sendable type 'CFString' in a '@Sendable' closure
75 | kSecValueData: dataFromString
76 | ]
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/NSObject+Embrace.swift:14:20: warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension NSObject {
13 | private struct AssociatedKeys {
14 | static var embraceSpanKey: UInt8 = 8
| |- warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceSpanKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceSpanKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewContext.swift:20:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
19 | private struct EmbraceTraceEnvironmentKey: EnvironmentKey {
20 | static let defaultValue: EmbraceTraceViewContext = EmbraceTraceViewContext()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
:
36 | /// disappear) all refer to the same parent span until the cycle completes.
37 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
38 | final class EmbraceTraceViewContext {
| `- note: class 'EmbraceTraceViewContext' does not conform to the 'Sendable' protocol
39 | /// The parent span for the current render cycle. Reset to `nil` once ended.
40 | var firstCycleSpan: Span?
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewLogger' may have shared mutable state; this is an error in the Swift 6 language mode
17 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
18 | private struct EmbraceTraceViewLoggerEnvironmentKey: EnvironmentKey {
19 | static let defaultValue: EmbraceTraceViewLogger = EmbraceTraceViewLogger(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | otel: Embrace.client,
21 | logger: Embrace.logger,
:
44 | /// If any dependency (OTel client, configuration, etc.) is absent, tracing is effectively disabled.
45 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
46 | final class EmbraceTraceViewLogger {
| `- note: class 'EmbraceTraceViewLogger' does not conform to the 'Sendable' protocol
47 | // MARK: – Properties
48 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:197:13: warning: capture of 'self' with non-sendable type 'EmbraceTraceViewLogger' in a '@Sendable' closure
44 | /// If any dependency (OTel client, configuration, etc.) is absent, tracing is effectively disabled.
45 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
46 | final class EmbraceTraceViewLogger {
| `- note: class 'EmbraceTraceViewLogger' does not conform to the 'Sendable' protocol
47 | // MARK: – Properties
48 |
:
195 | // Schedule end-of-span on next main run loop cycle so child spans can attach
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
| `- warning: capture of 'self' with non-sendable type 'EmbraceTraceViewLogger' in a '@Sendable' closure
198 | completed()
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:197:21: warning: capture of 'span' with non-sendable type 'any Span' in a '@Sendable' closure
195 | // Schedule end-of-span on next main run loop cycle so child spans can attach
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
| `- warning: capture of 'span' with non-sendable type 'any Span' in a '@Sendable' closure
198 | completed()
199 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/Span.swift:107:17: note: protocol 'Span' does not conform to the 'Sendable' protocol
105 | /// Spans are created by the SpanBuilder.startSpan method.
106 | /// Span must be ended by calling end().
107 | public protocol Span: SpanBase, SpanExceptionRecorder {
| `- note: protocol 'Span' does not conform to the 'Sendable' protocol
108 | /// End the span.
109 | func end()
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
4 | //
5 |
6 | import OpenTelemetryApi
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
7 | import SwiftUI
8 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:198:13: warning: capture of 'completed' with non-sendable type '() -> Void' in a '@Sendable' closure
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
198 | completed()
| |- warning: capture of 'completed' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:19:16: warning: static property 'keychain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private init() {}
18 |
19 | static var keychain: KeychainInterface = DefaultKeychainInterface()
| |- warning: static property 'keychain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keychain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'keychain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var deviceId: UUID {
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:67:17: warning: capture of 'completion' with non-sendable type '(OSStatus) -> Void' (aka '(Int32) -> ()') in a '@Sendable' closure
65 | queue.async {
66 | guard let dataFromString = value.data(using: String.Encoding.utf8, allowLossyConversion: false) else {
67 | completion(errSecParam)
| |- warning: capture of 'completion' with non-sendable type '(OSStatus) -> Void' (aka '(Int32) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | return
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:73:34: warning: capture of 'service' with non-sendable type 'CFString' in a '@Sendable' closure
71 | let query: NSMutableDictionary = [
72 | kSecClass: kSecClassGenericPassword,
73 | kSecAttrService: service,
| `- warning: capture of 'service' with non-sendable type 'CFString' in a '@Sendable' closure
74 | kSecAttrAccount: account,
75 | kSecValueData: dataFromString
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 |
7 | protocol KeychainInterface {
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:74:34: warning: capture of 'account' with non-sendable type 'CFString' in a '@Sendable' closure
72 | kSecClass: kSecClassGenericPassword,
73 | kSecAttrService: service,
74 | kSecAttrAccount: account,
| `- warning: capture of 'account' with non-sendable type 'CFString' in a '@Sendable' closure
75 | kSecValueData: dataFromString
76 | ]
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/NSObject+Embrace.swift:14:20: warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension NSObject {
13 | private struct AssociatedKeys {
14 | static var embraceSpanKey: UInt8 = 8
| |- warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceSpanKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceSpanKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewContext.swift:20:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewContext' may have shared mutable state; this is an error in the Swift 6 language mode
18 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
19 | private struct EmbraceTraceEnvironmentKey: EnvironmentKey {
20 | static let defaultValue: EmbraceTraceViewContext = EmbraceTraceViewContext()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewContext' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
:
36 | /// disappear) all refer to the same parent span until the cycle completes.
37 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
38 | final class EmbraceTraceViewContext {
| `- note: class 'EmbraceTraceViewContext' does not conform to the 'Sendable' protocol
39 | /// The parent span for the current render cycle. Reset to `nil` once ended.
40 | var firstCycleSpan: Span?
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewLogger' may have shared mutable state; this is an error in the Swift 6 language mode
17 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
18 | private struct EmbraceTraceViewLoggerEnvironmentKey: EnvironmentKey {
19 | static let defaultValue: EmbraceTraceViewLogger = EmbraceTraceViewLogger(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EmbraceTraceViewLogger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | otel: Embrace.client,
21 | logger: Embrace.logger,
:
44 | /// If any dependency (OTel client, configuration, etc.) is absent, tracing is effectively disabled.
45 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
46 | final class EmbraceTraceViewLogger {
| `- note: class 'EmbraceTraceViewLogger' does not conform to the 'Sendable' protocol
47 | // MARK: – Properties
48 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:197:13: warning: capture of 'self' with non-sendable type 'EmbraceTraceViewLogger' in a '@Sendable' closure
44 | /// If any dependency (OTel client, configuration, etc.) is absent, tracing is effectively disabled.
45 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6.0, *)
46 | final class EmbraceTraceViewLogger {
| `- note: class 'EmbraceTraceViewLogger' does not conform to the 'Sendable' protocol
47 | // MARK: – Properties
48 |
:
195 | // Schedule end-of-span on next main run loop cycle so child spans can attach
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
| `- warning: capture of 'self' with non-sendable type 'EmbraceTraceViewLogger' in a '@Sendable' closure
198 | completed()
199 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:197:21: warning: capture of 'span' with non-sendable type 'any Span' in a '@Sendable' closure
195 | // Schedule end-of-span on next main run loop cycle so child spans can attach
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
| `- warning: capture of 'span' with non-sendable type 'any Span' in a '@Sendable' closure
198 | completed()
199 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/opentelemetry-swift-core/Sources/OpenTelemetryApi/Trace/Span.swift:107:17: note: protocol 'Span' does not conform to the 'Sendable' protocol
105 | /// Spans are created by the SpanBuilder.startSpan method.
106 | /// Span must be ended by calling end().
107 | public protocol Span: SpanBase, SpanExceptionRecorder {
| `- note: protocol 'Span' does not conform to the 'Sendable' protocol
108 | /// End the span.
109 | func end()
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
4 | //
5 |
6 | import OpenTelemetryApi
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OpenTelemetryApi'
7 | import SwiftUI
8 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/SwiftUI/Internal/EmbraceTraceViewLogger.swift:198:13: warning: capture of 'completed' with non-sendable type '() -> Void' in a '@Sendable' closure
196 | RunLoop.main.perform(inModes: [.common]) { [self] in
197 | endSpan(span)
198 | completed()
| |- warning: capture of 'completed' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
199 | }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:19:16: warning: static property 'keychain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private init() {}
18 |
19 | static var keychain: KeychainInterface = DefaultKeychainInterface()
| |- warning: static property 'keychain' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'keychain' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'keychain' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var deviceId: UUID {
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:67:17: warning: capture of 'completion' with non-sendable type '(OSStatus) -> Void' (aka '(Int32) -> ()') in a '@Sendable' closure
65 | queue.async {
66 | guard let dataFromString = value.data(using: String.Encoding.utf8, allowLossyConversion: false) else {
67 | completion(errSecParam)
| |- warning: capture of 'completion' with non-sendable type '(OSStatus) -> Void' (aka '(Int32) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
68 | return
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:73:34: warning: capture of 'service' with non-sendable type 'CFString' in a '@Sendable' closure
71 | let query: NSMutableDictionary = [
72 | kSecClass: kSecClassGenericPassword,
73 | kSecAttrService: service,
| `- warning: capture of 'service' with non-sendable type 'CFString' in a '@Sendable' closure
74 | kSecAttrAccount: account,
75 | kSecValueData: dataFromString
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
3 | //
4 |
5 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
6 |
7 | protocol KeychainInterface {
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainInterface.swift:74:34: warning: capture of 'account' with non-sendable type 'CFString' in a '@Sendable' closure
72 | kSecClass: kSecClassGenericPassword,
73 | kSecAttrService: service,
74 | kSecAttrAccount: account,
| `- warning: capture of 'account' with non-sendable type 'CFString' in a '@Sendable' closure
75 | kSecValueData: dataFromString
76 | ]
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString : _CFObject {
| `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/NSObject+Embrace.swift:14:20: warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension NSObject {
13 | private struct AssociatedKeys {
14 | static var embraceSpanKey: UInt8 = 8
| |- warning: static property 'embraceSpanKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceSpanKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceSpanKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
[1375/1463] Compiling EmbraceIO EmbraceCore+Export.swift
[1376/1463] Compiling EmbraceIO Options+CaptureService.swift
[1377/1463] Compiling EmbraceIO EmbraceCore+Export.swift
[1378/1463] Compiling EmbraceIO Options+CaptureService.swift
[1379/1463] Compiling EmbraceIO CaptureService+Helpers.swift
[1380/1463] Emitting module EmbraceIO
[1381/1463] Compiling EmbraceIO CaptureServiceBuilder.swift
[1382/1463] Compiling EmbraceIO CaptureService+Helpers.swift
[1383/1463] Emitting module EmbraceIO
[1384/1463] Compiling EmbraceIO CaptureServiceBuilder.swift
[1385/1463] Emitting module TestSupport
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:16:23: warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| `- warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/SessionIdentifier.swift:7:15: note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct SessionIdentifier: Equatable {
| `- note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
8 | let value: UUID
9 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
3 | //
4 |
5 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
6 | import Foundation
7 |
:
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| |- note: add '@MainActor' to make static property 'sessionId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:17:23: warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
17 | public static let processId = ProcessIdentifier(string: "12345678")
| |- warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'processId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let traceId = "traceId"
19 | public static let spanId = "spanId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/ProcessIdentifier.swift:7:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
8 | // this used to be a base 16 encoded UInt32,
9 | // so handling it as a string is currently required
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:22:23: warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let appId = "appId"
22 | public static let deviceId = DeviceIdentifier(string: "18EDB6CE90C2456B97CB91E0F5941CCA")!
| |- warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deviceId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let osVersion = "16.0"
24 | public static let sdkVersion = "00.1.00"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/DeviceIdentifier.swift:7:15: note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct DeviceIdentifier: Equatable {
| `- note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
8 |
9 | let value: UUID
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTSkip+Helpers.swift:31:13: warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | /// Sometimes a test just can't run more than once for N reasons, this helps skip it
30 | /// if run more than once without failing.
31 | private var _runCountMap: EmbraceMutex<[String: Int]> = EmbraceMutex([:])
| |- warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_runCountMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_runCountMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | extension XCTestCase {
33 | public func XCTSkipIfRunMoreThanOnce(_ function: String = #function) throws {
[1386/1466] Compiling TestSupport InMemorySpanProcessor.swift
[1387/1466] Compiling TestSupport TemporaryFilepathProvider.swift
[1388/1466] Compiling TestSupport TestConstants.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:16:23: warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| `- warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/SessionIdentifier.swift:7:15: note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct SessionIdentifier: Equatable {
| `- note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
8 | let value: UUID
9 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
3 | //
4 |
5 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
6 | import Foundation
7 |
:
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| |- note: add '@MainActor' to make static property 'sessionId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:17:23: warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
17 | public static let processId = ProcessIdentifier(string: "12345678")
| |- warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'processId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let traceId = "traceId"
19 | public static let spanId = "spanId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/ProcessIdentifier.swift:7:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
8 | // this used to be a base 16 encoded UInt32,
9 | // so handling it as a string is currently required
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:22:23: warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let appId = "appId"
22 | public static let deviceId = DeviceIdentifier(string: "18EDB6CE90C2456B97CB91E0F5941CCA")!
| |- warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deviceId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let osVersion = "16.0"
24 | public static let sdkVersion = "00.1.00"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/DeviceIdentifier.swift:7:15: note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct DeviceIdentifier: Equatable {
| `- note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
8 |
9 | let value: UUID
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:16:23: warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| `- warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/SessionIdentifier.swift:7:15: note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct SessionIdentifier: Equatable {
| `- note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
8 | let value: UUID
9 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
3 | //
4 |
5 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
6 | import Foundation
7 |
:
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| |- note: add '@MainActor' to make static property 'sessionId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:17:23: warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
17 | public static let processId = ProcessIdentifier(string: "12345678")
| |- warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'processId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let traceId = "traceId"
19 | public static let spanId = "spanId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/ProcessIdentifier.swift:7:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
8 | // this used to be a base 16 encoded UInt32,
9 | // so handling it as a string is currently required
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:22:23: warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let appId = "appId"
22 | public static let deviceId = DeviceIdentifier(string: "18EDB6CE90C2456B97CB91E0F5941CCA")!
| |- warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deviceId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let osVersion = "16.0"
24 | public static let sdkVersion = "00.1.00"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/DeviceIdentifier.swift:7:15: note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct DeviceIdentifier: Equatable {
| `- note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
8 |
9 | let value: UUID
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:16:23: warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| `- warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/SessionIdentifier.swift:7:15: note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct SessionIdentifier: Equatable {
| `- note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
8 | let value: UUID
9 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
3 | //
4 |
5 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
6 | import Foundation
7 |
:
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| |- note: add '@MainActor' to make static property 'sessionId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:17:23: warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
17 | public static let processId = ProcessIdentifier(string: "12345678")
| |- warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'processId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let traceId = "traceId"
19 | public static let spanId = "spanId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/ProcessIdentifier.swift:7:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
8 | // this used to be a base 16 encoded UInt32,
9 | // so handling it as a string is currently required
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:22:23: warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let appId = "appId"
22 | public static let deviceId = DeviceIdentifier(string: "18EDB6CE90C2456B97CB91E0F5941CCA")!
| |- warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deviceId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let osVersion = "16.0"
24 | public static let sdkVersion = "00.1.00"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/DeviceIdentifier.swift:7:15: note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct DeviceIdentifier: Equatable {
| `- note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
8 |
9 | let value: UUID
[1392/1469] Compiling TestSupport MockEmbraceOpenTelemetry.swift
[1393/1469] Compiling TestSupport MockEmbraceSDKStateProvider.swift
[1394/1469] Compiling TestSupport MockLogger.swift
[1395/1469] Compiling TestSupport MockQueue.swift
[1396/1469] Compiling TestSupport MockSpanProcessor.swift
[1397/1469] Compiling TestSupport MockLog.swift
[1398/1469] Compiling TestSupport MockMetadata.swift
[1399/1469] Compiling TestSupport MockSession.swift
[1400/1469] Compiling TestSupport InMemorySpanExporter.swift
[1401/1469] Emitting module TestSupport
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:16:23: warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| `- warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/SessionIdentifier.swift:7:15: note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct SessionIdentifier: Equatable {
| `- note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
8 | let value: UUID
9 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
3 | //
4 |
5 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
6 | import Foundation
7 |
:
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| |- note: add '@MainActor' to make static property 'sessionId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:17:23: warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
17 | public static let processId = ProcessIdentifier(string: "12345678")
| |- warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'processId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let traceId = "traceId"
19 | public static let spanId = "spanId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/ProcessIdentifier.swift:7:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
8 | // this used to be a base 16 encoded UInt32,
9 | // so handling it as a string is currently required
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:22:23: warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let appId = "appId"
22 | public static let deviceId = DeviceIdentifier(string: "18EDB6CE90C2456B97CB91E0F5941CCA")!
| |- warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deviceId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let osVersion = "16.0"
24 | public static let sdkVersion = "00.1.00"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/DeviceIdentifier.swift:7:15: note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct DeviceIdentifier: Equatable {
| `- note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
8 |
9 | let value: UUID
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTSkip+Helpers.swift:31:13: warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | /// Sometimes a test just can't run more than once for N reasons, this helps skip it
30 | /// if run more than once without failing.
31 | private var _runCountMap: EmbraceMutex<[String: Int]> = EmbraceMutex([:])
| |- warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_runCountMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_runCountMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | extension XCTestCase {
33 | public func XCTSkipIfRunMoreThanOnce(_ function: String = #function) throws {
[1402/1469] Compiling TestSupport CoreDataListener.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
[1403/1469] Compiling TestSupport CrashReporterContext+TestContext.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
[1404/1469] Compiling TestSupport EditableConfig.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
[1405/1469] Compiling TestSupport EmbraceHTTPMock.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:8:24: warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var testNameKey: UInt8 = 4
| |- warning: static property 'testNameKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testNameKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testNameKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var testName: String? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:32:24: warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public class EmbraceHTTPMock: URLProtocol {
31 |
32 | private static var mockedResponses = [String: MockResponse]()
| |- warning: static property 'mockedResponses' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockedResponses' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockedResponses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var requests = [String: [URLRequest]]()
34 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/EmbraceHTTPMock.swift:33:24: warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | private static var mockedResponses = [String: MockResponse]()
33 | private static var requests = [String: [URLRequest]]()
| |- warning: static property 'requests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'requests' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'requests' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Adds a mocked response for a given url
[1410/1469] Compiling TestSupport XCTestCase+Extension.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/IntegrationTestCase.swift:21:17: warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | override open func tearDownWithError() throws {
21 | Embrace.client = nil
| `- warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | if let baseURL = EmbraceFileSystem.rootURL() {
23 | try? FileManager.default.removeItem(at: baseURL)
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Embrace.swift:38:43: note: class property declared here
36 | This will be `nil` until the `setup` method is called, or if the setup process fails.
37 | */
38 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
39 |
40 | /// The `Embrace.Options` that were used to configure the SDK.
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
[1411/1469] Compiling TestSupport IntegrationTestCase.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/IntegrationTestCase.swift:21:17: warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | override open func tearDownWithError() throws {
21 | Embrace.client = nil
| `- warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | if let baseURL = EmbraceFileSystem.rootURL() {
23 | try? FileManager.default.removeItem(at: baseURL)
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Embrace.swift:38:43: note: class property declared here
36 | This will be `nil` until the `setup` method is called, or if the setup process fails.
37 | */
38 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
39 |
40 | /// The `Embrace.Options` that were used to configure the SDK.
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
[1412/1469] Compiling TestSupport ProxiedURLSessionProvider.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/IntegrationTestCase.swift:21:17: warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | override open func tearDownWithError() throws {
21 | Embrace.client = nil
| `- warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | if let baseURL = EmbraceFileSystem.rootURL() {
23 | try? FileManager.default.removeItem(at: baseURL)
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Embrace.swift:38:43: note: class property declared here
36 | This will be `nil` until the `setup` method is called, or if the setup process fails.
37 | */
38 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
39 |
40 | /// The `Embrace.Options` that were used to configure the SDK.
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
[1413/1469] Compiling TestSupport URL+MockResponse.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/IntegrationTestCase.swift:21:17: warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | override open func tearDownWithError() throws {
21 | Embrace.client = nil
| `- warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | if let baseURL = EmbraceFileSystem.rootURL() {
23 | try? FileManager.default.removeItem(at: baseURL)
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Embrace.swift:38:43: note: class property declared here
36 | This will be `nil` until the `setup` method is called, or if the setup process fails.
37 | */
38 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
39 |
40 | /// The `Embrace.Options` that were used to configure the SDK.
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
[1414/1469] Compiling TestSupport Dictionary+Extension.swift
[1415/1469] Compiling TestSupport EmbraceStorage+Extension.swift
[1416/1469] Compiling TestSupport Int+Extension.swift
[1417/1469] Compiling TestSupport String+Extension.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:16:23: warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| `- warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/SessionIdentifier.swift:7:15: note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct SessionIdentifier: Equatable {
| `- note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
8 | let value: UUID
9 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
3 | //
4 |
5 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
6 | import Foundation
7 |
:
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| |- note: add '@MainActor' to make static property 'sessionId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:17:23: warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
17 | public static let processId = ProcessIdentifier(string: "12345678")
| |- warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'processId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let traceId = "traceId"
19 | public static let spanId = "spanId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/ProcessIdentifier.swift:7:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
8 | // this used to be a base 16 encoded UInt32,
9 | // so handling it as a string is currently required
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:22:23: warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let appId = "appId"
22 | public static let deviceId = DeviceIdentifier(string: "18EDB6CE90C2456B97CB91E0F5941CCA")!
| |- warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deviceId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let osVersion = "16.0"
24 | public static let sdkVersion = "00.1.00"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/DeviceIdentifier.swift:7:15: note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct DeviceIdentifier: Equatable {
| `- note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
8 |
9 | let value: UUID
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:16:23: warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| `- warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/SessionIdentifier.swift:7:15: note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct SessionIdentifier: Equatable {
| `- note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
8 | let value: UUID
9 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
3 | //
4 |
5 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
6 | import Foundation
7 |
:
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| |- note: add '@MainActor' to make static property 'sessionId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:17:23: warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
17 | public static let processId = ProcessIdentifier(string: "12345678")
| |- warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'processId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let traceId = "traceId"
19 | public static let spanId = "spanId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/ProcessIdentifier.swift:7:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
8 | // this used to be a base 16 encoded UInt32,
9 | // so handling it as a string is currently required
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:22:23: warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let appId = "appId"
22 | public static let deviceId = DeviceIdentifier(string: "18EDB6CE90C2456B97CB91E0F5941CCA")!
| |- warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deviceId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let osVersion = "16.0"
24 | public static let sdkVersion = "00.1.00"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/DeviceIdentifier.swift:7:15: note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct DeviceIdentifier: Equatable {
| `- note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
8 |
9 | let value: UUID
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:16:23: warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| `- warning: static property 'sessionId' is not concurrency-safe because non-'Sendable' type 'SessionIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/SessionIdentifier.swift:7:15: note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct SessionIdentifier: Equatable {
| `- note: struct 'SessionIdentifier' does not conform to the 'Sendable' protocol
8 | let value: UUID
9 |
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:5:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
3 | //
4 |
5 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
6 | import Foundation
7 |
:
14 | public static let date = Date(timeIntervalSince1970: 0)
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
| |- note: add '@MainActor' to make static property 'sessionId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let processId = ProcessIdentifier(string: "12345678")
18 | public static let traceId = "traceId"
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:17:23: warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | public static let sessionId = SessionIdentifier(string: "18EDB6CE-90C2-456B-97CB-91E0F5941CCA")!
17 | public static let processId = ProcessIdentifier(string: "12345678")
| |- warning: static property 'processId' is not concurrency-safe because non-'Sendable' type 'ProcessIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'processId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let traceId = "traceId"
19 | public static let spanId = "spanId"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/ProcessIdentifier.swift:7:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
8 | // this used to be a base 16 encoded UInt32,
9 | // so handling it as a string is currently required
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/TestConstants.swift:22:23: warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let appId = "appId"
22 | public static let deviceId = DeviceIdentifier(string: "18EDB6CE90C2456B97CB91E0F5941CCA")!
| |- warning: static property 'deviceId' is not concurrency-safe because non-'Sendable' type 'DeviceIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'deviceId' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let osVersion = "16.0"
24 | public static let sdkVersion = "00.1.00"
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCommonInternal/Identifiers/DeviceIdentifier.swift:7:15: note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
5 | import Foundation
6 |
7 | public struct DeviceIdentifier: Equatable {
| `- note: struct 'DeviceIdentifier' does not conform to the 'Sendable' protocol
8 |
9 | let value: UUID
[1427/1469] Compiling TestSupport TimeInterval+Test.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTSkip+Helpers.swift:31:13: warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | /// Sometimes a test just can't run more than once for N reasons, this helps skip it
30 | /// if run more than once without failing.
31 | private var _runCountMap: EmbraceMutex<[String: Int]> = EmbraceMutex([:])
| |- warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_runCountMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_runCountMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | extension XCTestCase {
33 | public func XCTSkipIfRunMoreThanOnce(_ function: String = #function) throws {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:20:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
18 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
19 | do {
20 | if try block() {
| |- warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
[1428/1469] Compiling TestSupport XCTSkip+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTSkip+Helpers.swift:31:13: warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | /// Sometimes a test just can't run more than once for N reasons, this helps skip it
30 | /// if run more than once without failing.
31 | private var _runCountMap: EmbraceMutex<[String: Int]> = EmbraceMutex([:])
| |- warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_runCountMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_runCountMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | extension XCTestCase {
33 | public func XCTSkipIfRunMoreThanOnce(_ function: String = #function) throws {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:20:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
18 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
19 | do {
20 | if try block() {
| |- warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
[1429/1469] Compiling TestSupport XCTestCase+WaitHelpers.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTSkip+Helpers.swift:31:13: warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | /// Sometimes a test just can't run more than once for N reasons, this helps skip it
30 | /// if run more than once without failing.
31 | private var _runCountMap: EmbraceMutex<[String: Int]> = EmbraceMutex([:])
| |- warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_runCountMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_runCountMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | extension XCTestCase {
33 | public func XCTSkipIfRunMoreThanOnce(_ function: String = #function) throws {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:20:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
18 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
19 | do {
20 | if try block() {
| |- warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
[1431/1469] Compiling TestSupport URLTestProxiedResponse.swift
[1432/1469] Compiling TestSupport URLTestProxy.swift
[1433/1469] Compiling TestSupport DummyLogControllable.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/IntegrationTestCase.swift:21:17: warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | override open func tearDownWithError() throws {
21 | Embrace.client = nil
| `- warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | if let baseURL = EmbraceFileSystem.rootURL() {
23 | try? FileManager.default.removeItem(at: baseURL)
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Embrace.swift:38:43: note: class property declared here
36 | This will be `nil` until the `setup` method is called, or if the setup process fails.
37 | */
38 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
39 |
40 | /// The `Embrace.Options` that were used to configure the SDK.
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
[1434/1469] Compiling TestSupport InMemoryLogRecordExporter.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/IntegrationTestCase.swift:21:17: warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | override open func tearDownWithError() throws {
21 | Embrace.client = nil
| `- warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | if let baseURL = EmbraceFileSystem.rootURL() {
23 | try? FileManager.default.removeItem(at: baseURL)
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Embrace.swift:38:43: note: class property declared here
36 | This will be `nil` until the `setup` method is called, or if the setup process fails.
37 | */
38 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
39 |
40 | /// The `Embrace.Options` that were used to configure the SDK.
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
[1435/1469] Compiling TestSupport MockEmbraceConfigurable.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/IntegrationTestCase.swift:21:17: warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | override open func tearDownWithError() throws {
21 | Embrace.client = nil
| `- warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | if let baseURL = EmbraceFileSystem.rootURL() {
23 | try? FileManager.default.removeItem(at: baseURL)
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Embrace.swift:38:43: note: class property declared here
36 | This will be `nil` until the `setup` method is called, or if the setup process fails.
37 | */
38 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
39 |
40 | /// The `Embrace.Options` that were used to configure the SDK.
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
[1436/1469] Compiling TestSupport MockEmbraceOTelBridge.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/IntegrationTestCase.swift:21:17: warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | override open func tearDownWithError() throws {
21 | Embrace.client = nil
| `- warning: reference to class property 'client' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | if let baseURL = EmbraceFileSystem.rootURL() {
23 | try? FileManager.default.removeItem(at: baseURL)
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Embrace.swift:38:43: note: class property declared here
36 | This will be `nil` until the `setup` method is called, or if the setup process fails.
37 | */
38 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
39 |
40 | /// The `Embrace.Options` that were used to configure the SDK.
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/LocalProxy/URL+MockResponse.swift:8:24: warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 |
7 | extension URL {
8 | private static var mockResponseKey: UInt8 = 2
| |- warning: static property 'mockResponseKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'mockResponseKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'mockResponseKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var mockResponse: URLTestProxiedResponse? {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTSkip+Helpers.swift:31:13: warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | /// Sometimes a test just can't run more than once for N reasons, this helps skip it
30 | /// if run more than once without failing.
31 | private var _runCountMap: EmbraceMutex<[String: Int]> = EmbraceMutex([:])
| |- warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_runCountMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_runCountMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | extension XCTestCase {
33 | public func XCTSkipIfRunMoreThanOnce(_ function: String = #function) throws {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:20:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
18 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
19 | do {
20 | if try block() {
| |- warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTSkip+Helpers.swift:31:13: warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | /// Sometimes a test just can't run more than once for N reasons, this helps skip it
30 | /// if run more than once without failing.
31 | private var _runCountMap: EmbraceMutex<[String: Int]> = EmbraceMutex([:])
| |- warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_runCountMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_runCountMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | extension XCTestCase {
33 | public func XCTSkipIfRunMoreThanOnce(_ function: String = #function) throws {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:20:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
18 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
19 | do {
20 | if try block() {
| |- warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTSkip+Helpers.swift:31:13: warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | /// Sometimes a test just can't run more than once for N reasons, this helps skip it
30 | /// if run more than once without failing.
31 | private var _runCountMap: EmbraceMutex<[String: Int]> = EmbraceMutex([:])
| |- warning: var '_runCountMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_runCountMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var '_runCountMap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | extension XCTestCase {
33 | public func XCTSkipIfRunMoreThanOnce(_ function: String = #function) throws {
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:20:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
18 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
19 | do {
20 | if try block() {
| |- warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
21 | expectation.fulfill()
22 | }
[1468/1521] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[1469/1521] Compiling SwiftDiagnostics Note.swift
[1470/1521] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[1471/1521] Compiling SwiftBasicFormat Syntax+Extensions.swift
[1472/1521] Compiling SwiftDiagnostics Message.swift
[1473/1521] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[1474/1521] Compiling SwiftDiagnostics FixIt.swift
[1475/1521] Compiling SwiftDiagnostics Convenience.swift
[1476/1521] Compiling SwiftDiagnostics Diagnostic.swift
[1477/1521] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[1478/1521] Emitting module SwiftDiagnostics
[1479/1521] Compiling SwiftParser SyntaxUtils.swift
[1480/1521] Compiling SwiftParser TokenConsumer.swift
[1481/1521] Compiling SwiftParser TokenPrecedence.swift
[1482/1521] Compiling SwiftParser TokenSpec.swift
[1483/1521] Emitting module SwiftBasicFormat
[1484/1521] Compiling SwiftBasicFormat BasicFormat.swift
[1485/1525] Compiling SwiftParser Statements.swift
[1486/1525] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[1487/1525] Compiling SwiftParser StringLiterals.swift
[1488/1525] Compiling SwiftParser SwiftParserCompatibility.swift
[1489/1525] Compiling SwiftParser UnicodeScalarExtensions.swift
[1490/1525] Compiling SwiftParser Lookahead.swift
[1491/1525] Compiling SwiftParser LoopProgressCondition.swift
[1492/1525] Compiling SwiftParser Modifiers.swift
[1493/1525] Compiling SwiftParser Names.swift
[1494/1525] Compiling SwiftParser Nominals.swift
[1495/1525] Compiling SwiftParser Parameters.swift
[1496/1525] Compiling SwiftParser ParseSourceFile.swift
[1497/1525] Compiling SwiftParser Lexeme.swift
[1498/1525] Compiling SwiftParser LexemeSequence.swift
[1499/1525] Compiling SwiftParser Lexer.swift
[1500/1525] Compiling SwiftParser RegexLiteralLexer.swift
[1501/1525] Compiling SwiftParser Parser.swift
[1502/1525] Compiling SwiftParser Patterns.swift
[1503/1525] Compiling SwiftParser Recovery.swift
[1504/1525] Compiling SwiftParser Specifiers.swift
[1505/1525] Compiling SwiftParser TokenSpecSet.swift
[1506/1525] Compiling SwiftParser TopLevel.swift
[1507/1525] Compiling SwiftParser TriviaParser.swift
[1508/1525] Compiling SwiftParser Types.swift
[1509/1525] Emitting module SwiftParser
[1510/1525] Compiling SwiftParser IsLexerClassified.swift
[1511/1525] Compiling SwiftParser LayoutNodes+Parsable.swift
[1512/1525] Compiling SwiftParser Parser+TokenSpecSet.swift
[1513/1525] Compiling SwiftParser TokenSpecStaticMembers.swift
[1514/1525] Compiling SwiftParser Attributes.swift
[1515/1525] Compiling SwiftParser Availability.swift
[1516/1525] Compiling SwiftParser CharacterInfo.swift
[1517/1525] Compiling SwiftParser CollectionNodes+Parsable.swift
[1518/1525] Compiling SwiftParser Declarations.swift
[1519/1525] Compiling SwiftParser Directives.swift
[1520/1525] Compiling SwiftParser ExperimentalFeatures.swift
[1521/1525] Compiling SwiftParser Expressions.swift
[1522/1525] Compiling SwiftParser IncrementalParseTransition.swift
[1523/1525] Compiling SwiftParser Cursor.swift
[1524/1548] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[1525/1549] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[1526/1549] Compiling SwiftParserDiagnostics PresenceUtils.swift
[1527/1549] Compiling SwiftOperators Operator.swift
[1528/1550] Compiling SwiftOperators PrecedenceGroup.swift
[1529/1550] Compiling SwiftOperators OperatorTable.swift
[1530/1550] Compiling SwiftOperators OperatorTable+Defaults.swift
[1531/1550] Compiling SwiftOperators OperatorError+Diagnostics.swift
[1532/1550] Compiling SwiftOperators PrecedenceGraph.swift
[1533/1550] Compiling SwiftOperators OperatorTable+Semantics.swift
[1534/1550] Compiling SwiftOperators OperatorError.swift
[1535/1550] Emitting module SwiftOperators
[1536/1550] Compiling SwiftOperators OperatorTable+Folding.swift
[1537/1550] Compiling SwiftOperators SyntaxSynthesis.swift
[1538/1550] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[1539/1550] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[1540/1550] Compiling SwiftParserDiagnostics Utils.swift
[1541/1550] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[1542/1550] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[1543/1550] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[1544/1550] Emitting module SwiftParserDiagnostics
[1545/1550] Compiling SwiftParserDiagnostics MissingNodesError.swift
[1546/1550] Compiling SwiftParserDiagnostics MissingTokenError.swift
[1547/1550] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[1548/1550] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[1549/1564] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[1550/1565] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[1551/1565] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[1552/1565] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[1553/1565] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[1554/1565] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[1555/1565] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[1556/1565] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[1557/1565] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[1558/1565] Compiling SwiftSyntaxBuilder Indenter.swift
[1559/1565] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[1560/1565] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[1561/1565] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[1562/1565] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[1563/1565] Emitting module SwiftSyntaxBuilder
[1564/1579] Emitting module SwiftSyntaxMacros
[1565/1579] Compiling SwiftSyntaxMacros Macro.swift
[1566/1579] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[1567/1579] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[1568/1579] Compiling SwiftSyntaxMacros AccessorMacro.swift
[1569/1579] Compiling SwiftSyntaxMacros AttachedMacro.swift
[1570/1579] Compiling SwiftSyntaxMacros Macro+Format.swift
[1571/1579] Compiling SwiftSyntaxMacros MemberMacro.swift
[1572/1580] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[1573/1580] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[1574/1580] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[1575/1580] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[1576/1580] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[1577/1580] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[1578/1580] Compiling SwiftSyntaxMacros PeerMacro.swift
[1579/1588] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[1580/1588] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[1581/1588] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[1582/1588] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[1583/1588] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[1584/1588] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[1585/1588] Emitting module SwiftSyntaxMacroExpansion
[1586/1588] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[1587/1595] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[1588/1595] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[1589/1595] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[1590/1595] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[1591/1595] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[1592/1595] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[1593/1595] Emitting module SwiftCompilerPluginMessageHandling
[1594/1597] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[1595/1597] Emitting module SwiftCompilerPlugin
[1596/1601] Emitting module EmbraceMacroPlugin
[1597/1601] Compiling EmbraceMacroPlugin EmbraceMacroErrors.swift
[1598/1601] Compiling EmbraceMacroPlugin EmbraceTraceMacro.swift
[1599/1601] Compiling EmbraceMacroPlugin EmbraceMacrosPlugin.swift
[1599/1601] Write Objects.LinkFileList
[1600/1601] Linking EmbraceMacroPlugin-tool
[1602/1603] Compiling EmbraceMacros EmbraceMacros.swift
[1603/1603] Emitting module EmbraceMacros
Build complete! (52.97s)
Build complete.
{
"dependencies" : [
{
"identity" : "kscrash",
"requirement" : {
"exact" : [
"2.3.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/kstenerud/KSCrash"
},
{
"identity" : "opentelemetry-swift-core",
"requirement" : {
"exact" : [
"2.1.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/open-telemetry/opentelemetry-swift-core"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
}
],
"manifest_display_name" : "EmbraceIO",
"name" : "EmbraceIO",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "EmbraceIO",
"targets" : [
"EmbraceIO"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmbraceCore",
"targets" : [
"EmbraceCore",
"EmbraceConfiguration"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmbraceSemantics",
"targets" : [
"EmbraceSemantics"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmbraceMacros",
"targets" : [
"EmbraceMacros",
"EmbraceCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmbraceKSCrashSupport",
"targets" : [
"EmbraceKSCrashSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmbraceCrashlyticsSupport",
"targets" : [
"EmbraceCrashlyticsSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmbraceMacroPlugin",
"targets" : [
"EmbraceMacroPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "TestSupportObjc",
"module_type" : "ClangTarget",
"name" : "TestSupportObjc",
"path" : "Tests/TestSupport/Objc",
"sources" : [
"source/URLSessionDelegateImplementerButWithoutConforming.m"
],
"type" : "library"
},
{
"c99name" : "TestSupport",
"module_type" : "SwiftTarget",
"name" : "TestSupport",
"path" : "Tests/TestSupport",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"sources" : [
"CoreDataListener.swift",
"CrashReporterContext+TestContext.swift",
"EditableConfig.swift",
"EmbraceHTTPMock.swift",
"Extensions/Dictionary+Extension.swift",
"Extensions/EmbraceStorage+Extension.swift",
"Extensions/Int+Extension.swift",
"Extensions/String+Extension.swift",
"Extensions/XCTestCase+Extension.swift",
"IntegrationTestCase.swift",
"LocalProxy/ProxiedURLSessionProvider.swift",
"LocalProxy/URL+MockResponse.swift",
"LocalProxy/URLTestProxiedResponse.swift",
"LocalProxy/URLTestProxy.swift",
"Mocks/DummyLogControllable.swift",
"Mocks/LogRecordExporter/InMemoryLogRecordExporter.swift",
"Mocks/MockEmbraceConfigurable.swift",
"Mocks/MockEmbraceOTelBridge.swift",
"Mocks/MockEmbraceOpenTelemetry.swift",
"Mocks/MockEmbraceSDKStateProvider.swift",
"Mocks/MockLogger.swift",
"Mocks/MockQueue.swift",
"Mocks/MockSpanProcessor.swift",
"Mocks/Model/MockLog.swift",
"Mocks/Model/MockMetadata.swift",
"Mocks/Model/MockSession.swift",
"Mocks/SpanExporter/InMemorySpanExporter.swift",
"Mocks/SpanProcessor/InMemorySpanProcessor.swift",
"TemporaryFilepathProvider.swift",
"TestConstants.swift",
"TimeInterval+Test.swift",
"XCTSkip+Helpers.swift",
"XCTestCase+WaitHelpers.swift"
],
"target_dependencies" : [
"EmbraceCore",
"EmbraceOTelInternal",
"EmbraceCommonInternal"
],
"type" : "library"
},
{
"c99name" : "EmbraceUploadInternalTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceUploadInternalTests",
"path" : "Tests/EmbraceUploadInternalTests",
"sources" : [
"EmbraceAttachmentOperationTests.swift",
"EmbraceUploadCacheTests+ClearDataDate.swift",
"EmbraceUploadCacheTests.swift",
"EmbraceUploadOperationTests.swift",
"EmbraceUploadTests.swift"
],
"target_dependencies" : [
"EmbraceUploadInternal",
"EmbraceOTelInternal",
"EmbraceCoreDataInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceUploadInternal",
"module_type" : "SwiftTarget",
"name" : "EmbraceUploadInternal",
"path" : "Sources/EmbraceUploadInternal",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"sources" : [
"Cache/EmbraceUploadCache.swift",
"Cache/UploadDataRecord.swift",
"EmbraceReachabilityMonitor.swift",
"EmbraceUpload.swift",
"EmbraceUploadType.swift",
"ErrorManagement/EmbraceUploadError.swift",
"Operations/AsyncOperation.swift",
"Operations/EmbraceAttachmentUploadOperation.swift",
"Operations/EmbraceUploadOperation.swift",
"Options/EmbraceUpload+CacheOptions.swift",
"Options/EmbraceUpload+EndpointOptions.swift",
"Options/EmbraceUpload+ExponentialBackoff.swift",
"Options/EmbraceUpload+MetadataOptions.swift",
"Options/EmbraceUpload+Options.swift",
"Options/EmbraceUpload+RedundancyOptions.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal",
"EmbraceOTelInternal",
"EmbraceCoreDataInternal"
],
"type" : "library"
},
{
"c99name" : "EmbraceStorageInternalTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceStorageInternalTests",
"path" : "Tests/EmbraceStorageInternalTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/EmbraceStorageInternalTests/Mocks",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"EmbraceStorageLoggingTests.swift",
"EmbraceStorageTests.swift",
"FetchMethods/EmbraceStorage+SpanForSessionRecordTests.swift",
"MetadataRecordTests.swift",
"Records/SpanRecord/EmbraceStorage+SpanTests.swift",
"SessionRecordTests.swift",
"SpanRecordTests.swift"
],
"target_dependencies" : [
"EmbraceStorageInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceStorageInternal",
"module_type" : "SwiftTarget",
"name" : "EmbraceStorageInternal",
"path" : "Sources/EmbraceStorageInternal",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"sources" : [
"EmbraceStorage+Options.swift",
"EmbraceStorage.swift",
"EmbraceStorageError.swift",
"Records/EmbraceStorage+Log.swift",
"Records/EmbraceStorage+Metadata.swift",
"Records/EmbraceStorage+Session.swift",
"Records/EmbraceStorage+Span.swift",
"Records/EmbraceStorageRecord.swift",
"Records/LogAttributeRecord.swift",
"Records/LogRecord.swift",
"Records/MetadataRecord.swift",
"Records/SessionRecord.swift",
"Records/SpanRecord.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal",
"EmbraceCoreDataInternal",
"EmbraceSemantics"
],
"type" : "library"
},
{
"c99name" : "EmbraceSemantics",
"module_type" : "SwiftTarget",
"name" : "EmbraceSemantics",
"path" : "Sources/EmbraceSemantics",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceSemantics",
"EmbraceMacros"
],
"sources" : [
"Logs/LogSemantics+Crash.swift",
"Logs/LogSemantics+Hang.swift",
"Logs/LogSemantics+NetworkCapture.swift",
"Logs/LogSemantics.swift",
"Logs/LogType+Declarations.swift",
"Span/SpanErrorCode.swift",
"Span/SpanSemantics+LowPower.swift",
"Span/SpanSemantics+NetworkRequest.swift",
"Span/SpanSemantics+Session.swift",
"Span/SpanSemantics+Startup.swift",
"Span/SpanSemantics+View.swift",
"Span/SpanSemantics.swift",
"SpanEvent/SpanEventSemantics+Breadcrumb.swift",
"SpanEvent/SpanEventSemantics+LowMemory.swift",
"SpanEvent/SpanEventSemantics+PushNotification.swift",
"SpanEvent/SpanEventSemantics+Tap.swift",
"SpanEvent/SpanEventSemantics+WebView.swift",
"SpanEvent/SpanEventSemantics.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal"
],
"type" : "library"
},
{
"c99name" : "EmbraceObjCUtilsInternalTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceObjCUtilsInternalTests",
"path" : "Tests/EmbraceObjCUtilsInternalTests",
"sources" : [
"EMBDeviceTests.swift",
"EMBRURLSessionTaskHeaderInjectorTests.swift"
],
"target_dependencies" : [
"EmbraceObjCUtilsInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceObjCUtilsInternal",
"module_type" : "ClangTarget",
"name" : "EmbraceObjCUtilsInternal",
"path" : "Sources/EmbraceObjCUtilsInternal",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"sources" : [
"source/EMBBinaryImageProvider.m",
"source/EMBDevice.m",
"source/EMBDisplayLinkProxy.m",
"source/EMBLoaderClass.m",
"source/EMBRURLSessionTaskHeaderInjector.m",
"source/EMBStackTraceProccessor.m",
"source/EMBStartupTracker.m",
"source/EMBURLSessionDelegateForwarder.m",
"source/EMBURLSessionDelegateProxy+FRPPatch.m",
"source/EMBURLSessionDelegateProxy.m",
"source/EMBURLSessionDelegateProxyFunctions.m",
"source/EMBWKNavigationDelegateProxy.m"
],
"type" : "library"
},
{
"c99name" : "EmbraceOTelInternalTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceOTelInternalTests",
"path" : "Tests/EmbraceOTelInternalTests",
"sources" : [
"EmbraceOTelTests.swift",
"Logs/BatchLimitTests.swift",
"Logs/EmbraceLogRecordBuilderTests.swift",
"Logs/EmbraceLoggerBuilderTests.swift",
"Logs/EmbraceLoggerProviderTests.swift",
"Logs/EmbraceLoggerTests.swift",
"Logs/GenericLogExporterTests.swift",
"Logs/Processors/EmbraceLogRecordProcessorArrayExtension.swift",
"Logs/Processors/SingleLogRecordProcessorTests.swift",
"Logs/SeverityToLogSeverityTests.swift",
"Mocks/DummyEmbraceLogShared.swift",
"Mocks/DummyEmbraceResourceProvider.swift",
"Mocks/DummyLogBatcher.swift",
"Mocks/EmbraceLogRecordExporter.swift",
"Mocks/MockEmbraceLogSharedState.swift",
"Mocks/RandomConfig.swift",
"Mocks/SpyEmbraceResourceProvider.swift",
"Mocks/SpyLoggerProcessor.swift",
"Shared/EmbraceResourceProviderTests.swift",
"TestSupport/Logs/DefaultEmbraceResource.swift",
"TestSupport/Logs/RedeableLogRecord+Extension.swift",
"TestSupport/SpanContext+Helpers.swift",
"TestSupport/SpanProcessor/NoopSpanProcessor.swift",
"Trace/Tracer/Span/Processor/SingleSpanProcessorTests.swift"
],
"target_dependencies" : [
"EmbraceOTelInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceOTelInternal",
"module_type" : "SwiftTarget",
"name" : "EmbraceOTelInternal",
"path" : "Sources/EmbraceOTelInternal",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"sources" : [
"EmbraceOTel.swift",
"EmbraceOpenTelemetry.swift",
"Logs/EmbraceLogRecordBuilder.swift",
"Logs/EmbraceLogger.swift",
"Logs/EmbraceLoggerBuilder.swift",
"Logs/EmbraceLoggerConfig.swift",
"Logs/EmbraceLoggerProvider.swift",
"Logs/EmbraceLoggerSharedState.swift",
"Logs/EmbraceSemantics/LogRecord+Embrace.swift",
"Logs/Exporter/BatchLimits.swift",
"Logs/Processors/EmbraceLogRecordProcessor.swift",
"Logs/Processors/SingleLogRecordProcessor.swift",
"Logs/Severity+LogSeverity.swift",
"Shared/EmbraceResource.swift",
"Shared/EmbraceResourceProvider.swift",
"Trace/EmbraceSemantics/Span/Span+Embrace.swift",
"Trace/EmbraceSemantics/Span/SpanData+Embrace.swift",
"Trace/EmbraceSemantics/SpanBuilder/SpanBuilder+Embrace.swift",
"Trace/Tracer/Span/Processor/SingleSpanProcessor.swift",
"Trace/Tracer/Span/RecordingSpanEvent.swift",
"Trace/Tracer/Span/RecordingSpanLink.swift",
"Trace/Tracer/Span/SpanEvent.swift",
"Trace/Tracer/Span/SpanLink.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal",
"EmbraceSemantics"
],
"type" : "library"
},
{
"c99name" : "EmbraceMacrosTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceMacrosTests",
"path" : "Tests/EmbraceMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"EmbraceMacrosTests.swift"
],
"target_dependencies" : [
"EmbraceMacroPlugin",
"EmbraceIO"
],
"type" : "test"
},
{
"c99name" : "EmbraceMacros",
"module_type" : "SwiftTarget",
"name" : "EmbraceMacros",
"path" : "Sources/EmbraceMacros/Source",
"product_memberships" : [
"EmbraceMacros"
],
"sources" : [
"EmbraceMacros.swift"
],
"target_dependencies" : [
"EmbraceMacroPlugin",
"EmbraceCore"
],
"type" : "library"
},
{
"c99name" : "EmbraceMacroPlugin",
"module_type" : "SwiftTarget",
"name" : "EmbraceMacroPlugin",
"path" : "Sources/EmbraceMacros/Plugins",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"EmbraceMacros",
"EmbraceMacroPlugin"
],
"sources" : [
"EmbraceMacroErrors.swift",
"EmbraceMacrosPlugin.swift",
"EmbraceTraceMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "EmbraceKSCrashSupport",
"module_type" : "SwiftTarget",
"name" : "EmbraceKSCrashSupport",
"path" : "Sources/ThirdParty/EmbraceKSCrashSupport",
"product_dependencies" : [
"Recording"
],
"product_memberships" : [
"EmbraceIO",
"EmbraceKSCrashSupport"
],
"sources" : [
"KSCrashReporter.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal"
],
"type" : "library"
},
{
"c99name" : "EmbraceIOTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceIOTests",
"path" : "Tests/EmbraceIOTests",
"sources" : [
"CaptureServiceBuilderTests.swift",
"PerformanceTests.swift"
],
"target_dependencies" : [
"EmbraceIO",
"EmbraceCore",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceIO",
"module_type" : "SwiftTarget",
"name" : "EmbraceIO",
"path" : "Sources/EmbraceIO",
"product_memberships" : [
"EmbraceIO"
],
"sources" : [
"Capture/CaptureService+Helpers.swift",
"Capture/CaptureServiceBuilder.swift",
"EmbraceCore+Export.swift",
"Options/Options+CaptureService.swift"
],
"target_dependencies" : [
"EmbraceCaptureService",
"EmbraceCore",
"EmbraceCommonInternal",
"EmbraceSemantics",
"EmbraceKSCrashSupport"
],
"type" : "library"
},
{
"c99name" : "EmbraceCrashlyticsSupportTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceCrashlyticsSupportTests",
"path" : "Tests/ThirdParty/EmbraceCrashlyticsSupportTests",
"sources" : [
"CrashlyticsReporterTests.swift",
"CrashlyticsWrapperTests.swift",
"MockCrashlytics.swift"
],
"target_dependencies" : [
"EmbraceCrashlyticsSupport",
"EmbraceCommonInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceCrashlyticsSupport",
"module_type" : "SwiftTarget",
"name" : "EmbraceCrashlyticsSupport",
"path" : "Sources/ThirdParty/EmbraceCrashlyticsSupport",
"product_memberships" : [
"EmbraceCrashlyticsSupport"
],
"sources" : [
"CrashlyticsReporter.swift",
"CrashlyticsWrapper.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal"
],
"type" : "library"
},
{
"c99name" : "EmbraceCrashTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceCrashTests",
"path" : "Tests/EmbraceCrashTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/EmbraceCrashTests/Mocks",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"EmbraceCrashReporterTests.swift"
],
"target_dependencies" : [
"EmbraceCore",
"EmbraceKSCrashSupport",
"EmbraceCommonInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceCoreTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceCoreTests",
"path" : "Tests/EmbraceCoreTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/EmbraceCoreTests/Mocks",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Capture/CaptureServiceFactoryTests.swift",
"Capture/EmbraceSetupCaptureServicesTests.swift",
"Capture/Hang/HangCaptureServiceTests.swift",
"Capture/MetricKit/MetricKitCrashCaptureServiceTests.swift",
"Capture/MetricKit/MetricKitHangCaptureServiceTests.swift",
"Capture/MetricKit/MockMetricKitPayloadProvider.swift",
"Capture/MetricKit/MockMetricKitStateProvider.swift",
"Capture/Network/DataTaskWithURLAndCompletionSwizzlerTests.swift",
"Capture/Network/DataTaskWithURLRequestAndCompletionSwizzlerTests.swift",
"Capture/Network/DataTaskWithURLRequestSwizzlerTests.swift",
"Capture/Network/DataTaskWithURLSwizzlerTests.swift",
"Capture/Network/DefaultURLSessionSwizzlerProviderTests.swift",
"Capture/Network/DefaultURLSessionTaskHandlerTests.swift",
"Capture/Network/DownloadTaskWithURLRequestSwizzlerTests.swift",
"Capture/Network/DownloadTaskWithURLRequestWithCompletionSwizzler.swift",
"Capture/Network/EmbraceURLRequestTests.swift",
"Capture/Network/NetworkPayloadCapture/EncryptedNetworkPayloadTests.swift",
"Capture/Network/NetworkPayloadCapture/EncryptionHelperTests.swift",
"Capture/Network/NetworkPayloadCapture/NetworkPayloadCaptureHandlerTests.swift",
"Capture/Network/NetworkPayloadCapture/URLSessionTaskCaptureRuleTests.swift",
"Capture/Network/Proxy/URLSessionDelegateProxyAsTaskDelegateTests.swift",
"Capture/Network/Proxy/URLSessionDelegateProxyForwardingTests.swift",
"Capture/Network/Proxy/URLSessionDelegateProxyTests.swift",
"Capture/Network/Proxy/URLSessionDelegateProxyToNonConformantTests.swift",
"Capture/Network/Proxy/URLSessionTask+ExtensionTests.swift",
"Capture/Network/SessionTaskResumeSwizzlerTests.swift",
"Capture/Network/URLSessionCaptureServiceTests.swift",
"Capture/Network/URLSessionInitWithDelegateSwizzlerTests.swift",
"Capture/Network/UploadTaskWithRequestFromDataAndCompletionSwizzlerTests.swift",
"Capture/Network/UploadTaskWithRequestFromDataSwizzlerTests.swift",
"Capture/Network/UploadTaskWithRequestFromFileSwizzlerTests.swift",
"Capture/Network/UploadTaskWithRequestFromFileWithCompletionSwizzlerTests.swift",
"Capture/Network/UploadTaskWithStreamedRequestSwizzlerTests.swift",
"Capture/OneTimeServices/AppInfoCaptureServiceTests.swift",
"Capture/OneTimeServices/DeviceInfoCaptureServiceTests.swift",
"Capture/ResourceCaptureServiceTests.swift",
"Capture/System/LowMemoryWarningCaptureServiceTests.swift",
"Capture/System/LowPowerModeCaptureServiceTests.swift",
"Capture/UX/TapCaptureServiceTests.swift",
"Capture/UX/View/CaptureServicesUIViewControllerTests.swift",
"Capture/UX/View/MockUIViewControllerHandler.swift",
"Capture/UX/View/MockUIViewControllerHandlerDataSource.swift",
"Capture/UX/View/UIViewControllerHandlerTests.swift",
"Capture/UX/View/ViewCaptureServiceTests.swift",
"Capture/UX/View/ViewControllerBlockListTests.swift",
"Capture/WebView/MockWKNavigationDelegate.swift",
"Capture/WebView/WKNavigationDelegateProxyTests.swift",
"Capture/WebView/WebViewCaptureServiceTests.swift",
"FileSystem/EmbraceFileSystemTests.swift",
"Internal/EmbraceMeta+UserAgentTests.swift",
"Internal/EmbraceSpanProcessor+StorageTests.swift",
"Internal/Events/SpanEventsLimiterTests.swift",
"Internal/Identifiers/DeviceIdentifier+PersistenceTests.swift",
"Internal/Logs/EmbraceLogAttributesBuilderTests.swift",
"Internal/Logs/EmbraceLoggerSharedStateTests.swift",
"Internal/Logs/Exporter/DefaultLogBatcherTests.swift",
"Internal/Logs/Exporter/StorageEmbraceLogExporterTests.swift",
"Internal/Logs/Exporter/Validation/LogDataValidationTests.swift",
"Internal/Logs/Exporter/Validation/Validators/LengthOfBodyValidatorTests.swift",
"Internal/Logs/LogControllerTests.swift",
"Internal/Logs/Loggers/BaseInternalLoggerTests.swift",
"Internal/Logs/Loggers/DefaultInternalLoggerTests.swift",
"Internal/Logs/LogsBatchTests.swift",
"Internal/MetricKit/MetricKitHandlerTests.swift",
"Internal/MetricKit/MockMetricKitCrashPayloadListener.swift",
"Internal/MetricKit/MockMetricKitHangPayloadListener.swift",
"Internal/ProcessMetadataTests.swift",
"Internal/ResourceStorageExporterTests.swift",
"Internal/Startup/MockStartupDataProvider.swift",
"Internal/Startup/StartupInstrumentationTests.swift",
"Internal/StorageSpanExporterTests.swift",
"Options/Embrace+OptionsTests.swift",
"Payload/LogPayloadBuilderTests.swift",
"Payload/LogPayloadTests.swift",
"Payload/MetadataPayloadTests.swift",
"Payload/PayloadUtilTests.swift",
"Payload/ResourcePayloadTests.swift",
"Payload/SessionPayloadBuilderTests.swift",
"Payload/SpanPayloadTests.swift",
"Payload/SpansPayloadBuilderTests.swift",
"Public/BreadcrumbTests.swift",
"Public/Embrace+OTelTests.swift",
"Public/Embrace+SetupTests.swift",
"Public/EmbraceCoreTests.swift",
"Public/EmbraceEndpointsTest.swift",
"Public/Metadata/MetadataHandler+PersonaTagTests.swift",
"Public/Metadata/MetadataHandler+UserTests.swift",
"Public/Metadata/MetadataHandlerTests.swift",
"Public/Metadata/PersonaTagTests.swift",
"Public/PushNotificationEventTests.swift",
"Public/SpanEventBreadcrumbTests.swift",
"Session/Lifecycle/Implementations/ManualSessionLifecycleTests.swift",
"Session/Lifecycle/Implementations/iOSSessionLifecycleTests.swift",
"Session/MockSessionUploader.swift",
"Session/SessionControllerTests.swift",
"Session/SessionHeartbeatTests.swift",
"Session/SessionSpanUtilsTests.swift",
"Session/UnsentDataHandlerTests.swift",
"SwiftUI/EmbraceTraceViewPerfTests.swift",
"SwiftUI/EmbraceTraceViewTests.swift",
"TestSupport/MockLogDataValidator.swift",
"TestSupport/TestDoubles/CrashReporterMock.swift",
"TestSupport/TestDoubles/DummyLock.swift",
"TestSupport/TestDoubles/DummyURLSessionInitWithDelegateSwizzler.swift",
"TestSupport/TestDoubles/EmbraceConfigMock.swift",
"TestSupport/TestDoubles/ExtendableCrashReporterMock.swift",
"TestSupport/TestDoubles/FullyImplementedURLSessionTaskDelegate.swift",
"TestSupport/TestDoubles/MockMetadataFetcher.swift",
"TestSupport/TestDoubles/MockSessionController.swift",
"TestSupport/TestDoubles/MockTapEvent.swift",
"TestSupport/TestDoubles/MockUITouch.swift",
"TestSupport/TestDoubles/MockURLSessionRequestsDataSource.swift",
"TestSupport/TestDoubles/MockURLSessionSwizzler.swift",
"TestSupport/TestDoubles/MockURLSessionTaskHandler.swift",
"TestSupport/TestDoubles/MockURLSessionTaskHandlerDataSource.swift",
"TestSupport/TestDoubles/MockedURLSessionSwizzlerProvider.swift",
"TestSupport/TestDoubles/NotImplementedURLSessionDelegate.swift",
"TestSupport/TestDoubles/SpyEmbraceLogUploader.swift",
"TestSupport/TestDoubles/SpyLogBatcherDelegate.swift",
"TestSupport/TestDoubles/SpyLogRepository.swift",
"TestSupport/TestDoubles/SpyNetworkPayloadCaptureHandler.swift",
"TestSupport/TestDoubles/SpyStorage.swift",
"TestSupport/Utilities/DispatchQueue+DispatchableQueue.swift",
"TestSupport/Utilities/String+Random.swift",
"TestSupport/Utilities/Swizzlable+Unswizzle.swift",
"Utils/CGPointToStringTests.swift",
"Utils/EncodableJSONTests.swift",
"Utils/KeychainAccessTest.swift",
"Utils/W3C/W3C+TraceParentTests.swift"
],
"target_dependencies" : [
"EmbraceCore",
"TestSupport",
"TestSupportObjc"
],
"type" : "test"
},
{
"c99name" : "EmbraceCoreDataInternalTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceCoreDataInternalTests",
"path" : "Tests/EmbraceCoreDataInternalTests",
"sources" : [
"CoreDataWrapperTests.swift",
"WorkTrackerTests.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceCoreDataInternal",
"module_type" : "SwiftTarget",
"name" : "EmbraceCoreDataInternal",
"path" : "Sources/EmbraceCoreDataInternal",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"sources" : [
"BackgroundTaskAssertion.swift",
"CoreDataWrapper+Options.swift",
"CoreDataWrapper.swift",
"WorkTracker.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal"
],
"type" : "library"
},
{
"c99name" : "EmbraceCore",
"module_type" : "SwiftTarget",
"name" : "EmbraceCore",
"path" : "Sources/EmbraceCore",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Capture/CaptureServiceFactory.swift",
"Capture/CaptureServices.swift",
"Capture/Hang/HangCaptureService.swift",
"Capture/Hang/Watchdog/HangWatchdog.swift",
"Capture/Hang/Watchdog/NanosecondClock.swift",
"Capture/MetricKit/EmbraceMetricKitStateProvider.swift",
"Capture/MetricKit/MetricKitCrashCaptureService+Options.swift",
"Capture/MetricKit/MetricKitCrashCaptureService.swift",
"Capture/MetricKit/MetricKitHangCaptureService+Options.swift",
"Capture/MetricKit/MetricKitHangCaptureService.swift",
"Capture/Network/NetworkPayloadCapture/EncryptedNetworkPayload.swift",
"Capture/Network/NetworkPayloadCapture/EncryptionHelper.swift",
"Capture/Network/NetworkPayloadCapture/NetworkPayloadCaptureHandler.swift",
"Capture/Network/NetworkPayloadCapture/URLSessionTaskCaptureRule.swift",
"Capture/Network/URLRequest+Extension.swift",
"Capture/Network/URLSessionCaptureService+Options.swift",
"Capture/Network/URLSessionCaptureService.swift",
"Capture/Network/URLSessionRequestsDataSource.swift",
"Capture/Network/URLSessionSwizzlerProvider.swift",
"Capture/Network/URLSessionTask+Extension.swift",
"Capture/Network/URLSessionTaskHandler.swift",
"Capture/OneTimeServices/AppInfoCaptureService.swift",
"Capture/OneTimeServices/DeviceInfoCaptureService.swift",
"Capture/PushNotifications/PushNotificationCaptureService+Options.swift",
"Capture/PushNotifications/PushNotificationCaptureService.swift",
"Capture/PushNotifications/UNUserNotificationCenterDelegateProxy.swift",
"Capture/ResourceCaptureService.swift",
"Capture/System/LowMemoryWarningCaptureService.swift",
"Capture/System/LowPowerMode/LowPowerModeCaptureService.swift",
"Capture/System/LowPowerMode/PowerModeProvider.swift",
"Capture/UX/Tap/TapCaptureService+Options.swift",
"Capture/UX/Tap/TapCaptureService.swift",
"Capture/UX/Tap/TapCaptureServiceDelegate.swift",
"Capture/UX/View/Protocols/CaptureServices+UIViewController.swift",
"Capture/UX/View/Protocols/EmbraceViewControllerCustomization.swift",
"Capture/UX/View/Protocols/InstrumentableViewController.swift",
"Capture/UX/View/Protocols/InteractableViewController.swift",
"Capture/UX/View/UIViewController+Embrace.swift",
"Capture/UX/View/UIViewControllerHandler.swift",
"Capture/UX/View/ViewCaptureService+Options.swift",
"Capture/UX/View/ViewCaptureService.swift",
"Capture/UX/View/ViewCaptureServiceError.swift",
"Capture/UX/View/ViewCaptureServiceSwizzleCache.swift",
"Capture/UX/View/ViewControllerBlockList.swift",
"Capture/UX/View/ViewInstrumentationState.swift",
"Capture/WebView/WKWebView+Embrace.swift",
"Capture/WebView/WebViewCaptureService+Options.swift",
"Capture/WebView/WebViewCaptureService.swift",
"Crash/EmbraceCrashReporter.swift",
"Embrace.swift",
"ErrorManagement/EmbraceSetupError.swift",
"ExampleCrash/CrashHelper.swift",
"FileSystem/EmbraceFilePathProvider.swift",
"FileSystem/EmbraceFileSystem.swift",
"Internal/Embrace+Config.swift",
"Internal/Embrace+EmbraceMetricKitStateProvider.swift",
"Internal/Embrace+EmbraceSDKStateProvider.swift",
"Internal/Embrace+Setup.swift",
"Internal/EmbraceMeta+UserAgent.swift",
"Internal/Events/SpanEventsLimiter.swift",
"Internal/Identifiers/DeviceIdentifier+Persistence.swift",
"Internal/Logs/DefaultEmbraceLogSharedState.swift",
"Internal/Logs/DefaultEmbraceLoggerConfig.swift",
"Internal/Logs/EmbraceLogAttributesBuilder.swift",
"Internal/Logs/Exporter/DefaultLogBatcher.swift",
"Internal/Logs/Exporter/LogBatch.swift",
"Internal/Logs/Exporter/LogBatchLimits.swift",
"Internal/Logs/Exporter/StorageEmbraceLogExporter.swift",
"Internal/Logs/Exporter/Validation/Collection+LogDataValidator.swift",
"Internal/Logs/Exporter/Validation/LogDataValidation.swift",
"Internal/Logs/Exporter/Validation/LogDataValidator.swift",
"Internal/Logs/Exporter/Validation/Validators/LengthOfBodyValidator.swift",
"Internal/Logs/LogController.swift",
"Internal/Logs/Loggers/BaseInternalLogger.swift",
"Internal/Logs/Loggers/DefaultInternalLogger.swift",
"Internal/MetricKit/MetricKitCrashPayloadProvider.swift",
"Internal/MetricKit/MetricKitHandler.swift",
"Internal/ProcessMetadata.swift",
"Internal/ResourceKeys/AppResourceKey.swift",
"Internal/ResourceKeys/DeviceResourceKey.swift",
"Internal/ResourceKeys/UserResourceKey.swift",
"Internal/ResourceStorageExporter/ResourceStorageExporter.swift",
"Internal/Startup/DefaultStartupDataProvider.swift",
"Internal/Startup/StartupDataProvider.swift",
"Internal/Startup/StartupInstrumentation.swift",
"Internal/Tracing/EmbraceSpanProcessor+Setup.swift",
"Internal/Tracing/StorageSpanExporter+Options.swift",
"Internal/Tracing/StorageSpanExporter.swift",
"Options/Embrace+Endpoints.swift",
"Options/Embrace+Options.swift",
"Options/Platform.swift",
"Payload/AppInfoPayload.swift",
"Payload/Attribute.swift",
"Payload/Builders/LogPayloadBuilder.swift",
"Payload/Builders/SessionPayloadBuilder.swift",
"Payload/Builders/SpansPayloadBuilder.swift",
"Payload/LogPayload.swift",
"Payload/MetadataPayload.swift",
"Payload/PayloadEnvelope.swift",
"Payload/ResourcePayload.swift",
"Payload/Spans/SpanEventPayload.swift",
"Payload/Spans/SpanLinkPayload.swift",
"Payload/Spans/SpanPayload.swift",
"Payload/Utils/PayloadUtils.swift",
"Public/Embrace+CrashHelper.swift",
"Public/Embrace+CrashReporter.swift",
"Public/Embrace+OTel.swift",
"Public/EmbraceSDKState.swift",
"Public/Events/Breadcrumb.swift",
"Public/LastRunEndState.swift",
"Public/LogLevel.swift",
"Public/Metadata/MetadataError.swift",
"Public/Metadata/MetadataHandler+Personas.swift",
"Public/Metadata/MetadataHandler+User.swift",
"Public/Metadata/MetadataHandler.swift",
"Public/Metadata/MetadataRecordTmp.swift",
"Public/Metadata/PersonaTag.swift",
"Public/OpenTelemetryExport.swift",
"Public/OpenTelemetryProcessor.swift",
"Public/PushNotifications/PushNotificationError.swift",
"Public/PushNotifications/PushNotificationEvent.swift",
"Public/Startup/StartupInstrumentation+Customization.swift",
"Session/DataRecovery/UnsentDataHandler.swift",
"Session/Lifecycle/Implementations/ManualSessionLifecycle.swift",
"Session/Lifecycle/Implementations/iOSSessionLifecycle.swift",
"Session/Lifecycle/SessionLifecycle.swift",
"Session/SessionControllable.swift",
"Session/SessionController.swift",
"Session/SessionHeartbeat.swift",
"Session/SessionSpanUtils.swift",
"Session/Upload/DefaultSessionUploader.swift",
"SwiftUI/EmbraceTraceView.swift",
"SwiftUI/EmbraceTraceViewModifier.swift",
"SwiftUI/Internal/EmbraceTraceViewContext.swift",
"SwiftUI/Internal/EmbraceTraceViewLogger.swift",
"SwiftUI/Internal/EmbraceTraceViewState.swift",
"Utils/CGPoint+toString.swift",
"Utils/Data+Gzip.swift",
"Utils/Encodable+JSON.swift",
"Utils/KeychainAccess.swift",
"Utils/KeychainInterface.swift",
"Utils/NSObject+Embrace.swift",
"Utils/ProcessInfo+Embrace.swift",
"Utils/URL+Embrace.swift",
"Utils/W3C/W3C+TraceParent.swift",
"Utils/W3C/W3C.swift"
],
"target_dependencies" : [
"EmbraceCaptureService",
"EmbraceCommonInternal",
"EmbraceConfigInternal",
"EmbraceConfiguration",
"EmbraceOTelInternal",
"EmbraceStorageInternal",
"EmbraceUploadInternal",
"EmbraceObjCUtilsInternal",
"EmbraceSemantics"
],
"type" : "library"
},
{
"c99name" : "EmbraceConfigurationTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceConfigurationTests",
"path" : "Tests/EmbraceConfigurationTests",
"sources" : [
"EmbraceConfigurable/DefaultConfigTests.swift",
"InternalLogLimitsTests.swift"
],
"target_dependencies" : [
"EmbraceConfiguration"
],
"type" : "test"
},
{
"c99name" : "EmbraceConfiguration",
"module_type" : "SwiftTarget",
"name" : "EmbraceConfiguration",
"path" : "Sources/EmbraceConfiguration",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"sources" : [
"EmbraceConfigurable.swift",
"EmbraceConfigurable/DefaultConfig.swift",
"HangLimits.swift",
"InternalLogLimits.swift",
"LogsLimits.swift",
"NetworkPayloadCaptureRule.swift",
"SpanEventsLimits.swift"
],
"type" : "library"
},
{
"c99name" : "EmbraceConfigInternalTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceConfigInternalTests",
"path" : "Tests/EmbraceConfigInternalTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/EmbraceConfigInternalTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"EmbraceConfigTests.swift",
"EmbraceConfigurable/RemoteConfig/RemoteConfigFetcherTests.swift",
"EmbraceConfigurable/RemoteConfig/RemoteConfigPayloadTests.swift",
"EmbraceConfigurable/RemoteConfigTests.swift"
],
"target_dependencies" : [
"EmbraceConfigInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceConfigInternal",
"module_type" : "SwiftTarget",
"name" : "EmbraceConfigInternal",
"path" : "Sources/EmbraceConfigInternal",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"sources" : [
"EmbraceConfig+Options.swift",
"EmbraceConfig.swift",
"EmbraceConfigurable/RemoteConfig.swift",
"EmbraceConfigurable/RemoteConfig/RemoteConfig+Options.swift",
"EmbraceConfigurable/RemoteConfig/RemoteConfigFetcher.swift",
"EmbraceConfigurable/RemoteConfig/RemoteConfigPayload.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal",
"EmbraceConfiguration"
],
"type" : "library"
},
{
"c99name" : "EmbraceCommonInternalTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceCommonInternalTests",
"path" : "Tests/EmbraceCommonInternalTests",
"sources" : [
"Identifiers/LogIdentfierTests.swift",
"Identifiers/ProcessIdentifierTests.swift",
"Identifiers/SessionIdentifierTests.swift",
"Identifiers/UUID+WithoutHyphenTests.swift",
"Locks/EmbraceMutexTests.swift",
"Locks/ThreadSafeTests.swift",
"LogType/LogTypeDeclarationTests.swift",
"LogType/LogTypeTests.swift",
"Models/EmbraceStackTraceTests.swift",
"Models/LogSeverityTests.swift",
"SpanType/SpanTypeTests.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceCommonInternal",
"module_type" : "SwiftTarget",
"name" : "EmbraceCommonInternal",
"path" : "Sources/EmbraceCommonInternal",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceSemantics",
"EmbraceMacros",
"EmbraceKSCrashSupport",
"EmbraceCrashlyticsSupport"
],
"sources" : [
"CrashReporter/CrashReport.swift",
"CrashReporter/CrashReporter.swift",
"CrashReporter/CrashReporterContext.swift",
"CrashReporter/CrashSignal.swift",
"EmbraceMeta.swift",
"EmbraceType/EmbraceType.swift",
"EmbraceType/LogType.swift",
"EmbraceType/SpanEventType.swift",
"EmbraceType/SpanType+Declarations.swift",
"EmbraceType/SpanType.swift",
"Error Management/EmbraceStackTraceError.swift",
"Error Management/EmbraceSwizzableError.swift",
"Extensions/Date.swift",
"Extensions/ProcessInfo.swift",
"Identifiers/DeviceIdentifier.swift",
"Identifiers/LogIdentifier.swift",
"Identifiers/ProcessIdentifier.swift",
"Identifiers/SessionIdentifier.swift",
"Identifiers/UUID+WithoutHyphen.swift",
"InternalLogger.swift",
"Locks/EmbraceMutex.swift",
"Locks/ReadWriteLock.swift",
"Locks/UnfairLock.swift",
"Models/EmbraceStackTrace.swift",
"Models/LogSeverity.swift",
"Models/SessionState.swift",
"Models/StackTraceBehavior.swift",
"PropertyWrappers/ThreadSafe.swift",
"Protocols/DispatchableQueue.swift",
"Protocols/EmbraceSDKStateProvider.swift",
"Protocols/FilePathProvider.swift",
"Storage/JournalMode.swift",
"Storage/Model/EmbraceLog.swift",
"Storage/Model/EmbraceLogAttribute.swift",
"Storage/Model/EmbraceMetadata.swift",
"Storage/Model/EmbraceSession.swift",
"Storage/Model/EmbraceSpan.swift",
"Storage/StorageMechanism.swift",
"Swizzling/EmbraceSwizzler.swift",
"Swizzling/Swizzlable.swift",
"Swizzling/SwizzleCache.swift"
],
"type" : "library"
},
{
"c99name" : "EmbraceCaptureServiceTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceCaptureServiceTests",
"path" : "Tests/EmbraceCaptureServiceTests",
"sources" : [
"CaptureServiceTests.swift"
],
"target_dependencies" : [
"EmbraceCaptureService",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceCaptureService",
"module_type" : "SwiftTarget",
"name" : "EmbraceCaptureService",
"path" : "Sources/EmbraceCaptureService",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceMacros"
],
"sources" : [
"CaptureService.swift",
"CaptureServiceState.swift"
],
"target_dependencies" : [
"EmbraceOTelInternal"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.