Build Information
Successful build of swift-distributed-tracing, reference main (76e5ff
), with Swift 6.1 for Linux on 30 Apr 2025 08:08:09 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-6.1-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.61.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: 6.1
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-service-context.git
[1/1063] 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.0 (0.66s)
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...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/7] Compiling ServiceContextModule ServiceContext.swift
[6/7] Emitting module ServiceContextModule
[7/7] Compiling ServiceContextModule ServiceContextKey.swift
[9/14] Compiling Instrumentation NoOpInstrument.swift
[10/14] Compiling Instrumentation InstrumentationSystem.swift
[11/14] Compiling Instrumentation Locks.swift
[12/14] Emitting module Instrumentation
[13/14] Compiling Instrumentation Instrument.swift
[14/14] Compiling Instrumentation MultiplexInstrument.swift
[16/23] Compiling Tracing TracingTime.swift
[17/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
[18/23] Compiling Tracing InstrumentationSystem+Tracing.swift
[19/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
[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 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,
[22/23] Compiling Tracing SpanProtocol.swift
[23/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(),
Build complete! (7.23s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.