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 swift-distributed-tracing, reference main (660088), with Swift 6.2 (beta) for macOS (SPM) on 11 Sep 2025 12:16:44 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-distributed-tracing.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-distributed-tracing
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6600888 Pushing InMemoryTracer (#180) over the finish line (#183)
Cloned https://github.com/apple/swift-distributed-tracing.git
Revision (git rev-parse @):
6600888f4cb5bbf1bcac51000f60b2cbd224c91b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-distributed-tracing.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-distributed-tracing.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/8] Compiling ServiceContextModule ServiceContextKey.swift
[7/8] Compiling ServiceContextModule ServiceContext.swift
[8/8] Emitting module ServiceContextModule
[9/14] Compiling Instrumentation NoOpInstrument.swift
[10/14] Compiling Instrumentation MultiplexInstrument.swift
[11/14] Emitting module Instrumentation
[12/14] Compiling Instrumentation InstrumentationSystem.swift
[13/14] Compiling Instrumentation Locks.swift
[14/14] Compiling Instrumentation Instrument.swift
[15/22] Compiling Tracing TracerProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/TracerProtocol.swift:25:25: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
 23 | /// A tracer is a special kind of instrument with the added ability to start a ``Span``.
 24 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 25 | public protocol Tracer: LegacyTracer {
    |                         |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
    |                         `- note: use 'Tracer' instead
 26 |     /// The concrete type of span this tracer will be producing/
 27 |     associatedtype Span: Tracing.Span
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[16/22] Compiling Tracing TracingTime.swift
[17/22] Compiling Tracing TracerProtocol+Legacy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:83:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
 81 |
 82 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 83 | extension LegacyTracer {
    |           |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
    |           `- note: use 'Tracer' instead
 84 |     // ==== startSpan ---------------------------------------------------------
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:171:14: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
169 |         line: UInt = #line
170 |     ) -> any Tracing.Span {
171 |         self.startAnySpan(
    |              `- warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
172 |             operationName,
173 |             context: context(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:217:25: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
215 |         _ operation: (any Tracing.Span) throws -> T
216 |     ) rethrows -> T {
217 |         let span = self.startAnySpan(
    |                         `- warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
218 |             operationName,
219 |             context: context(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:321:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
319 |         _ operation: (any Tracing.Span) async throws -> T
320 |     ) async rethrows -> T {
321 |         let span = self.startAnySpan(
    |                         `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
322 |             operationName,
323 |             at: instant(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:412:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
410 |         _ operation: (any Tracing.Span) async throws -> T
411 |     ) async rethrows -> T {
412 |         let span = self.startAnySpan(
    |                         `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
413 |             operationName,
414 |             at: DefaultTracerClock.now,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/22] Compiling Tracing Tracer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:54:27: warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
 52 |     // Effectively these end up calling the same method, however
 53 |     // we try to not use the deprecated methods ourselves anyway
 54 |     InstrumentationSystem.legacyTracer.startAnySpan(
    |                           `- warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
 55 |         operationName,
 56 |         at: instant(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:54:40: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
 52 |     // Effectively these end up calling the same method, however
 53 |     // we try to not use the deprecated methods ourselves anyway
 54 |     InstrumentationSystem.legacyTracer.startAnySpan(
    |                                        `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
 55 |         operationName,
 56 |         at: instant(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:99:27: warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
 97 |     // Effectively these end up calling the same method, however
 98 |     // we try to not use the deprecated methods ourselves anyway
 99 |     InstrumentationSystem.legacyTracer.startAnySpan(
    |                           `- warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
100 |         operationName,
101 |         at: DefaultTracerClock.now,
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:99:40: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
 97 |     // Effectively these end up calling the same method, however
 98 |     // we try to not use the deprecated methods ourselves anyway
 99 |     InstrumentationSystem.legacyTracer.startAnySpan(
    |                                        `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
100 |         operationName,
101 |         at: DefaultTracerClock.now,
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:146:34: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
144 |     // Effectively these end up calling the same method, however
145 |     // we try to not use the deprecated methods ourselves anyway
146 |     InstrumentationSystem.tracer.startAnySpan(
    |                                  `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan [#DeprecatedDeclaration]
147 |         operationName,
148 |         at: instant(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:193:31: warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
191 |     _ operation: (any Span) throws -> T
192 | ) rethrows -> T {
193 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
194 |         operationName,
195 |         at: instant(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:238:31: warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
236 |     _ operation: (any Span) throws -> T
237 | ) rethrows -> T {
238 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
239 |         operationName,
240 |         at: DefaultTracerClock.now,
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:285:31: warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
283 |     _ operation: (any Span) throws -> T
284 | ) rethrows -> T {
285 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
286 |         operationName,
287 |         at: instant(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:337:37: warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
335 |     _ operation: (any Span) async throws -> T
336 | ) async rethrows -> T {
337 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
338 |         operationName,
339 |         at: instant(),
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:413:37: warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
411 |     _ operation: (any Span) async throws -> T
412 | ) async rethrows -> T {
413 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
414 |         operationName,
415 |         at: DefaultTracerClock.now,
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/Tracer.swift:490:37: warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
488 |     _ operation: (any Span) async throws -> T
489 | ) async rethrows -> T {
490 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer [#DeprecatedDeclaration]
491 |         operationName,
492 |         at: instant(),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/22] Compiling Tracing NoOpTracer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:20:27: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
 18 | /// Tracer that ignores all operations, used when no tracing is required.
 19 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 20 | public struct NoOpTracer: LegacyTracer {
    |                           |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
    |                           `- note: use 'Tracer' instead
 21 |     public typealias Span = NoOpSpan
 22 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[20/22] Emitting module Tracing
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:20:27: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
 18 | /// Tracer that ignores all operations, used when no tracing is required.
 19 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 20 | public struct NoOpTracer: LegacyTracer {
    |                           |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
    |                           `- note: use 'Tracer' instead
 21 |     public typealias Span = NoOpSpan
 22 |
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:83:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
 81 |
 82 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 83 | extension LegacyTracer {
    |           |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
    |           `- note: use 'Tracer' instead
 84 |     // ==== startSpan ---------------------------------------------------------
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/Tracing/TracerProtocol.swift:25:25: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
 23 | /// A tracer is a special kind of instrument with the added ability to start a ``Span``.
 24 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 25 | public protocol Tracer: LegacyTracer {
    |                         |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer' [#DeprecatedDeclaration]
    |                         `- note: use 'Tracer' instead
 26 |     /// The concrete type of span this tracer will be producing/
 27 |     associatedtype Span: Tracing.Span
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/22] Compiling Tracing InstrumentationSystem+Tracing.swift
[22/22] Compiling Tracing SpanProtocol.swift
[23/26] Emitting module InMemoryTracing
[24/26] Compiling InMemoryTracing InMemorySpan.swift
[25/26] Compiling InMemoryTracing InMemoryTracer.swift
[26/26] Compiling InMemoryTracing InMemorySpanContext.swift
Build complete! (4.98s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.80s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.21s)
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-service-context",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-service-context.git"
    }
  ],
  "manifest_display_name" : "swift-distributed-tracing",
  "name" : "swift-distributed-tracing",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Instrumentation",
      "targets" : [
        "Instrumentation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Tracing",
      "targets" : [
        "Tracing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InMemoryTracing",
      "targets" : [
        "InMemoryTracing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_CWASI",
      "module_type" : "ClangTarget",
      "name" : "_CWASI",
      "path" : "Sources/_CWASI",
      "product_memberships" : [
        "Tracing",
        "InMemoryTracing"
      ],
      "sources" : [
        "_CWASI.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TracingTests",
      "module_type" : "SwiftTarget",
      "name" : "TracingTests",
      "path" : "Tests/TracingTests",
      "sources" : [
        "ActorTracingTests.swift",
        "DynamicTracepointTracerTests.swift",
        "SpanTests.swift",
        "TestTracer.swift",
        "TracedLock.swift",
        "TracedLockTests.swift",
        "TracerTests+swift57.swift",
        "TracerTests.swift",
        "TracerTimeTests.swift",
        "TracingInstrumentationSystemTests.swift"
      ],
      "target_dependencies" : [
        "Tracing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Tracing",
      "module_type" : "SwiftTarget",
      "name" : "Tracing",
      "path" : "Sources/Tracing",
      "product_dependencies" : [
        "ServiceContextModule"
      ],
      "product_memberships" : [
        "Tracing",
        "InMemoryTracing"
      ],
      "sources" : [
        "InstrumentationSystem+Tracing.swift",
        "NoOpTracer.swift",
        "SpanProtocol.swift",
        "Tracer.swift",
        "TracerProtocol+Legacy.swift",
        "TracerProtocol.swift",
        "TracingTime.swift"
      ],
      "target_dependencies" : [
        "Instrumentation",
        "_CWASI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InstrumentationTests",
      "module_type" : "SwiftTarget",
      "name" : "InstrumentationTests",
      "path" : "Tests/InstrumentationTests",
      "sources" : [
        "InstrumentTests.swift",
        "InstrumentationSystemTests.swift"
      ],
      "target_dependencies" : [
        "Instrumentation"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Instrumentation",
      "module_type" : "SwiftTarget",
      "name" : "Instrumentation",
      "path" : "Sources/Instrumentation",
      "product_dependencies" : [
        "ServiceContextModule"
      ],
      "product_memberships" : [
        "Instrumentation",
        "Tracing",
        "InMemoryTracing"
      ],
      "sources" : [
        "Instrument.swift",
        "InstrumentationSystem.swift",
        "Locks.swift",
        "MultiplexInstrument.swift",
        "NoOpInstrument.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "InMemoryTracingTests",
      "module_type" : "SwiftTarget",
      "name" : "InMemoryTracingTests",
      "path" : "Tests/InMemoryTracingTests",
      "sources" : [
        "InMemoryTracerTests.swift"
      ],
      "target_dependencies" : [
        "InMemoryTracing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "InMemoryTracing",
      "module_type" : "SwiftTarget",
      "name" : "InMemoryTracing",
      "path" : "Sources/InMemoryTracing",
      "product_memberships" : [
        "InMemoryTracing"
      ],
      "sources" : [
        "InMemorySpan.swift",
        "InMemorySpanContext.swift",
        "InMemoryTracer.swift"
      ],
      "target_dependencies" : [
        "Tracing"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.