The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of ETTrace, reference v1.1.1 (01e1b0), with Swift 6.0 for macOS (SPM) on 26 Nov 2024 22:42:49 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmergeTools/ETTrace.git
Reference: v1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EmergeTools/ETTrace
 * tag               v1.1.1     -> FETCH_HEAD
HEAD is now at 01e1b0f Fix memory leak (#102)
Cloned https://github.com/EmergeTools/ETTrace.git
Revision (git rev-parse @):
01e1b0f7b71acac9b21bfbd47bd5f4ab480826db
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/EmergeTools/ETTrace.git at v1.1.1
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/EmergeTools/peertalk.git
[1/682] Fetching peertalk
[70/6714] Fetching peertalk, swifter
[855/19109] Fetching peertalk, swifter, swift-argument-parser
Fetched https://github.com/httpswift/swifter.git from cache (1.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.60s)
Fetched https://github.com/EmergeTools/peertalk.git from cache (1.60s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (3.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.2 (0.64s)
Computing version for https://github.com/EmergeTools/peertalk.git
Computed https://github.com/EmergeTools/peertalk.git at 1.0.0 (0.60s)
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.2
Creating working copy for https://github.com/EmergeTools/peertalk.git
Working copy of https://github.com/EmergeTools/peertalk.git resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "ettrace",
      "name": "ETTrace",
      "url": "https://github.com/EmergeTools/ETTrace.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ETTrace",
      "dependencies": [
        {
          "identity": "peertalk",
          "name": "Peertalk",
          "url": "https://github.com/EmergeTools/peertalk.git",
          "version": "1.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/peertalk",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "swifter",
          "name": "Swifter",
          "url": "https://github.com/httpswift/swifter.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifter",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/EmergeTools/ETTrace.git
[14/1302] Fetching ettrace
Fetched https://github.com/EmergeTools/ETTrace.git from cache (1.30s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/httpswift/swifter.git from cache
Fetching https://github.com/EmergeTools/peertalk.git from cache
Fetched https://github.com/EmergeTools/peertalk.git from cache (0.57s)
Fetched https://github.com/httpswift/swifter.git from cache (0.57s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.57s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.02s)
Computing version for https://github.com/EmergeTools/peertalk.git
Computed https://github.com/EmergeTools/peertalk.git at 1.0.0 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.45s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/EmergeTools/peertalk.git
Working copy of https://github.com/EmergeTools/peertalk.git resolved at 1.0.0
Creating working copy for https://github.com/EmergeTools/ETTrace.git
Working copy of https://github.com/EmergeTools/ETTrace.git resolved at v1.1.1 (01e1b0f)
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Found 3 product dependencies
  - Peertalk
  - swift-argument-parser
  - Swifter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/EmergeTools/ETTrace.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/34] Write sources
[4/34] Write swift-version--7754E27361AE5C74.txt
[5/34] Compiling FIRCLSInternalLogging.c
[6/34] Compiling FIRCLSThreadState.c
[7/34] Compiling FIRCLSUnwind.c
[8/34] Write sources
[9/34] Write ETTraceRunner-entitlement.plist
[10/53] Compiling FIRCLSUnwind_arm.c
[11/53] Compiling FIRCLSEmerge.c
[12/53] Write sources
[13/53] Compiling FIRCLSUnwind_x86.c
[14/59] Compiling CommunicationFrame EMGDummyEmptyClass.m
[15/59] Write sources
[15/59] Compiling FIRCLSLogger.m
[18/59] Compiling Peertalk PTProtocol.m
[19/59] Compiling Peertalk PTUSBHub.m
[20/61] Compiling FIRCLSUtility.m
/Users/admin/builder/spi-builder-workspace/ETTrace/ETTrace/EMGChannelListener.m:121:95: warning: incompatible pointer types sending 'dispatch_data_t' (aka 'NSObject<OS_dispatch_data> *') to parameter of type 'NSData * _Nullable' [-Wincompatible-pointer-types]
  121 |     [self.peerChannel sendFrameOfType:PTFrameTypeResultsMetadata tag:PTFrameNoTag withPayload:dataFrame callback:nil];
      |                                                                                               ^~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.build/checkouts/peertalk/peertalk/public/PTChannel.h:72:94: note: passing argument to parameter 'payload' here
   72 | - (void)sendFrameOfType:(uint32_t)frameType tag:(uint32_t)tag withPayload:(nullable NSData *)payload callback:(nullable void(^)(NSError * _Nullable error))callback NS_SWIFT_NAME(sendFrame(type:tag:payload:callback:));
      |                                                                                              ^
1 warning generated.
[21/61] Compiling ETTrace EMGChannelListener.m
[22/64] Compiling Peertalk PTChannel.m
[23/64] Compiling ETTrace EMGPerfAnalysis.mm
[25/64] Emitting module ArgumentParserToolInfo
[26/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/102] Emitting module ArgumentParser
[28/102] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/102] Compiling ArgumentParser CompletionsGenerator.swift
[30/102] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/102] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/102] Compiling ArgumentParser Argument.swift
[33/102] Compiling ArgumentParser ArgumentHelp.swift
[34/102] Compiling ArgumentParser ArgumentVisibility.swift
[35/102] Compiling ArgumentParser CompletionKind.swift
[36/102] Compiling ArgumentParser Errors.swift
[37/106] Compiling ArgumentParser Platform.swift
[38/106] Compiling ArgumentParser SequenceExtensions.swift
[39/106] Compiling ArgumentParser StringExtensions.swift
[40/106] Compiling ArgumentParser Tree.swift
[41/106] Compiling ArgumentParser ParsedValues.swift
[42/106] Compiling ArgumentParser ParsableArguments.swift
[43/108] Compiling TracerSwift ThreadHelper.swift
/Users/admin/builder/spi-builder-workspace/ETTrace/TracerSwift/ThreadHelper.swift:30:14: warning: static property 'symbolsLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 | public class ThreadHelper: NSObject {
 29 |   public static let main_thread_t = mach_thread_self()
 30 |   static var symbolsLoaded = false
    |              |- warning: static property 'symbolsLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'symbolsLoaded' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'symbolsLoaded' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |   static var symbolAddressTuples = [(UInt, String)]()
 32 |   static let kMaxFramesPerStack = 512
/Users/admin/builder/spi-builder-workspace/ETTrace/TracerSwift/ThreadHelper.swift:31:14: warning: static property 'symbolAddressTuples' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |   public static let main_thread_t = mach_thread_self()
 30 |   static var symbolsLoaded = false
 31 |   static var symbolAddressTuples = [(UInt, String)]()
    |              |- warning: static property 'symbolAddressTuples' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'symbolAddressTuples' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'symbolAddressTuples' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |   static let kMaxFramesPerStack = 512
 33 |
/Users/admin/builder/spi-builder-workspace/ETTrace/TracerSwift/ThreadHelper.swift:54:24: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 52 |     var threads: thread_act_array_t!
 53 |
 54 |     guard task_threads(mach_task_self_, &(threads), &count) == KERN_SUCCESS else {
    |                        `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 55 |       return result
 56 |     }
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
  |            `- note: var declared here
/Users/admin/builder/spi-builder-workspace/ETTrace/TracerSwift/ThreadHelper.swift:60:21: warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 58 |     defer {
 59 |       let size = MemoryLayout<thread_t>.size * Int(count)
 60 |       vm_deallocate(mach_task_self_, vm_address_t(bitPattern: threads), vm_size_t(size))
    |                     `- warning: reference to var 'mach_task_self_' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 61 |     }
 62 |
Darwin.mach_task_self_:1:12: note: var declared here
1 | public var mach_task_self_: mach_port_t
  |            `- note: var declared here
[44/108] Compiling ArgumentParser ParserError.swift
[45/108] Compiling ArgumentParser SplitArguments.swift
[46/108] Compiling ArgumentParser DumpHelpGenerator.swift
[47/108] Compiling ArgumentParser HelpCommand.swift
[48/108] Compiling ArgumentParser Flag.swift
[49/108] Compiling ArgumentParser NameSpecification.swift
[50/108] Compiling ArgumentParser Option.swift
[51/108] Compiling ArgumentParser OptionGroup.swift
[52/108] Compiling ArgumentParser AsyncParsableCommand.swift
[53/108] Compiling ArgumentParser CommandConfiguration.swift
[54/108] Compiling ArgumentParser EnumerableFlag.swift
[55/108] Compiling ArgumentParser ExpressibleByArgument.swift
[56/108] Compiling ArgumentParser ArgumentDefinition.swift
[57/108] Compiling Swifter String+SHA1.swift
[58/108] Compiling Swifter WebSockets.swift
[59/108] Compiling ArgumentParser InputKey.swift
[60/108] Compiling ArgumentParser InputOrigin.swift
[61/108] Compiling ArgumentParser Name.swift
[62/108] Compiling ArgumentParser Parsed.swift
[65/108] Compiling ArgumentParser ParsableArgumentsValidation.swift
[66/108] Compiling ArgumentParser ParsableCommand.swift
[67/108] Compiling ArgumentParser ArgumentDecoder.swift
[68/108] Compiling ArgumentParser HelpGenerator.swift
[69/108] Compiling ArgumentParser MessageInfo.swift
[70/108] Compiling ArgumentParser UsageGenerator.swift
[71/108] Compiling ArgumentParser CollectionExtensions.swift
[74/108] Compiling ETModels FlameNode.swift
[75/108] Compiling ETModels Sample.swift
[76/108] Compiling ETModels ThreadNode.swift
[77/108] Emitting module TracerSwift
/Users/admin/builder/spi-builder-workspace/ETTrace/TracerSwift/ThreadHelper.swift:30:14: warning: static property 'symbolsLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 | public class ThreadHelper: NSObject {
 29 |   public static let main_thread_t = mach_thread_self()
 30 |   static var symbolsLoaded = false
    |              |- warning: static property 'symbolsLoaded' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'symbolsLoaded' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'symbolsLoaded' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |   static var symbolAddressTuples = [(UInt, String)]()
 32 |   static let kMaxFramesPerStack = 512
/Users/admin/builder/spi-builder-workspace/ETTrace/TracerSwift/ThreadHelper.swift:31:14: warning: static property 'symbolAddressTuples' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 29 |   public static let main_thread_t = mach_thread_self()
 30 |   static var symbolsLoaded = false
 31 |   static var symbolAddressTuples = [(UInt, String)]()
    |              |- warning: static property 'symbolAddressTuples' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: convert 'symbolAddressTuples' to a 'let' constant to make 'Sendable' shared state immutable
    |              |- note: annotate 'symbolAddressTuples' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |   static let kMaxFramesPerStack = 512
 33 |
[78/108] Compiling TracerSwift UnsafeRawPointer+Commands.swift
[93/108] Emitting module Swifter
[96/108] Compiling ETModels Flamegraph.swift
[97/108] Emitting module ETModels
[98/108] Compiling ETModels FlamegraphEvent.swift
[98/108] Compiling Tracer EMGTracer+PrintThreads.m
[99/113] Compiling JSONWrapper JSONWrapper.m
[100/113] Compiling Tracer EMGWriteLibraries.m
[101/113] Compiling Tracer EMGStackTraceRecorder.cpp
[102/113] Compiling Tracer EMGTracer.mm
[103/113] Write Objects.LinkFileList
[104/113] Linking libETTrace.dylib
[106/113] Emitting module Symbolicator
[107/113] Compiling Symbolicator Models.swift
[108/113] Compiling Symbolicator Symbolicator.swift
/Users/admin/builder/spi-builder-workspace/ETTrace/Symbolicator/Symbolicator.swift:58:31: warning: capture of 'self' with non-sendable type 'StackSymbolicator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 17 | typealias SymbolicationResult = [UInt64: (String, String, Bool)]
 18 |
 19 | public class StackSymbolicator {
    |              `- note: class 'StackSymbolicator' does not conform to the 'Sendable' protocol
 20 |     var formatSymbolCache: [String: String] = [:]
 21 |
    :
 56 |             group.enter()
 57 |             queue.async {
 58 |                 if let dSym = self.dsymForLib(lib) {
    |                               `- warning: capture of 'self' with non-sendable type 'StackSymbolicator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |                     let addrToSym = Self.addrToSymForBinary(dSym, self.archForBinary(dSym), addrs)
 60 |                     stateLock.lock()
/Users/admin/builder/spi-builder-workspace/ETTrace/Symbolicator/Symbolicator.swift:58:47: warning: capture of 'lib' with non-sendable type 'LoadedLibrary' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 56 |             group.enter()
 57 |             queue.async {
 58 |                 if let dSym = self.dsymForLib(lib) {
    |                                               `- warning: capture of 'lib' with non-sendable type 'LoadedLibrary' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 59 |                     let addrToSym = Self.addrToSymForBinary(dSym, self.archForBinary(dSym), addrs)
 60 |                     stateLock.lock()
/Users/admin/builder/spi-builder-workspace/ETTrace/Symbolicator/Models.swift:21:15: note: consider making struct 'LoadedLibrary' conform to the 'Sendable' protocol
19 | }
20 |
21 | public struct LoadedLibrary: Decodable, Equatable, Hashable {
   |               `- note: consider making struct 'LoadedLibrary' conform to the 'Sendable' protocol
22 |     public let path: String
23 |     public let loadAddress: UInt64
/Users/admin/builder/spi-builder-workspace/ETTrace/Symbolicator/Symbolicator.swift:61:21: warning: mutation of captured var 'libToAddrToSym' in concurrently-executing code; this is an error in the Swift 6 language mode
 59 |                     let addrToSym = Self.addrToSymForBinary(dSym, self.archForBinary(dSym), addrs)
 60 |                     stateLock.lock()
 61 |                     libToAddrToSym[lib.path] = addrToSym
    |                     `- warning: mutation of captured var 'libToAddrToSym' in concurrently-executing code; this is an error in the Swift 6 language mode
 62 |                     stateLock.unlock()
 63 |                 }
[109/113] Compiling Symbolicator FlamegraphGenerator.swift
[110/113] Compiling Symbolicator Utils.swift
/Users/admin/builder/spi-builder-workspace/ETTrace/Symbolicator/Utils.swift:56:11: warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
54 |       } else {
55 |         if let newString = String(data: data, encoding: .utf8) {
56 |           result.append(newString)
   |           `- warning: mutation of captured var 'result' in concurrently-executing code; this is an error in the Swift 6 language mode
57 |         }
58 |       }
[111/122] Compiling ETTraceRunner ResponseModel.swift
[112/122] Compiling ETTraceRunner main.swift
[113/122] Compiling ETTraceRunner SimulatorDeviceManager.swift
[114/122] Compiling ETTraceRunner DeviceManager.swift
[115/122] Compiling ETTraceRunner ETTrace.swift
[116/122] Emitting module ETTraceRunner
[117/122] Compiling ETTraceRunner CommunicationChannel.swift
/Users/admin/builder/spi-builder-workspace/ETTrace/ETTraceRunner/Devices/CommunicationChannel.swift:36:12: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 34 |     return await withCheckedContinuation { continuation in
 35 |       DispatchQueue.main.async { [weak self] in
 36 |         if self?.reportGenerated == true {
    |            |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |            `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 37 |           continuation.resume()
 38 |         } else {
/Users/admin/builder/spi-builder-workspace/ETTrace/ETTraceRunner/Devices/CommunicationChannel.swift:48:26: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 46 |     return await withCheckedContinuation{ continuation in
 47 |       DispatchQueue.main.async { [weak self] in
 48 |         guard let self = self else { return }
    |                          |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                          `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 49 |
 50 |         if self.resultsReceived == true {
[118/122] Compiling ETTraceRunner PhysicalDeviceManager.swift
/Users/admin/builder/spi-builder-workspace/ETTrace/ETTraceRunner/Devices/PhysicalDeviceManager.swift:49:24: warning: capture of 'self' with non-sendable type 'PhysicalDevicemanager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | }
16 |
17 | class PhysicalDevicemanager: DeviceManager {
   |       `- note: class 'PhysicalDevicemanager' does not conform to the 'Sendable' protocol
18 |
19 |     var communicationChannel: CommunicationChannel
   :
47 |               } else {
48 |                 observer = NotificationCenter.default.addObserver(forName:.deviceDidAttach, object: usbHub, queue: nil) {[weak self] notification in
49 |                     if self?.verbose == true {
   |                        `- warning: capture of 'self' with non-sendable type 'PhysicalDevicemanager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
50 |                       print("Device did attach notification")
51 |                     }
/Users/admin/builder/spi-builder-workspace/ETTrace/ETTraceRunner/Devices/PhysicalDeviceManager.swift:57:118: warning: capture of 'usbHub' with non-sendable type 'PTUSBHub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |                     self?.deviceID = deviceID
56 |
57 |                     NotificationCenter.default.removeObserver(self?.observer as Any, name: .deviceDidAttach, object: usbHub)
   |                                                                                                                      `- warning: capture of 'usbHub' with non-sendable type 'PTUSBHub' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 |
59 |                     self?.connect(withId: deviceID, usbHub: usbHub, continuation: continuation)
Peertalk.PTUSBHub:1:12: note: class 'PTUSBHub' does not conform to the 'Sendable' protocol
 1 | open class PTUSBHub : NSObject {
   |            `- note: class 'PTUSBHub' does not conform to the 'Sendable' protocol
 2 |     open class func shared() -> Self!
 3 |     @available(swift, obsoleted: 3, renamed: "shared()")
/Users/admin/builder/spi-builder-workspace/ETTrace/ETTraceRunner/Devices/PhysicalDeviceManager.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Peertalk'
 7 |
 8 | import Foundation
 9 | import Peertalk
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Peertalk'
10 | import CommunicationFrame
11 |
[119/122] Compiling ETTraceRunner RunnerHelper.swift
[119/122] Write Objects.LinkFileList
[120/122] Linking ETTraceRunner
[121/122] Applying ETTraceRunner
Build complete! (30.38s)
Build complete.
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
    {
      "identity" : "peertalk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/EmergeTools/peertalk.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swifter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/httpswift/swifter.git"
    }
  ],
  "manifest_display_name" : "ETTrace",
  "name" : "ETTrace",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "ETTrace",
      "targets" : [
        "ETTrace"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "Tracer",
      "targets" : [
        "Tracer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Symbolicator",
      "targets" : [
        "Symbolicator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ETTraceRunner",
      "targets" : [
        "ETTraceRunner"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Unwinding",
      "module_type" : "ClangTarget",
      "name" : "Unwinding",
      "path" : "Unwinding/Crashlytics",
      "product_memberships" : [
        "ETTrace",
        "Tracer"
      ],
      "sources" : [
        "Crashlytics/Components/FIRCLSEmerge.c",
        "Crashlytics/Helpers/FIRCLSInternalLogging.c",
        "Crashlytics/Helpers/FIRCLSLogger.m",
        "Crashlytics/Helpers/FIRCLSThreadState.c",
        "Crashlytics/Helpers/FIRCLSUtility.m",
        "Crashlytics/Unwind/FIRCLSUnwind.c",
        "Crashlytics/Unwind/FIRCLSUnwind_arm.c",
        "Crashlytics/Unwind/FIRCLSUnwind_x86.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TracerSwift",
      "module_type" : "SwiftTarget",
      "name" : "TracerSwift",
      "path" : "ETTrace/TracerSwift",
      "product_memberships" : [
        "ETTrace",
        "Tracer"
      ],
      "sources" : [
        "ThreadHelper.swift",
        "UnsafeRawPointer+Commands.swift"
      ],
      "target_dependencies" : [
        "Unwinding"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Tracer",
      "module_type" : "ClangTarget",
      "name" : "Tracer",
      "path" : "ETTrace/Tracer",
      "product_memberships" : [
        "ETTrace",
        "Tracer"
      ],
      "sources" : [
        "EMGStackTraceRecorder.cpp",
        "EMGTracer+PrintThreads.m",
        "EMGTracer.mm",
        "EMGWriteLibraries.m"
      ],
      "target_dependencies" : [
        "Unwinding",
        "TracerSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Symbolicator",
      "module_type" : "SwiftTarget",
      "name" : "Symbolicator",
      "path" : "ETTrace/Symbolicator",
      "product_memberships" : [
        "Symbolicator",
        "ETTraceRunner"
      ],
      "sources" : [
        "FlamegraphGenerator.swift",
        "Models.swift",
        "Symbolicator.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "ETModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "JSONWrapper",
      "module_type" : "ClangTarget",
      "name" : "JSONWrapper",
      "path" : "ETTrace/JSONWrapper",
      "product_memberships" : [
        "ETTraceRunner"
      ],
      "sources" : [
        "JSONWrapper.m"
      ],
      "target_dependencies" : [
        "ETModels"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ETTraceRunner",
      "module_type" : "SwiftTarget",
      "name" : "ETTraceRunner",
      "path" : "ETTrace/ETTraceRunner",
      "product_dependencies" : [
        "Peertalk",
        "ArgumentParser",
        "Swifter"
      ],
      "product_memberships" : [
        "ETTraceRunner"
      ],
      "sources" : [
        "Devices/CommunicationChannel.swift",
        "Devices/DeviceManager.swift",
        "Devices/PhysicalDeviceManager.swift",
        "Devices/SimulatorDeviceManager.swift",
        "ETTrace.swift",
        "ResponseModels/ResponseModel.swift",
        "RunnerHelper.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "CommunicationFrame",
        "JSONWrapper",
        "ETModels",
        "Symbolicator"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ETTrace",
      "module_type" : "ClangTarget",
      "name" : "ETTrace",
      "path" : "ETTrace/ETTrace",
      "product_dependencies" : [
        "Peertalk"
      ],
      "product_memberships" : [
        "ETTrace"
      ],
      "sources" : [
        "EMGChannelListener.m",
        "EMGPerfAnalysis.mm"
      ],
      "target_dependencies" : [
        "Tracer",
        "CommunicationFrame"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ETModels",
      "module_type" : "SwiftTarget",
      "name" : "ETModels",
      "path" : "ETTrace/ETModels",
      "product_memberships" : [
        "Symbolicator",
        "ETTraceRunner"
      ],
      "sources" : [
        "FlameNode.swift",
        "Flamegraph.swift",
        "FlamegraphEvent.swift",
        "Sample.swift",
        "ThreadNode.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CommunicationFrame",
      "module_type" : "ClangTarget",
      "name" : "CommunicationFrame",
      "path" : "ETTrace/CommunicationFrame",
      "product_memberships" : [
        "ETTrace",
        "ETTraceRunner"
      ],
      "sources" : [
        "EMGDummyEmptyClass.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.