Build Information
Successful build of EmbraceIO, reference main (21b54a
), with Swift 6.1 for macOS (SPM) on 5 May 2025 20:45:30 UTC.
Swift 6 data race errors: 86
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
502 |
503 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 | URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping DownloadTaskCompletion) -> URLSessionDownloadTask
505 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:504:20: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
502 |
503 | static var selector: Selector = #selector(
504 | URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping DownloadTaskCompletion) -> URLSessionDownloadTask
| `- warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
505 | )
506 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:550:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
548 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest) -> URLSessionUploadTask
549 |
550 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
551 | URLSession.uploadTask(withStreamedRequest:) as (URLSession) -> (URLRequest) -> URLSessionUploadTask
552 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:279:21: warning: capture of 'completion' with non-sendable type 'URLSessionCompletion?' (aka 'Optional<(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()>') in a '@Sendable' closure
277 | // create the task using a URLRequest and let the other swizzler handle it
278 | return urlSession.dataTask(with: URLRequest(url: url)) { data, response, error in
279 | completion?(data, response, error)
| |- warning: capture of 'completion' with non-sendable type 'URLSessionCompletion?' (aka 'Optional<(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
280 | }
281 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:9:20: warning: static property 'embraceCaptured' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | extension URLSessionTask {
8 | private struct AssociatedKeys {
9 | static var embraceCaptured: UInt8 = 0
| |- warning: static property 'embraceCaptured' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceCaptured' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceCaptured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:10:20: warning: static property 'embraceData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | private struct AssociatedKeys {
9 | static var embraceCaptured: UInt8 = 0
10 | static var embraceData: UInt8 = 1
| |- warning: static property 'embraceData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static var embraceStartTime: UInt8 = 2
12 | static var embraceEndTime: UInt8 = 3
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:11:20: warning: static property 'embraceStartTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static var embraceCaptured: UInt8 = 0
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
| |- warning: static property 'embraceStartTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceStartTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceStartTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static var embraceEndTime: UInt8 = 3
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:12:20: warning: static property 'embraceEndTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
12 | static var embraceEndTime: UInt8 = 3
| |- warning: static property 'embraceEndTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceEndTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceEndTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[594/607] Compiling EmbraceCore URLSessionTask+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:19:7: warning: non-final class 'EmbraceDummyURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | class EmbraceDummyURLSessionDelegate: NSObject, URLSessionDelegate {}
| `- warning: non-final class 'EmbraceDummyURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
20 |
21 | /// Service that generates OpenTelemetry spans for network requests that use `URLSession`.
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:98:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | typealias ImplementationType = @convention(c) (URLSession, Selector, URLSessionConfiguration, URLSessionDelegate?, OperationQueue?) -> URLSession
97 | typealias BlockImplementationType = @convention(block) (URLSession, URLSessionConfiguration, URLSessionDelegate?, OperationQueue?) -> URLSession
98 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | URLSession.init(configuration:delegate:delegateQueue:)
100 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:173:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | typealias ImplementationType = @convention(c) (URLSessionTask, Selector) -> Void
172 | typealias BlockImplementationType = @convention(block) (URLSessionTask) -> Void
173 | static var selector: Selector = #selector(URLSessionTask.resume)
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | var baseClass: AnyClass
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:213:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
211 | typealias BlockImplementationType = @convention(block) (URLSession, URL) -> URLSessionDataTask
212 |
213 | static var selector: Selector = #selector(URLSession.dataTask(with:) as (URLSession) -> (URL) -> URLSessionDataTask)
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | var baseClass: AnyClass
215 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:236:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | typealias ImplementationType = @convention(c) (URLSession, Selector, URLRequest) -> URLSessionDataTask
235 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest) -> URLSessionDataTask
236 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | URLSession.dataTask(with:) as (URLSession) -> (URLRequest) -> URLSessionDataTask
238 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:262:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
260 | typealias ImplementationType = @convention(c) (URLSession, Selector, URL, URLSessionCompletion?) -> URLSessionDataTask
261 | typealias BlockImplementationType = @convention(block) (URLSession, URL, URLSessionCompletion?) -> URLSessionDataTask
262 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping URLSessionCompletion) -> URLSessionDataTask
264 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:263:20: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
261 | typealias BlockImplementationType = @convention(block) (URLSession, URL, URLSessionCompletion?) -> URLSessionDataTask
262 | static var selector: Selector = #selector(
263 | URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping URLSessionCompletion) -> URLSessionDataTask
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
264 | )
265 | var baseClass: AnyClass
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:290:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
288 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, URLSessionCompletion?) -> URLSessionDataTask
289 |
290 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 | URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping URLSessionCompletion) -> URLSessionDataTask
292 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:291:20: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
289 |
290 | static var selector: Selector = #selector(
291 | URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping URLSessionCompletion) -> URLSessionDataTask
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
292 | )
293 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:335:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
333 | typealias ImplementationType = @convention(c) (URLSession, Selector, URLRequest, Data) -> URLSessionUploadTask
334 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, Data) -> URLSessionUploadTask
335 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | URLSession.uploadTask(with:from:) as (URLSession) -> (URLRequest, Data) -> URLSessionUploadTask
337 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:363:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
361 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, Data?, URLSessionCompletion?) -> URLSessionUploadTask
362 |
363 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
364 | URLSession.uploadTask(with:from:completionHandler:) as (URLSession) -> (URLRequest, Data?, @escaping URLSessionCompletion) -> URLSessionUploadTask
365 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:364:20: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
362 |
363 | static var selector: Selector = #selector(
364 | URLSession.uploadTask(with:from:completionHandler:) as (URLSession) -> (URLRequest, Data?, @escaping URLSessionCompletion) -> URLSessionUploadTask
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
365 | )
366 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:406:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
404 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, URL) -> URLSessionUploadTask
405 |
406 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
407 | URLSession.uploadTask(with:fromFile:) as (URLSession) -> (URLRequest, URL) -> URLSessionUploadTask
408 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:433:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
431 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, URL, URLSessionCompletion?) -> URLSessionUploadTask
432 |
433 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
434 | URLSession.uploadTask(with:fromFile:completionHandler:) as (URLSession) -> (URLRequest, URL, @escaping URLSessionCompletion) -> URLSessionUploadTask
435 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:434:20: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
432 |
433 | static var selector: Selector = #selector(
434 | URLSession.uploadTask(with:fromFile:completionHandler:) as (URLSession) -> (URLRequest, URL, @escaping URLSessionCompletion) -> URLSessionUploadTask
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
435 | )
436 | private let handler: URLSessionTaskHandler
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:475:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
473 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest) -> URLSessionDownloadTask
474 |
475 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
476 | URLSession.downloadTask(with:) as (URLSession) -> (URLRequest) -> URLSessionDownloadTask
477 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:503:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
501 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, DownloadTaskCompletion?) -> URLSessionDownloadTask
502 |
503 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 | URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping DownloadTaskCompletion) -> URLSessionDownloadTask
505 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:504:20: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
502 |
503 | static var selector: Selector = #selector(
504 | URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping DownloadTaskCompletion) -> URLSessionDownloadTask
| `- warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
505 | )
506 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:550:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
548 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest) -> URLSessionUploadTask
549 |
550 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
551 | URLSession.uploadTask(withStreamedRequest:) as (URLSession) -> (URLRequest) -> URLSessionUploadTask
552 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:279:21: warning: capture of 'completion' with non-sendable type 'URLSessionCompletion?' (aka 'Optional<(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()>') in a '@Sendable' closure
277 | // create the task using a URLRequest and let the other swizzler handle it
278 | return urlSession.dataTask(with: URLRequest(url: url)) { data, response, error in
279 | completion?(data, response, error)
| |- warning: capture of 'completion' with non-sendable type 'URLSessionCompletion?' (aka 'Optional<(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
280 | }
281 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:9:20: warning: static property 'embraceCaptured' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | extension URLSessionTask {
8 | private struct AssociatedKeys {
9 | static var embraceCaptured: UInt8 = 0
| |- warning: static property 'embraceCaptured' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceCaptured' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceCaptured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:10:20: warning: static property 'embraceData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | private struct AssociatedKeys {
9 | static var embraceCaptured: UInt8 = 0
10 | static var embraceData: UInt8 = 1
| |- warning: static property 'embraceData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static var embraceStartTime: UInt8 = 2
12 | static var embraceEndTime: UInt8 = 3
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:11:20: warning: static property 'embraceStartTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static var embraceCaptured: UInt8 = 0
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
| |- warning: static property 'embraceStartTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceStartTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceStartTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static var embraceEndTime: UInt8 = 3
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:12:20: warning: static property 'embraceEndTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
12 | static var embraceEndTime: UInt8 = 3
| |- warning: static property 'embraceEndTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceEndTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceEndTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[595/607] Compiling EmbraceCore URLSessionTaskHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:19:7: warning: non-final class 'EmbraceDummyURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
17 | }
18 |
19 | class EmbraceDummyURLSessionDelegate: NSObject, URLSessionDelegate {}
| `- warning: non-final class 'EmbraceDummyURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
20 |
21 | /// Service that generates OpenTelemetry spans for network requests that use `URLSession`.
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:98:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
96 | typealias ImplementationType = @convention(c) (URLSession, Selector, URLSessionConfiguration, URLSessionDelegate?, OperationQueue?) -> URLSession
97 | typealias BlockImplementationType = @convention(block) (URLSession, URLSessionConfiguration, URLSessionDelegate?, OperationQueue?) -> URLSession
98 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | URLSession.init(configuration:delegate:delegateQueue:)
100 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:173:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
171 | typealias ImplementationType = @convention(c) (URLSessionTask, Selector) -> Void
172 | typealias BlockImplementationType = @convention(block) (URLSessionTask) -> Void
173 | static var selector: Selector = #selector(URLSessionTask.resume)
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 |
175 | var baseClass: AnyClass
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:213:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
211 | typealias BlockImplementationType = @convention(block) (URLSession, URL) -> URLSessionDataTask
212 |
213 | static var selector: Selector = #selector(URLSession.dataTask(with:) as (URLSession) -> (URL) -> URLSessionDataTask)
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | var baseClass: AnyClass
215 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:236:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
234 | typealias ImplementationType = @convention(c) (URLSession, Selector, URLRequest) -> URLSessionDataTask
235 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest) -> URLSessionDataTask
236 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | URLSession.dataTask(with:) as (URLSession) -> (URLRequest) -> URLSessionDataTask
238 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:262:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
260 | typealias ImplementationType = @convention(c) (URLSession, Selector, URL, URLSessionCompletion?) -> URLSessionDataTask
261 | typealias BlockImplementationType = @convention(block) (URLSession, URL, URLSessionCompletion?) -> URLSessionDataTask
262 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
263 | URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping URLSessionCompletion) -> URLSessionDataTask
264 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:263:20: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
261 | typealias BlockImplementationType = @convention(block) (URLSession, URL, URLSessionCompletion?) -> URLSessionDataTask
262 | static var selector: Selector = #selector(
263 | URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URL, @escaping URLSessionCompletion) -> URLSessionDataTask
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
264 | )
265 | var baseClass: AnyClass
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:290:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
288 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, URLSessionCompletion?) -> URLSessionDataTask
289 |
290 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 | URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping URLSessionCompletion) -> URLSessionDataTask
292 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:291:20: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
289 |
290 | static var selector: Selector = #selector(
291 | URLSession.dataTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping URLSessionCompletion) -> URLSessionDataTask
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
292 | )
293 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:335:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
333 | typealias ImplementationType = @convention(c) (URLSession, Selector, URLRequest, Data) -> URLSessionUploadTask
334 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, Data) -> URLSessionUploadTask
335 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
336 | URLSession.uploadTask(with:from:) as (URLSession) -> (URLRequest, Data) -> URLSessionUploadTask
337 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:363:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
361 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, Data?, URLSessionCompletion?) -> URLSessionUploadTask
362 |
363 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
364 | URLSession.uploadTask(with:from:completionHandler:) as (URLSession) -> (URLRequest, Data?, @escaping URLSessionCompletion) -> URLSessionUploadTask
365 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:364:20: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
362 |
363 | static var selector: Selector = #selector(
364 | URLSession.uploadTask(with:from:completionHandler:) as (URLSession) -> (URLRequest, Data?, @escaping URLSessionCompletion) -> URLSessionUploadTask
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
365 | )
366 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:406:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
404 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, URL) -> URLSessionUploadTask
405 |
406 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
407 | URLSession.uploadTask(with:fromFile:) as (URLSession) -> (URLRequest, URL) -> URLSessionUploadTask
408 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:433:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
431 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, URL, URLSessionCompletion?) -> URLSessionUploadTask
432 |
433 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
434 | URLSession.uploadTask(with:fromFile:completionHandler:) as (URLSession) -> (URLRequest, URL, @escaping URLSessionCompletion) -> URLSessionUploadTask
435 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:434:20: warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
432 |
433 | static var selector: Selector = #selector(
434 | URLSession.uploadTask(with:fromFile:completionHandler:) as (URLSession) -> (URLRequest, URL, @escaping URLSessionCompletion) -> URLSessionUploadTask
| `- warning: converting non-sendable function value to '@Sendable (Data?, URLResponse?, (any Error)?) -> Void' may introduce data races
435 | )
436 | private let handler: URLSessionTaskHandler
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:475:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
473 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest) -> URLSessionDownloadTask
474 |
475 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
476 | URLSession.downloadTask(with:) as (URLSession) -> (URLRequest) -> URLSessionDownloadTask
477 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:503:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
501 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest, DownloadTaskCompletion?) -> URLSessionDownloadTask
502 |
503 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
504 | URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping DownloadTaskCompletion) -> URLSessionDownloadTask
505 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:504:20: warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
502 |
503 | static var selector: Selector = #selector(
504 | URLSession.downloadTask(with:completionHandler:) as (URLSession) -> (URLRequest, @escaping DownloadTaskCompletion) -> URLSessionDownloadTask
| `- warning: converting non-sendable function value to '@Sendable (URL?, URLResponse?, (any Error)?) -> Void' may introduce data races
505 | )
506 |
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:550:16: warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
548 | typealias BlockImplementationType = @convention(block) (URLSession, URLRequest) -> URLSessionUploadTask
549 |
550 | static var selector: Selector = #selector(
| |- warning: static property 'selector' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'selector' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'selector' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
551 | URLSession.uploadTask(withStreamedRequest:) as (URLSession) -> (URLRequest) -> URLSessionUploadTask
552 | )
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionCaptureService.swift:279:21: warning: capture of 'completion' with non-sendable type 'URLSessionCompletion?' (aka 'Optional<(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()>') in a '@Sendable' closure
277 | // create the task using a URLRequest and let the other swizzler handle it
278 | return urlSession.dataTask(with: URLRequest(url: url)) { data, response, error in
279 | completion?(data, response, error)
| |- warning: capture of 'completion' with non-sendable type 'URLSessionCompletion?' (aka 'Optional<(Optional<Data>, Optional<URLResponse>, Optional<any Error>) -> ()>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
280 | }
281 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:9:20: warning: static property 'embraceCaptured' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | extension URLSessionTask {
8 | private struct AssociatedKeys {
9 | static var embraceCaptured: UInt8 = 0
| |- warning: static property 'embraceCaptured' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceCaptured' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceCaptured' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:10:20: warning: static property 'embraceData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 | private struct AssociatedKeys {
9 | static var embraceCaptured: UInt8 = 0
10 | static var embraceData: UInt8 = 1
| |- warning: static property 'embraceData' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceData' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | static var embraceStartTime: UInt8 = 2
12 | static var embraceEndTime: UInt8 = 3
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:11:20: warning: static property 'embraceStartTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | static var embraceCaptured: UInt8 = 0
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
| |- warning: static property 'embraceStartTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceStartTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceStartTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static var embraceEndTime: UInt8 = 3
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Capture/Network/URLSessionTask+Extension.swift:12:20: warning: static property 'embraceEndTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | static var embraceData: UInt8 = 1
11 | static var embraceStartTime: UInt8 = 2
12 | static var embraceEndTime: UInt8 = 3
| |- warning: static property 'embraceEndTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'embraceEndTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'embraceEndTime' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[596/607] Compiling EmbraceCore SessionSpanUtils.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[597/607] Compiling EmbraceCore CGPoint+toString.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[598/607] Compiling EmbraceCore Data+Gzip.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[599/607] Compiling EmbraceCore Encodable+JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[600/607] Compiling EmbraceCore KeychainAccess.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[601/607] Compiling EmbraceCore KeychainInterface.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[602/607] Compiling EmbraceCore NSObject+Embrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[603/607] Compiling EmbraceCore ProcessInfo+Embrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[604/607] Compiling EmbraceCore URL+Embrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[605/607] Compiling EmbraceCore W3C+TraceParent.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[606/607] Compiling EmbraceCore W3C.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[607/607] Compiling EmbraceCore resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/Utils/KeychainAccess.swift:18: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
16 | private init() { }
17 |
18 | 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
19 |
20 | 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:13: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
11 | extension NSObject {
12 | private struct AssociatedKeys {
13 | 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
14 | }
15 |
[608/642] Compiling EmbraceIO Options+CaptureService.swift
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceIO/Options/Options+CaptureService.swift:94:1: warning: extension declares a conformance of imported type 'Options' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'EmbraceCore' introduce this conformance in the future
92 | }
93 |
94 | extension Embrace.Options: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Options' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'EmbraceCore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
95 | public convenience init(stringLiteral value: String) {
96 | self.init(appId: value)
[609/642] Compiling EmbraceIO EmbraceCore+Export.swift
[610/642] Compiling EmbraceIO CaptureService+Helpers.swift
[611/642] Emitting module EmbraceIO
/Users/admin/builder/spi-builder-workspace/Sources/EmbraceIO/Options/Options+CaptureService.swift:94:1: warning: extension declares a conformance of imported type 'Options' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'EmbraceCore' introduce this conformance in the future
92 | }
93 |
94 | extension Embrace.Options: ExpressibleByStringLiteral {
| |- warning: extension declares a conformance of imported type 'Options' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'EmbraceCore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
95 | public convenience init(stringLiteral value: String) {
96 | self.init(appId: value)
[612/642] Compiling EmbraceIO CaptureServiceBuilder.swift
[613/642] Compiling TestSupport MockEmbraceOTelBridge.swift
[614/642] Compiling TestSupport MockEmbraceOpenTelemetry.swift
[615/642] Compiling TestSupport MockEmbraceSDKStateProvider.swift
[616/645] 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 | public 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 | 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
[617/645] 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 | public 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 | 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
[618/645] 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 | public 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 | 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
[619/645] 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 | public 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 | 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
[620/645] Compiling TestSupport MockLogger.swift
[621/645] Compiling TestSupport MockQueue.swift
[622/645] Compiling TestSupport MockSpanProcessor.swift
[623/645] 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 | public 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 | 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 | public 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 | 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(hex: "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:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
4 |
5 | import Foundation
6 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
7 |
8 | // swiftlint:disable line_length
:
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(hex: "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(hex: "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:8:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
6 |
7 | /// The unique identifier for this process that has a higher cardinality than the system PID
8 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
9 | public let value: UInt32
10 |
/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
[624/645] 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:39:43: note: class property declared here
37 | This will be `nil` until the `setup` method is called, or if the setup process fails.
38 | */
39 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
40 |
41 | /// The `Embrace.Options` that were used to configure the SDK.
[625/645] 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:39:43: note: class property declared here
37 | This will be `nil` until the `setup` method is called, or if the setup process fails.
38 | */
39 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
40 |
41 | /// The `Embrace.Options` that were used to configure the SDK.
[626/645] 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:39:43: note: class property declared here
37 | This will be `nil` until the `setup` method is called, or if the setup process fails.
38 | */
39 | @objc public internal(set) static var client: Embrace?
| `- note: class property declared here
40 |
41 | /// The `Embrace.Options` that were used to configure the SDK.
[627/645] Compiling TestSupport URL+MockResponse.swift
/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 | public 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 | var mockResponse: URLTestProxiedResponse? {
[628/645] Compiling TestSupport URLTestProxiedResponse.swift
/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 | public 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 | var mockResponse: URLTestProxiedResponse? {
[629/645] Compiling TestSupport URLTestProxy.swift
/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 | public 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 | var mockResponse: URLTestProxiedResponse? {
[630/645] Compiling TestSupport Dictionary+Extension.swift
[631/645] Compiling TestSupport EmbraceStorage+Extension.swift
[632/645] Compiling TestSupport Int+Extension.swift
[633/645] Compiling TestSupport String+Extension.swift
[634/645] Compiling TestSupport DummyLogControllable.swift
[635/645] Compiling TestSupport InMemoryLogRecordExporter.swift
[636/645] Compiling TestSupport MockEmbraceConfigurable.swift
[637/645] Compiling TestSupport InMemorySpanExporter.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(hex: "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:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
4 |
5 | import Foundation
6 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
7 |
8 | // swiftlint:disable line_length
:
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(hex: "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(hex: "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:8:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
6 |
7 | /// The unique identifier for this process that has a higher cardinality than the system PID
8 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
9 | public let value: UInt32
10 |
/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
[638/645] Compiling TestSupport TemporaryFilepathProvider.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(hex: "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:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
4 |
5 | import Foundation
6 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
7 |
8 | // swiftlint:disable line_length
:
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(hex: "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(hex: "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:8:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
6 |
7 | /// The unique identifier for this process that has a higher cardinality than the system PID
8 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
9 | public let value: UInt32
10 |
/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
[639/645] 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(hex: "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:6:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
4 |
5 | import Foundation
6 | import EmbraceCommonInternal
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'EmbraceCommonInternal'
7 |
8 | // swiftlint:disable line_length
:
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(hex: "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(hex: "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:8:15: note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
6 |
7 | /// The unique identifier for this process that has a higher cardinality than the system PID
8 | public struct ProcessIdentifier: Equatable {
| `- note: struct 'ProcessIdentifier' does not conform to the 'Sendable' protocol
9 | public let value: UInt32
10 |
/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
[640/645] Compiling TestSupport MockLog.swift
[641/645] Compiling TestSupport MockMetadata.swift
[642/645] Compiling TestSupport MockSession.swift
[643/645] Compiling TestSupport TimeInterval+Test.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:18:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
16 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
17 | do {
18 | 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'
19 | expectation.fulfill()
20 | }
[644/645] Compiling TestSupport XCTSkip+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:18:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
16 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
17 | do {
18 | 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'
19 | expectation.fulfill()
20 | }
[645/645] Compiling TestSupport XCTestCase+WaitHelpers.swift
/Users/admin/builder/spi-builder-workspace/Tests/TestSupport/XCTestCase+WaitHelpers.swift:18:24: warning: capture of 'block' with non-sendable type '() throws -> Bool' in a '@Sendable' closure
16 | let timer = Timer.scheduledTimer(withTimeInterval: interval, repeats: true) { _ in
17 | do {
18 | 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'
19 | expectation.fulfill()
20 | }
Build complete! (34.48s)
Build complete.
{
"dependencies" : [
{
"identity" : "kscrash",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "2.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kstenerud/KSCrash"
},
{
"identity" : "opentelemetry-swift",
"requirement" : {
"exact" : [
"1.13.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/open-telemetry/opentelemetry-swift"
}
],
"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" : "EmbraceCrash",
"targets" : [
"EmbraceCrash"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmbraceCrashlyticsSupport",
"targets" : [
"EmbraceCrashlyticsSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EmbraceSemantics",
"targets" : [
"EmbraceSemantics"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"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",
"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"
],
"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"
],
"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"
],
"sources" : [
"Logs/LogSemantics+Crash.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+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"
],
"sources" : [
"source/EMBBinaryImageProvider.m",
"source/EMBDevice.m",
"source/EMBRURLSessionTaskHeaderInjector.m",
"source/EMBStackTraceProccessor.m",
"source/EMBURLSessionDelegateForwarder.m",
"source/EMBURLSessionDelegateProxy.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"
],
"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" : "EmbraceIOTests",
"module_type" : "SwiftTarget",
"name" : "EmbraceIOTests",
"path" : "Tests/EmbraceIOTests",
"sources" : [
"CaptureServiceBuilderTests.swift"
],
"target_dependencies" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceCrash",
"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",
"EmbraceCrash",
"EmbraceSemantics"
],
"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" : [
"EmbraceCrash",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceCrash",
"module_type" : "SwiftTarget",
"name" : "EmbraceCrash",
"path" : "Sources/EmbraceCrash",
"product_dependencies" : [
"Recording"
],
"product_memberships" : [
"EmbraceIO",
"EmbraceCrash"
],
"sources" : [
"EmbraceCrashReporter.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal"
],
"type" : "library"
},
{
"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/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/WebView/MockWKNavigationDelegate.swift",
"Capture/WebView/WKNavigationDelegateProxyTests.swift",
"Capture/WebView/WebViewCaptureServiceTests.swift",
"Internal/DefaultInternalLoggerTests.swift",
"Internal/EmbraceMeta+UserAgentTests.swift",
"Internal/EmbraceSpanProcessor+StorageTests.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/LogsBatchTests.swift",
"Internal/ProcessMetadataTests.swift",
"Internal/ResourceStorageExporterTests.swift",
"Internal/SpanStorageExporter/Validation/SpanDataValidationTests.swift",
"Internal/SpanStorageExporter/Validation/Validators/LengthOfNameValidatorTests.swift",
"Internal/SpanStorageExporter/Validation/Validators/WhitespaceSpanNameValidatorTests.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/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/SessionControllerTests.swift",
"Session/SessionHeartbeatTests.swift",
"Session/SessionSpanUtilsTests.swift",
"Session/UnsentDataHandlerTests.swift",
"TestSupport/MockLogDataValidator.swift",
"TestSupport/MockSpanDataValidator.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/MockURLSessionSwizzler.swift",
"TestSupport/TestDoubles/MockURLSessionTaskHandler.swift",
"TestSupport/TestDoubles/MockedURLSessionSwizzlerProvider.swift",
"TestSupport/TestDoubles/NotImplementedURLSessionDelegate.swift",
"TestSupport/TestDoubles/SpyEmbraceLogUploader.swift",
"TestSupport/TestDoubles/SpyLogBatcherDelegate.swift",
"TestSupport/TestDoubles/SpyLogRepository.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"
],
"target_dependencies" : [
"EmbraceCommonInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceCoreDataInternal",
"module_type" : "SwiftTarget",
"name" : "EmbraceCoreDataInternal",
"path" : "Sources/EmbraceCoreDataInternal",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore"
],
"sources" : [
"CoreDataWrapper+Options.swift",
"CoreDataWrapper.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal"
],
"type" : "library"
},
{
"c99name" : "EmbraceCore",
"module_type" : "SwiftTarget",
"name" : "EmbraceCore",
"path" : "Sources/EmbraceCore",
"product_memberships" : [
"EmbraceIO",
"EmbraceCore"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/EmbraceCore/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Capture/CaptureServiceFactory.swift",
"Capture/CaptureServices.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/ViewInstrumentationState.swift",
"Capture/WebView/WKWebView+Embrace.swift",
"Capture/WebView/WebViewCaptureService+Options.swift",
"Capture/WebView/WebViewCaptureService.swift",
"Embrace.swift",
"ErrorManagement/EmbraceSetupError.swift",
"ExampleCrash/CrashHelper.swift",
"FileSystem/EmbraceFilePathProvider.swift",
"FileSystem/EmbraceFileSystem.swift",
"Internal/Embrace+Config.swift",
"Internal/Embrace+EmbraceSDKStateProvider.swift",
"Internal/Embrace+Setup.swift",
"Internal/EmbraceMeta+UserAgent.swift",
"Internal/Identifiers/DeviceIdentifier+Persistence.swift",
"Internal/Logs/DefaultEmbraceLogSharedState.swift",
"Internal/Logs/DefaultEmbraceLoggerConfig.swift",
"Internal/Logs/DefaultInternalLogger.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/ProcessMetadata.swift",
"Internal/ResourceKeys/AppResourceKey.swift",
"Internal/ResourceKeys/DeviceResourceKey.swift",
"Internal/ResourceKeys/UserResourceKey.swift",
"Internal/ResourceStorageExporter/ResourceStorageExporter.swift",
"Internal/SpanStorageExporter/Validation/SpanDataValidation.swift",
"Internal/SpanStorageExporter/Validation/SpanDataValidator.swift",
"Internal/SpanStorageExporter/Validation/Validators/Collection+SpanDataValidator.swift",
"Internal/SpanStorageExporter/Validation/Validators/LengthOfNameValidator.swift",
"Internal/SpanStorageExporter/Validation/Validators/WhitespaceSpanNameValidator.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/PushNotifications/PushNotificationError.swift",
"Public/PushNotifications/PushNotificationEvent.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",
"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"
],
"sources" : [
"EmbraceConfigurable.swift",
"EmbraceConfigurable/DefaultConfig.swift",
"InternalLogLimits.swift",
"NetworkPayloadCaptureRule.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"
],
"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",
"LogType/LogTypeDeclarationTests.swift",
"LogType/LogTypeTests.swift",
"Models/EmbraceStackTraceTests.swift",
"Models/LogSeverityTests.swift",
"SpanType/SpanTypeTests.swift",
"ThreadSafeTests.swift"
],
"target_dependencies" : [
"EmbraceCommonInternal",
"TestSupport"
],
"type" : "test"
},
{
"c99name" : "EmbraceCommonInternal",
"module_type" : "SwiftTarget",
"name" : "EmbraceCommonInternal",
"path" : "Sources/EmbraceCommonInternal",
"product_dependencies" : [
"OpenTelemetrySdk"
],
"product_memberships" : [
"EmbraceIO",
"EmbraceCore",
"EmbraceCrash",
"EmbraceCrashlyticsSupport",
"EmbraceSemantics"
],
"sources" : [
"CrashReporter/CrashReporter.swift",
"CrashReporter/CrashReporterContext.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",
"Identifiers/DeviceIdentifier.swift",
"Identifiers/LogIdentifier.swift",
"Identifiers/ProcessIdentifier.swift",
"Identifiers/SessionIdentifier.swift",
"Identifiers/UUID+WithoutHyphen.swift",
"InternalLogger.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/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",
"UnfairLock.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"
],
"sources" : [
"CaptureService.swift",
"CaptureServiceState.swift"
],
"target_dependencies" : [
"EmbraceOTelInternal"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.