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 main (76e5ff), with Swift 5.9 for Linux on 14 Apr 2025 15:48:53 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 76e5ff5 add swift 6 1 thresholds (#171)
Cloned https://github.com/apple/swift-distributed-tracing.git
Revision (git rev-parse @):
76e5ff5fb348a567f5dc2b6c2d9eb5aaacaea6ea
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-distributed-tracing.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/apple/swift-distributed-tracing.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-service-context.git
[1/1059] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.29s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (0.30s)
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.0
Building for debugging...
[1/3] Emitting module ServiceContextModule
[2/3] Compiling ServiceContextModule ServiceContext.swift
[3/3] Compiling ServiceContextModule ServiceContextKey.swift
[6/11] Compiling Instrumentation NoOpInstrument.swift
[7/11] Emitting module Instrumentation
[8/11] Compiling Instrumentation MultiplexInstrument.swift
[9/11] Compiling Instrumentation Instrument.swift
[10/11] Compiling Instrumentation InstrumentationSystem.swift
[11/11] Compiling Instrumentation Locks.swift
[14/21] Compiling Tracing TracingTime.swift
[15/21] Compiling Tracing InstrumentationSystem+Tracing.swift
[16/21] Compiling Tracing NoOpTracer.swift
/host/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:21:27: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
public struct NoOpTracer: LegacyTracer {
                          ^
/host/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:21:27: note: use 'Tracer' instead
public struct NoOpTracer: LegacyTracer {
                          ^~~~~~~~~~~~
                          Tracer
[17/21] Emitting module Tracing
/host/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:21:27: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
public struct NoOpTracer: LegacyTracer {
                          ^
/host/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:21:27: note: use 'Tracer' instead
public struct NoOpTracer: LegacyTracer {
                          ^~~~~~~~~~~~
                          Tracer
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:84:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
extension LegacyTracer {
          ^
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:84:11: note: use 'Tracer' instead
extension LegacyTracer {
          ^~~~~~~~~~~~
          Tracer
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol.swift:25:25: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
public protocol Tracer: LegacyTracer {
                        ^
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol.swift:25:25: note: use 'Tracer' instead
public protocol Tracer: LegacyTracer {
                        ^~~~~~~~~~~~
                        Tracer
[18/21] Compiling Tracing TracerProtocol+Legacy.swift
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:84:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
extension LegacyTracer {
          ^
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:84:11: note: use 'Tracer' instead
extension LegacyTracer {
          ^~~~~~~~~~~~
          Tracer
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:172:14: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
        self.startAnySpan(
             ^
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:218:25: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
        let span = self.startAnySpan(
                        ^
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:357:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
        let span = self.startAnySpan(
                        ^
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:447:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
        let span = self.startAnySpan(
                        ^
[19/21] Compiling Tracing TracerProtocol.swift
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol.swift:25:25: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
public protocol Tracer: LegacyTracer {
                        ^
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol.swift:25:25: note: use 'Tracer' instead
public protocol Tracer: LegacyTracer {
                        ^~~~~~~~~~~~
                        Tracer
[20/21] Compiling Tracing SpanProtocol.swift
[21/21] Compiling Tracing Tracer.swift
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:55:27: warning: 'legacyTracer' is deprecated: prefer tracer
    InstrumentationSystem.legacyTracer.startAnySpan(
                          ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:55:40: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
    InstrumentationSystem.legacyTracer.startAnySpan(
                                       ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:100:27: warning: 'legacyTracer' is deprecated: prefer tracer
    InstrumentationSystem.legacyTracer.startAnySpan(
                          ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:100:40: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
    InstrumentationSystem.legacyTracer.startAnySpan(
                                       ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:147:34: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
    InstrumentationSystem.tracer.startAnySpan(
                                 ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:194:31: warning: 'legacyTracer' is deprecated: prefer tracer
    try InstrumentationSystem.legacyTracer.withAnySpan(
                              ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:239:31: warning: 'legacyTracer' is deprecated: prefer tracer
    try InstrumentationSystem.legacyTracer.withAnySpan(
                              ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:286:31: warning: 'legacyTracer' is deprecated: prefer tracer
    try InstrumentationSystem.legacyTracer.withAnySpan(
                              ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:366:37: warning: 'legacyTracer' is deprecated: prefer tracer
    try await InstrumentationSystem.legacyTracer.withAnySpan(
                                    ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:441:37: warning: 'legacyTracer' is deprecated: prefer tracer
    try await InstrumentationSystem.legacyTracer.withAnySpan(
                                    ^
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:519:37: warning: 'legacyTracer' is deprecated: prefer tracer
    try await InstrumentationSystem.legacyTracer.withAnySpan(
                                    ^
Build complete! (7.32s)
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-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Done.