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.0 for Linux on 11 Sep 2025 12:12:44 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /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 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:         linux
Swift version:             6.0
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
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/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.24s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.53s)
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
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/8] Compiling ServiceContextModule ServiceContext.swift
[7/8] Emitting module ServiceContextModule
[8/8] Compiling ServiceContextModule ServiceContextKey.swift
[10/15] Compiling Instrumentation NoOpInstrument.swift
[11/15] Compiling Instrumentation MultiplexInstrument.swift
[12/15] Compiling Instrumentation Instrument.swift
[13/15] Compiling Instrumentation Locks.swift
[14/15] Emitting module Instrumentation
[15/15] Compiling Instrumentation InstrumentationSystem.swift
[17/24] Compiling Tracing TracingTime.swift
[18/24] 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
[19/24] Compiling Tracing TracerProtocol+Legacy.swift
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:83:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 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'
    |           `- note: use 'Tracer' instead
 84 |     // ==== startSpan ---------------------------------------------------------
 85 |
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:171:14: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
169 |         line: UInt = #line
170 |     ) -> any Tracing.Span {
171 |         self.startAnySpan(
    |              `- warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
172 |             operationName,
173 |             context: context(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:217:25: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
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
218 |             operationName,
219 |             context: context(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:321:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
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
322 |             operationName,
323 |             at: instant(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:412:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
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
413 |             operationName,
414 |             at: DefaultTracerClock.now,
[20/24] Emitting module Tracing
/host/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:20:27: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 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'
    |                           `- note: use 'Tracer' instead
 21 |     public typealias Span = NoOpSpan
 22 |
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:83:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 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'
    |           `- note: use 'Tracer' instead
 84 |     // ==== startSpan ---------------------------------------------------------
 85 |
/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
[21/24] Compiling Tracing Tracer.swift
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:54:27: warning: 'legacyTracer' is deprecated: prefer tracer
 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
 55 |         operationName,
 56 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:54:40: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
 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
 55 |         operationName,
 56 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:99:27: warning: 'legacyTracer' is deprecated: prefer tracer
 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
100 |         operationName,
101 |         at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:99:40: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
 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
100 |         operationName,
101 |         at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:146:34: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
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
147 |         operationName,
148 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:193:31: warning: 'legacyTracer' is deprecated: prefer tracer
191 |     _ operation: (any Span) throws -> T
192 | ) rethrows -> T {
193 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer
194 |         operationName,
195 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:238:31: warning: 'legacyTracer' is deprecated: prefer tracer
236 |     _ operation: (any Span) throws -> T
237 | ) rethrows -> T {
238 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer
239 |         operationName,
240 |         at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:285:31: warning: 'legacyTracer' is deprecated: prefer tracer
283 |     _ operation: (any Span) throws -> T
284 | ) rethrows -> T {
285 |     try InstrumentationSystem.legacyTracer.withAnySpan(
    |                               `- warning: 'legacyTracer' is deprecated: prefer tracer
286 |         operationName,
287 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:337:37: warning: 'legacyTracer' is deprecated: prefer tracer
335 |     _ operation: (any Span) async throws -> T
336 | ) async rethrows -> T {
337 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer
338 |         operationName,
339 |         at: instant(),
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:413:37: warning: 'legacyTracer' is deprecated: prefer tracer
411 |     _ operation: (any Span) async throws -> T
412 | ) async rethrows -> T {
413 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer
414 |         operationName,
415 |         at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:490:37: warning: 'legacyTracer' is deprecated: prefer tracer
488 |     _ operation: (any Span) async throws -> T
489 | ) async rethrows -> T {
490 |     try await InstrumentationSystem.legacyTracer.withAnySpan(
    |                                     `- warning: 'legacyTracer' is deprecated: prefer tracer
491 |         operationName,
492 |         at: instant(),
[22/24] Compiling Tracing InstrumentationSystem+Tracing.swift
[23/24] Compiling Tracing NoOpTracer.swift
/host/spi-builder-workspace/Sources/Tracing/NoOpTracer.swift:20:27: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
 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'
    |                           `- note: use 'Tracer' instead
 21 |     public typealias Span = NoOpSpan
 22 |
[24/24] Compiling Tracing SpanProtocol.swift
[26/29] Compiling InMemoryTracing InMemorySpanContext.swift
[27/29] Compiling InMemoryTracing InMemorySpan.swift
[28/29] Emitting module InMemoryTracing
[29/29] Compiling InMemoryTracing InMemoryTracer.swift
Build complete! (9.74s)
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"
        ]
      }
    },
    {
      "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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.