The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swift-distributed-tracing, reference 1.2.0 (a64a0a), with Swift 6.0 for Linux on 14 Jan 2025 13:08:02 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-distributed-tracing.git
Reference: 1.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/apple/swift-distributed-tracing
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at a64a0ab Add recordingSpan and currentSpan methods to TracerProtocol (#160)
Cloned https://github.com/apple/swift-distributed-tracing.git
Revision (git rev-parse @):
a64a0abc2530f767af15dd88dda7f64d5f1ff9de
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-distributed-tracing.git at 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/apple/swift-distributed-tracing.git
https://github.com/apple/swift-distributed-tracing.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Instrumentation",
      "targets" : [
        "Instrumentation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Tracing",
      "targets" : [
        "Tracing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "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"
      ],
      "sources" : [
        "InstrumentationSystem+Tracing.swift",
        "NoOpTracer.swift",
        "SpanProtocol.swift",
        "Tracer.swift",
        "TracerProtocol+Legacy.swift",
        "TracerProtocol.swift",
        "TracingTime.swift"
      ],
      "target_dependencies" : [
        "Instrumentation"
      ],
      "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"
      ],
      "sources" : [
        "Instrument.swift",
        "InstrumentationSystem.swift",
        "Locks.swift",
        "MultiplexInstrument.swift",
        "NoOpInstrument.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-service-context.git
[1/1018] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.21s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.1.0 (1.87s)
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.1.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/7] Compiling ServiceContextModule ServiceContextKey.swift
[6/7] Emitting module ServiceContextModule
[7/7] Compiling ServiceContextModule ServiceContext.swift
[9/14] Compiling Instrumentation MultiplexInstrument.swift
[10/14] Compiling Instrumentation Instrument.swift
[11/14] Compiling Instrumentation InstrumentationSystem.swift
[12/14] Compiling Instrumentation NoOpInstrument.swift
[13/14] Emitting module Instrumentation
[14/14] Compiling Instrumentation Locks.swift
[16/23] Compiling Tracing TracingTime.swift
[17/23] Compiling Tracing TracerProtocol.swift
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol.swift:25:25: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 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'
    |                         `- note: use 'Tracer' instead
 26 |     /// The concrete type of span this tracer will be producing/
 27 |     associatedtype Span: Tracing.Span
[18/23] Compiling Tracing Tracer.swift
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:55:27: warning: 'legacyTracer' is deprecated: prefer tracer
 53 |     // Effectively these end up calling the same method, however
 54 |     // we try to not use the deprecated methods ourselves anyway
 55 |     InstrumentationSystem.legacyTracer.startAnySpan(
    |                           `- warning: 'legacyTracer' is deprecated: prefer tracer
 56 |         operationName,
 57 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:55:40: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
 53 |     // Effectively these end up calling the same method, however
 54 |     // we try to not use the deprecated methods ourselves anyway
 55 |     InstrumentationSystem.legacyTracer.startAnySpan(
    |                                        `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
 56 |         operationName,
 57 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:100:27: warning: 'legacyTracer' is deprecated: prefer tracer
 98 |     // Effectively these end up calling the same method, however
 99 |     // we try to not use the deprecated methods ourselves anyway
100 |     InstrumentationSystem.legacyTracer.startAnySpan(
    |                           `- warning: 'legacyTracer' is deprecated: prefer tracer
101 |         operationName,
102 |         at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:100:40: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
 98 |     // Effectively these end up calling the same method, however
 99 |     // we try to not use the deprecated methods ourselves anyway
100 |     InstrumentationSystem.legacyTracer.startAnySpan(
    |                                        `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
101 |         operationName,
102 |         at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:147:34: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
145 |     // Effectively these end up calling the same method, however
146 |     // we try to not use the deprecated methods ourselves anyway
147 |     InstrumentationSystem.tracer.startAnySpan(
    |                                  `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
148 |         operationName,
149 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:194:31: warning: 'legacyTracer' is deprecated: prefer tracer
192 |     _ operation: (any Span) throws -> T
193 | ) rethrows -> T {
194 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer
195 |         operationName,
196 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:239:31: warning: 'legacyTracer' is deprecated: prefer tracer
237 |     _ operation: (any Span) throws -> T
238 | ) rethrows -> T {
239 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer
240 |         operationName,
241 |         at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:286:31: warning: 'legacyTracer' is deprecated: prefer tracer
284 |     _ operation: (any Span) throws -> T
285 | ) rethrows -> T {
286 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer
287 |         operationName,
288 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:338:37: warning: 'legacyTracer' is deprecated: prefer tracer
336 |     _ operation: (any Span) async throws -> T
337 | ) async rethrows -> T {
338 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer
339 |         operationName,
340 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:414:37: warning: 'legacyTracer' is deprecated: prefer tracer
412 |     _ operation: (any Span) async throws -> T
413 | ) async rethrows -> T {
414 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer
415 |         operationName,
416 |         at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:491:37: warning: 'legacyTracer' is deprecated: prefer tracer
489 |     _ operation: (any Span) async throws -> T
490 | ) async rethrows -> T {
491 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer
492 |         operationName,
493 |         at: instant(),
[19/23] Compiling Tracing TracerProtocol+Legacy.swift
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:84:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 82 |
 83 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 84 | extension LegacyTracer {
    |           |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
    |           `- note: use 'Tracer' instead
 85 |     // ==== startSpan ---------------------------------------------------------
 86 |
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:172:14: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
170 |         line: UInt = #line
171 |     ) -> any Tracing.Span {
172 |         self.startAnySpan(
    |              `- warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
173 |             operationName,
174 |             context: context(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:218:25: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
216 |         _ operation: (any Tracing.Span) throws -> T
217 |     ) rethrows -> T {
218 |         let span = self.startAnySpan(
    |                         `- warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
219 |             operationName,
220 |             context: context(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:322:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
320 |         _ operation: (any Tracing.Span) async throws -> T
321 |     ) async rethrows -> T {
322 |         let span = self.startAnySpan(
    |                         `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
323 |             operationName,
324 |             at: instant(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:413:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
411 |         _ operation: (any Tracing.Span) async throws -> T
412 |     ) async rethrows -> T {
413 |         let span = self.startAnySpan(
    |                         `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
414 |             operationName,
415 |             at: DefaultTracerClock.now,
[20/23] Compiling Tracing NoOpTracer.swift
/host/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:21:27: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 19 | /// Tracer that ignores all operations, used when no tracing is required.
 20 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 21 | public struct NoOpTracer: LegacyTracer {
    |                           |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
    |                           `- note: use 'Tracer' instead
 22 |     public typealias Span = NoOpSpan
 23 |
[21/23] Compiling Tracing SpanProtocol.swift
[22/23] Compiling Tracing InstrumentationSystem+Tracing.swift
[23/23] Emitting module Tracing
/host/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:21:27: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 19 | /// Tracer that ignores all operations, used when no tracing is required.
 20 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 21 | public struct NoOpTracer: LegacyTracer {
    |                           |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
    |                           `- note: use 'Tracer' instead
 22 |     public typealias Span = NoOpSpan
 23 |
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:84:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 82 |
 83 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)  // for TaskLocal ServiceContext
 84 | extension LegacyTracer {
    |           |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
    |           `- note: use 'Tracer' instead
 85 |     // ==== startSpan ---------------------------------------------------------
 86 |
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol.swift:25:25: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 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'
    |                         `- note: use 'Tracer' instead
 26 |     /// The concrete type of span this tracer will be producing/
 27 |     associatedtype Span: Tracing.Span
Build complete! (9.72s)
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" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Instrumentation",
      "targets" : [
        "Instrumentation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Tracing",
      "targets" : [
        "Tracing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "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"
      ],
      "sources" : [
        "InstrumentationSystem+Tracing.swift",
        "NoOpTracer.swift",
        "SpanProtocol.swift",
        "Tracer.swift",
        "TracerProtocol+Legacy.swift",
        "TracerProtocol.swift",
        "TracingTime.swift"
      ],
      "target_dependencies" : [
        "Instrumentation"
      ],
      "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"
      ],
      "sources" : [
        "Instrument.swift",
        "InstrumentationSystem.swift",
        "Locks.swift",
        "MultiplexInstrument.swift",
        "NoOpInstrument.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.