Build Information
Successful build of swift-distributed-tracing, reference 1.3.1 (baa932), with Swift 6.1 for Wasm on 7 Oct 2025 13:50:48 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-distributed-tracing.git
Reference: 1.3.1
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.3.1 -> FETCH_HEAD
HEAD is now at baa932c Windows CI & Fix Windows support (#188)
Cloned https://github.com/apple/swift-distributed-tracing.git
Revision (git rev-parse @):
baa932c1336f7894145cbaafcd34ce2dd0b77c97
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-distributed-tracing.git at 1.3.1
========================================
Build
========================================
Selected platform: wasm
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"
]
}
},
{
"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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-service-context.git
[1/1117] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.27s)
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.96s)
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/6] Write sources
[4/6] Compiling _CWASI _CWASI.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/9] Emitting module ServiceContextModule
[8/9] Compiling ServiceContextModule ServiceContextKey.swift
[9/9] Compiling ServiceContextModule ServiceContext.swift
[11/16] Compiling Instrumentation NoOpInstrument.swift
[12/16] Compiling Instrumentation Locks.swift
[13/16] Compiling Instrumentation MultiplexInstrument.swift
[14/16] Compiling Instrumentation Instrument.swift
[15/16] Compiling Instrumentation InstrumentationSystem.swift
[16/16] Emitting module Instrumentation
[18/25] 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 produces.
27 | associatedtype Span: Tracing.Span
[19/25] Compiling Tracing TracerProtocol+Legacy.swift
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:82:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
80 |
81 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *) // for TaskLocal ServiceContext
82 | extension LegacyTracer {
| |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
| `- note: use 'Tracer' instead
83 | // ==== startSpan ---------------------------------------------------------
84 |
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:170:14: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
168 | line: UInt = #line
169 | ) -> any Tracing.Span {
170 | self.startAnySpan(
| `- warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
171 | operationName,
172 | context: context(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:216:25: warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
214 | _ operation: (any Tracing.Span) throws -> T
215 | ) rethrows -> T {
216 | let span = self.startAnySpan(
| `- warning: 'startAnySpan(_:context:ofKind:at:function:file:line:)' is deprecated: prefer withSpan
217 | operationName,
218 | context: context(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:320:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
318 | _ operation: (any Tracing.Span) async throws -> T
319 | ) async rethrows -> T {
320 | let span = self.startAnySpan(
| `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
321 | operationName,
322 | at: instant(),
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:425:25: warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
423 | _ operation: (any Tracing.Span) async throws -> T
424 | ) async rethrows -> T {
425 | let span = self.startAnySpan(
| `- warning: 'startAnySpan(_:at:context:ofKind:function:file:line:)' is deprecated: prefer withSpan
426 | operationName,
427 | at: DefaultTracerClock.now,
[20/25] Compiling Tracing InstrumentationSystem+Tracing.swift
[21/25] 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 |
22 | /// The type used to represent a span.
/host/spi-builder-workspace/Sources/Tracing/TracerProtocol+Legacy.swift:82:11: warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
80 |
81 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *) // for TaskLocal ServiceContext
82 | extension LegacyTracer {
| |- warning: 'LegacyTracer' is deprecated: renamed to 'Tracer'
| `- note: use 'Tracer' instead
83 | // ==== startSpan ---------------------------------------------------------
84 |
/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 produces.
27 | associatedtype Span: Tracing.Span
[22/25] 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:428:37: warning: 'legacyTracer' is deprecated: prefer tracer
426 | _ operation: (any Span) async throws -> T
427 | ) async rethrows -> T {
428 | try await InstrumentationSystem.legacyTracer.withAnySpan(
| `- warning: 'legacyTracer' is deprecated: prefer tracer
429 | operationName,
430 | at: DefaultTracerClock.now,
/host/spi-builder-workspace/Sources/Tracing/Tracer.swift:518:37: warning: 'legacyTracer' is deprecated: prefer tracer
516 | _ operation: (any Span) async throws -> T
517 | ) async rethrows -> T {
518 | try await InstrumentationSystem.legacyTracer.withAnySpan(
| `- warning: 'legacyTracer' is deprecated: prefer tracer
519 | operationName,
520 | at: instant(),
[23/25] 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 |
22 | /// The type used to represent a span.
[24/25] Compiling Tracing SpanProtocol.swift
[25/25] Compiling Tracing TracingTime.swift
[27/30] Compiling InMemoryTracing InMemoryTracer.swift
[28/30] Compiling InMemoryTracing InMemorySpanContext.swift
[29/30] Compiling InMemoryTracing InMemorySpan.swift
[30/30] Emitting module InMemoryTracing
Build complete! (9.34s)
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"
}
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:062e4aaff76454b333ce7957a8e87c3beb342f1dedb64399abb81cdea021b526
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Done.