Build Information
Successful build of swift-distributed-tracing, reference main (76e5ff
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 08:12:23 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
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 /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 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: macosSpm
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
{
"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"
]
}
}
],
"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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/7] Compiling ServiceContextModule ServiceContextKey.swift
[6/7] Emitting module ServiceContextModule
[7/7] Compiling ServiceContextModule ServiceContext.swift
[8/13] Compiling Instrumentation MultiplexInstrument.swift
[9/13] Compiling Instrumentation InstrumentationSystem.swift
[10/13] Compiling Instrumentation Locks.swift
[11/13] Compiling Instrumentation Instrument.swift
[12/13] Emitting module Instrumentation
[13/13] Compiling Instrumentation NoOpInstrument.swift
[14/21] Compiling Tracing TracingTime.swift
[15/21] Compiling Tracing TracerProtocol.swift
/Users/admin/builder/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
[16/21] Compiling Tracing TracerProtocol+Legacy.swift
/Users/admin/builder/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 |
/Users/admin/builder/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(),
/Users/admin/builder/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(),
/Users/admin/builder/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(),
/Users/admin/builder/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,
[17/21] Compiling Tracing SpanProtocol.swift
[18/21] Emitting module Tracing
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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/21] Compiling Tracing InstrumentationSystem+Tracing.swift
[20/21] Compiling Tracing NoOpTracer.swift
/Users/admin/builder/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/21] Compiling Tracing Tracer.swift
/Users/admin/builder/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(),
/Users/admin/builder/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(),
/Users/admin/builder/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,
/Users/admin/builder/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,
/Users/admin/builder/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(),
/Users/admin/builder/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(),
/Users/admin/builder/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,
/Users/admin/builder/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(),
/Users/admin/builder/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(),
/Users/admin/builder/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,
/Users/admin/builder/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! (5.62s)
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.91s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (1.38s)
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
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"
]
}
}
],
"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"
}
Done.