The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ETTrace, reference v1.1.1 (01e1b0), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 08:42:36 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/EmergeTools/ETTrace.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/34] Write swift-version-1EA4D86E10B52AF.txt
[2/34] Compiling FIRCLSUnwind_x86.c
[3/34] Compiling FIRCLSInternalLogging.c
[4/34] Write sources
[7/34] Compiling FIRCLSThreadState.c
[8/34] Compiling FIRCLSUnwind.c
[9/34] Compiling FIRCLSEmerge.c
[10/53] Compiling FIRCLSUnwind_arm.c
[11/53] Write sources
[12/53] Write ETTraceRunner-entitlement.plist
[12/53] Write sources
[15/59] Compiling FIRCLSLogger.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.
[16/61] Compiling ETTrace EMGChannelListener.m
[17/61] Write sources
[18/61] Compiling FIRCLSUtility.m
[20/61] Emitting module ArgumentParserToolInfo
[20/61] Compiling CommunicationFrame EMGDummyEmptyClass.m
[21/61] Compiling ETTrace EMGPerfAnalysis.mm
[22/64] Compiling Peertalk PTChannel.m
[23/64] Compiling Peertalk PTProtocol.m
[24/64] Compiling Peertalk PTUSBHub.m
[26/64] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/103] Compiling ArgumentParser InputOrigin.swift
[28/103] Compiling ArgumentParser Name.swift
[29/103] Compiling ArgumentParser Parsed.swift
[30/103] Compiling ArgumentParser ParsedValues.swift
[31/107] Emitting module ArgumentParser
[32/107] Compiling ArgumentParser CommandConfiguration.swift
[33/107] Compiling ArgumentParser CommandGroup.swift
[34/107] Compiling ArgumentParser EnumerableFlag.swift
[35/107] Compiling ArgumentParser ExpressibleByArgument.swift
[36/107] Compiling ArgumentParser NameSpecification.swift
[37/107] Compiling ArgumentParser Option.swift
[38/107] Compiling ArgumentParser OptionGroup.swift
[39/107] Compiling ArgumentParser AsyncParsableCommand.swift
[40/107] Compiling ArgumentParser ArgumentHelp.swift
[41/107] Compiling ArgumentParser ArgumentVisibility.swift
[42/107] Compiling ArgumentParser CompletionKind.swift
[43/107] Compiling ArgumentParser Errors.swift
[44/107] Compiling ArgumentParser Flag.swift
[45/107] Compiling ArgumentParser BashCompletionsGenerator.swift
[46/107] Compiling ArgumentParser CompletionsGenerator.swift
[47/107] Compiling ArgumentParser FishCompletionsGenerator.swift
[48/107] Compiling ArgumentParser ZshCompletionsGenerator.swift
[49/107] Compiling ArgumentParser Argument.swift
[50/107] Compiling ArgumentParser ParsableArguments.swift
[51/107] Compiling ArgumentParser ParsableArgumentsValidation.swift
[52/107] Compiling ArgumentParser ParsableCommand.swift
[53/107] Compiling ArgumentParser ArgumentDecoder.swift
[54/107] Compiling ArgumentParser Platform.swift
[55/107] Compiling ArgumentParser SequenceExtensions.swift
[56/107] Compiling ArgumentParser StringExtensions.swift
[57/107] Compiling ArgumentParser Tree.swift
[60/107] Compiling ArgumentParser DumpHelpGenerator.swift
[61/107] Compiling ArgumentParser HelpCommand.swift
[62/107] Compiling ArgumentParser ParserError.swift
[63/107] Compiling ArgumentParser SplitArguments.swift
[68/109] Emitting module Swifter
[69/109] Compiling ETModels Sample.swift
[70/109] Compiling ETModels ThreadNode.swift
[71/109] Compiling ETModels FlamegraphEvent.swift
[72/109] Compiling ETModels Flamegraph.swift
[73/109] Compiling ETModels FlameNode.swift
[74/109] Emitting module ETModels
[75/109] Emitting module TracerSwift
[76/109] Compiling TracerSwift UnsafeRawPointer+Commands.swift
[77/109] Compiling TracerSwift ThreadHelper.swift
[81/114] Compiling Tracer EMGTracer+PrintThreads.m
[82/114] Compiling JSONWrapper JSONWrapper.m
[84/114] Compiling Swifter String+SHA1.swift
[85/114] Compiling Swifter WebSockets.swift
[86/114] Compiling ArgumentParser CommandParser.swift
[87/114] Compiling ArgumentParser InputKey.swift
[88/114] Compiling ArgumentParser HelpGenerator.swift
[89/114] Compiling ArgumentParser MessageInfo.swift
[90/114] Compiling ArgumentParser UsageGenerator.swift
[91/114] Compiling ArgumentParser CollectionExtensions.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 Models.swift
[108/114] Compiling Symbolicator FlamegraphGenerator.swift
[109/114] Emitting module Symbolicator
[110/114] Compiling Symbolicator Symbolicator.swift
[111/114] Compiling Symbolicator Utils.swift
[112/123] Compiling ETTraceRunner ETTrace.swift
[113/123] Compiling ETTraceRunner main.swift
[114/123] Compiling ETTraceRunner ResponseModel.swift
[115/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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
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 |
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[116/123] Compiling ETTraceRunner SimulatorDeviceManager.swift
[117/123] Compiling ETTraceRunner DeviceManager.swift
[118/123] Compiling ETTraceRunner CommunicationChannel.swift
/Users/admin/builder/spi-builder-workspace/ETTrace/ETTraceRunner/Devices/CommunicationChannel.swift:36:12: warning: capture of 'self' with non-sendable type 'CommunicationChannel?' in a '@Sendable' closure [#SendableClosureCaptures]
 10 | import Peertalk
 11 |
 12 | class CommunicationChannel: NSObject {
    |       `- note: class 'CommunicationChannel' does not conform to the 'Sendable' protocol
 13 |
 14 |   lazy var channel = PTChannel(protocol: nil, delegate: self)
    :
 34 |     return await withCheckedContinuation { continuation in
 35 |       DispatchQueue.main.async { [weak self] in
 36 |         if self?.reportGenerated == true {
    |            `- warning: capture of 'self' with non-sendable type 'CommunicationChannel?' in a '@Sendable' closure [#SendableClosureCaptures]
 37 |           continuation.resume()
 38 |         } else {
/Users/admin/builder/spi-builder-workspace/ETTrace/ETTraceRunner/Devices/CommunicationChannel.swift:48:26: warning: capture of 'self' with non-sendable type 'CommunicationChannel?' in a '@Sendable' closure [#SendableClosureCaptures]
 10 | import Peertalk
 11 |
 12 | class CommunicationChannel: NSObject {
    |       `- note: class 'CommunicationChannel' does not conform to the 'Sendable' protocol
 13 |
 14 |   lazy var channel = PTChannel(protocol: nil, delegate: self)
    :
 46 |     return await withCheckedContinuation{ continuation in
 47 |       DispatchQueue.main.async { [weak self] in
 48 |         guard let self = self else { return }
    |                          `- warning: capture of 'self' with non-sendable type 'CommunicationChannel?' in a '@Sendable' closure [#SendableClosureCaptures]
 49 |
 50 |         if self.resultsReceived == true {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[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! (20.99s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/EmergeTools/peertalk.git
Fetching https://github.com/httpswift/swifter.git
[1/6050] Fetching swifter
[122/6732] Fetching swifter, peertalk
[2256/22112] Fetching swifter, peertalk, swift-argument-parser
Fetched https://github.com/EmergeTools/peertalk.git from cache (1.46s)
Fetched https://github.com/httpswift/swifter.git from cache (1.46s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.46s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (4.06s)
Computing version for https://github.com/EmergeTools/peertalk.git
Computed https://github.com/EmergeTools/peertalk.git at 1.0.0 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.41s)
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.1
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/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.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.