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.1 for macOS (SPM) on 29 Apr 2025 17:45:49 UTC.

Swift 6 data race errors: 2

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

========================================
RunAll
========================================
Builder version: 4.61.1
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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/EmergeTools/ETTrace.git
https://github.com/EmergeTools/ETTrace.git
{
  "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"
}
Running build ...
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/34] Write swift-version-2F0A5646E1D333AE.txt
[2/34] Compiling FIRCLSInternalLogging.c
[3/34] Write sources
[6/34] Compiling FIRCLSUnwind_x86.c
[7/47] Compiling FIRCLSUnwind_arm.c
[7/47] Compiling FIRCLSThreadState.c
[9/53] Compiling FIRCLSUnwind.c
[9/53] Write sources
[11/53] Write ETTraceRunner-entitlement.plist
[11/53] Write sources
[13/53] Compiling FIRCLSEmerge.c
[14/59] Compiling ETTrace EMGPerfAnalysis.mm
[15/59] Write sources
[17/59] Compiling FIRCLSLogger.m
[18/61] Compiling CommunicationFrame EMGDummyEmptyClass.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.
[19/61] Compiling ETTrace EMGChannelListener.m
[20/61] Compiling FIRCLSUtility.m
[22/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/64] Emitting module ArgumentParserToolInfo
[23/64] Compiling Peertalk PTChannel.m
[24/103] Compiling Peertalk PTUSBHub.m
[25/103] Compiling Peertalk PTProtocol.m
[27/103] Emitting module ArgumentParser
[28/107] Compiling ArgumentParser ArgumentHelp.swift
[29/107] Compiling ArgumentParser ArgumentVisibility.swift
[30/107] Compiling ArgumentParser CompletionKind.swift
[31/107] Compiling ArgumentParser Errors.swift
[32/107] Compiling ArgumentParser Flag.swift
[33/107] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/107] Compiling ArgumentParser CompletionsGenerator.swift
[35/107] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/107] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/107] Compiling ArgumentParser Argument.swift
[38/107] Compiling ArgumentParser CommandConfiguration.swift
[39/107] Compiling ArgumentParser CommandGroup.swift
[40/107] Compiling ArgumentParser EnumerableFlag.swift
[41/107] Compiling ArgumentParser ExpressibleByArgument.swift
[42/107] Compiling ArgumentParser Platform.swift
[43/107] Compiling ArgumentParser SequenceExtensions.swift
[44/107] Compiling ArgumentParser StringExtensions.swift
[45/107] Compiling ArgumentParser Tree.swift
[46/107] Compiling ArgumentParser InputOrigin.swift
[47/107] Compiling ArgumentParser Name.swift
[48/107] Compiling ArgumentParser Parsed.swift
[49/107] Compiling ArgumentParser ParsedValues.swift
[50/107] Compiling ArgumentParser ArgumentDefinition.swift
[51/107] Compiling ArgumentParser ArgumentSet.swift
[52/107] Compiling ArgumentParser CommandParser.swift
[53/107] Compiling ArgumentParser InputKey.swift
[54/107] Compiling ETModels FlamegraphEvent.swift
[55/107] Compiling ETModels Sample.swift
[56/107] Emitting module ETModels
[57/107] Compiling ETModels Flamegraph.swift
[58/107] Compiling ETModels FlameNode.swift
[59/107] Compiling ETModels ThreadNode.swift
[60/107] 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: add '@MainActor' to make static property 'symbolsLoaded' part of global actor 'MainActor'
    |              `- 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: add '@MainActor' to make static property 'symbolAddressTuples' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |   static let kMaxFramesPerStack = 512
 33 |
[61/107] 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: add '@MainActor' to make static property 'symbolsLoaded' part of global actor 'MainActor'
    |              `- 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: add '@MainActor' to make static property 'symbolAddressTuples' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 32 |   static let kMaxFramesPerStack = 512
 33 |
[62/107] Compiling TracerSwift UnsafeRawPointer+Commands.swift
[63/107] Compiling ArgumentParser HelpGenerator.swift
[64/107] Compiling ArgumentParser MessageInfo.swift
[65/107] Compiling ArgumentParser UsageGenerator.swift
[66/107] Compiling ArgumentParser CollectionExtensions.swift
[67/107] Compiling ArgumentParser ParsableArguments.swift
[68/107] Compiling ArgumentParser ParsableArgumentsValidation.swift
[69/107] Compiling ArgumentParser ParsableCommand.swift
[70/107] Compiling ArgumentParser ArgumentDecoder.swift
[71/107] Compiling ArgumentParser NameSpecification.swift
[72/107] Compiling ArgumentParser Option.swift
[73/107] Compiling ArgumentParser OptionGroup.swift
[74/107] Compiling ArgumentParser AsyncParsableCommand.swift
[75/107] Compiling ArgumentParser ParserError.swift
[76/107] Compiling ArgumentParser SplitArguments.swift
[77/107] Compiling ArgumentParser DumpHelpGenerator.swift
[78/107] Compiling ArgumentParser HelpCommand.swift
[93/109] Emitting module Swifter
[97/114] Compiling Tracer EMGTracer+PrintThreads.m
[98/114] Compiling JSONWrapper JSONWrapper.m
[100/114] Compiling Swifter String+SHA1.swift
[101/114] Compiling Swifter WebSockets.swift
[101/114] Compiling Tracer EMGWriteLibraries.m
[102/114] Compiling Tracer EMGStackTraceRecorder.cpp
/Users/admin/builder/spi-builder-workspace/ETTrace/Tracer/EMGTracer.mm:105:24: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
  105 |     u_char buildBuffer[bufferSize];
      |                        ^~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/ETTrace/Tracer/EMGTracer.mm:105:24: note: read of non-const variable 'bufferSize' is not allowed in a constant expression
/Users/admin/builder/spi-builder-workspace/ETTrace/Tracer/EMGTracer.mm:98:12: note: declared here
   98 |     size_t bufferSize = 0;
      |            ^
1 warning generated.
[103/114] Compiling Tracer EMGTracer.mm
[104/114] Write Objects.LinkFileList
[105/114] Linking libETTrace.dylib
[107/114] Compiling Symbolicator FlamegraphGenerator.swift
[108/114] 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
 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
 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
 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
 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
 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
 62 |                     stateLock.unlock()
 63 |                 }
[109/114] Emitting module Symbolicator
[110/114] 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/114] Compiling Symbolicator Models.swift
[112/123] Compiling ETTraceRunner ResponseModel.swift
[113/123] Compiling ETTraceRunner ETTrace.swift
[114/123] Compiling ETTraceRunner main.swift
[115/123] Compiling ETTraceRunner DeviceManager.swift
[116/123] 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
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
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
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
58 |
59 |                     self?.connect(withId: deviceID, usbHub: usbHub, continuation: continuation)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/peertalk/peertalk/public/PTUSBHub.h:47:12: note: class 'PTUSBHub' does not conform to the 'Sendable' protocol
45 | } PTUSBHubError;
46 |
47 | @interface PTUSBHub : NSObject
   |            `- note: class 'PTUSBHub' does not conform to the 'Sendable' protocol
48 |
49 | // Shared, implicitly opened hub.
/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 |
[117/123] Compiling ETTraceRunner SimulatorDeviceManager.swift
[118/123] 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 {
[119/123] Emitting module ETTraceRunner
[120/123] Compiling ETTraceRunner RunnerHelper.swift
[120/123] Write Objects.LinkFileList
[121/123] Linking ETTraceRunner
[122/123] Applying ETTraceRunner
Build complete! (17.83s)
Fetching https://github.com/EmergeTools/peertalk.git
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/6050] Fetching swifter
[788/6732] Fetching swifter, peertalk
Fetched https://github.com/httpswift/swifter.git from cache (1.30s)
Fetched https://github.com/EmergeTools/peertalk.git from cache (1.30s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.30s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (2.25s)
Computing version for https://github.com/EmergeTools/peertalk.git
Computed https://github.com/EmergeTools/peertalk.git at 1.0.0 (0.57s)
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.48s)
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/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.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
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.