Build Information
Successful build of Benchmark, reference 1.38.1 (ca4a9d), with Swift 6.1 for Linux on 29 Oct 2026 14:37:42 UTC.
Swift 6 data race errors: 38
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-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>&1Build Log
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | @_documentation(visibility: internal)
38 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
39 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | @_documentation(visibility: internal)
42 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
43 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | @_documentation(visibility: internal)
46 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
47 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @_documentation(visibility: internal)
50 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
51 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | @_documentation(visibility: internal)
38 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
39 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | @_documentation(visibility: internal)
42 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
43 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | @_documentation(visibility: internal)
46 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
47 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @_documentation(visibility: internal)
50 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
51 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:175:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 | import SystemPackage
21 |
22 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
23 | var nsPerSchedulerTick: Int
24 | var pageSize: Int
:
173 | DispatchQueue.global(qos: .userInitiated)
174 | .async {
175 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
176 |
177 | let rate = self.sampleRate
[425/481] Compiling Benchmark Blackhole.swift
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:175:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 | import SystemPackage
21 |
22 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
23 | var nsPerSchedulerTick: Int
24 | var pageSize: Int
:
173 | DispatchQueue.global(qos: .userInitiated)
174 | .async {
175 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
176 |
177 | let rate = self.sampleRate
[426/481] Compiling Benchmark Diagnostics.swift
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:175:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 | import SystemPackage
21 |
22 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
23 | var nsPerSchedulerTick: Int
24 | var pageSize: Int
:
173 | DispatchQueue.global(qos: .userInitiated)
174 | .async {
175 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
176 |
177 | let rate = self.sampleRate
[427/481] Compiling Benchmark Int+Extensions.swift
/host/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift:175:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
20 | import SystemPackage
21 |
22 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
23 | var nsPerSchedulerTick: Int
24 | var pageSize: Int
:
173 | DispatchQueue.global(qos: .userInitiated)
174 | .async {
175 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
176 |
177 | let rate = self.sampleRate
[428/481] Compiling Benchmark BenchmarkThresholds.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // Basically just set up a number of cached MIB structures for
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
| |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
| |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
| |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
| |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
| |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
30 | // var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[429/481] Compiling Benchmark BenchmarkExecutor+Extensions.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // Basically just set up a number of cached MIB structures for
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
| |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
| |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
| |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
| |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
| |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
30 | // var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[430/481] Compiling Benchmark BenchmarkExecutor.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // Basically just set up a number of cached MIB structures for
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
| |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
| |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
| |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
| |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
| |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
30 | // var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[431/481] Compiling Benchmark BenchmarkInternals.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // Basically just set up a number of cached MIB structures for
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
| |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
| |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
| |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
| |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
| |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
30 | // var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[432/481] Compiling Benchmark BenchmarkResult.swift
[433/481] Compiling Benchmark BenchmarkRunner+ReadWrite.swift
[434/481] Compiling Benchmark BenchmarkRunner.swift
[435/481] Compiling Benchmark BenchmarkThresholds+Defaults.swift
[436/481] Emitting module Benchmark
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | static let usesPreloadedInterposer = false
49 |
50 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | static var retainCount: UnsafeAtomic<Int> = .create(0)
52 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:51:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | static var allocCount: UnsafeAtomic<Int> = .create(0)
51 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
53 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:52:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 | static var allocCount: UnsafeAtomic<Int> = .create(0)
51 | static var retainCount: UnsafeAtomic<Int> = .create(0)
52 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 |
54 | static func hook() {
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | @_documentation(visibility: internal)
38 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
39 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | @_documentation(visibility: internal)
42 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
43 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | @_documentation(visibility: internal)
46 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
47 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @_documentation(visibility: internal)
50 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
51 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | // Basically just set up a number of cached MIB structures for
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
| |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | // more efficient queries later of malloc statistics.
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
| |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
| |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var epochMIB = setupMIB(name: "epoch")
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
| |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
27 | static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
28 | static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
| |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | // var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
30 | // var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
[437/481] Compiling Benchmark BenchmarkMetric+Defaults.swift
[438/481] Compiling Benchmark BenchmarkMetric.swift
[442/481] Compiling Benchmark Progress.swift
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
[443/481] Compiling Benchmark ProgressElements.swift
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
[444/481] Compiling Benchmark Utilities.swift
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
[445/481] Compiling Benchmark Statistics.swift
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
[446/481] Compiling Benchmark MallocStats+jemalloc-support.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:153:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
151 | public mutating func run() async throws {
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
154 | setbuf(stderr, nil)
155 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:154:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
152 | // Flush stdout/stderr so we see any failures clearly
153 | setbuf(stdout, nil)
154 | setbuf(stderr, nil)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:151:14: note: var declared here
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
151 | extern FILE *stderr; /* Standard error output stream. */
| `- note: var declared here
152 | /* C89/C99 say they're macros. Make them happy. */
153 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | @_documentation(visibility: internal)
38 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
39 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | @_documentation(visibility: internal)
42 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
43 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | @_documentation(visibility: internal)
46 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
47 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @_documentation(visibility: internal)
50 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
51 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | @_documentation(visibility: internal)
38 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
39 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | @_documentation(visibility: internal)
42 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
43 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | @_documentation(visibility: internal)
46 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
47 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @_documentation(visibility: internal)
50 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
51 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | @_documentation(visibility: internal)
38 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
39 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | @_documentation(visibility: internal)
42 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
43 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | @_documentation(visibility: internal)
46 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
47 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @_documentation(visibility: internal)
50 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
51 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | @_documentation(visibility: internal)
38 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
39 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | @_documentation(visibility: internal)
42 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
43 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | @_documentation(visibility: internal)
46 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
47 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @_documentation(visibility: internal)
50 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
51 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 | @_documentation(visibility: internal)
38 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
39 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | @_documentation(visibility: internal)
42 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
43 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 | @_documentation(visibility: internal)
46 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
47 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |
49 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 | @_documentation(visibility: internal)
50 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
51 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 | let configuration: [ProgressElementType]?
63 |
64 | public static var defaultConfiguration: [ProgressElementType] = [
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
66 | ]
[475/483] Wrapping AST for Benchmark for debugging
[478/517] Compiling BenchmarkTool BenchmarkTool+Export.swift
[479/517] Compiling BenchmarkTool BenchmarkTool+JSON.swift
[480/519] Compiling BenchmarkTool FilePath+DirectoryView.swift
[481/519] Compiling BenchmarkTool String+Additions.swift
[482/519] Compiling BenchmarkTool BenchmarkTool+CreateBenchmark.swift
[483/519] Compiling BenchmarkTool BenchmarkTool+Export+JSON.swift
[486/521] Compiling BenchmarkTool BenchmarkTool+PrettyPrinting.swift
[487/521] Compiling BenchmarkTool BenchmarkTool.swift
[488/521] Compiling BenchmarkTool FilePath+Additions.swift
[489/521] Compiling BenchmarkTool BenchmarkTool+AllocationStacks.swift
[490/521] Compiling BenchmarkTool BenchmarkTool+Baselines.swift
[492/521] Emitting module BenchmarkTool
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
44 |
45 | private var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | @main
[493/521] Compiling BenchmarkTool BenchmarkTool+Export+InfluxCSVFormatter.swift
[494/521] Compiling BenchmarkTool BenchmarkTool+Export+JMHElement.swift
[495/521] Compiling BenchmarkTool BenchmarkTool+Export+JMHFormatter.swift
[496/521] Compiling BenchmarkTool FilePath+DirectoryView.swift
[497/521] Compiling BenchmarkTool String+Additions.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:93:17: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 | mutating func postProcessBenchmarkResults() throws {
92 | // Turn on buffering again for output
93 | setvbuf(stdout, nil, _IOFBF, Int(BUFSIZ))
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 |
95 | switch command {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:93:17: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 | mutating func postProcessBenchmarkResults() throws {
92 | // Turn on buffering again for output
93 | setvbuf(stdout, nil, _IOFBF, Int(BUFSIZ))
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 |
95 | switch command {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[503/521] Emitting module BenchmarkTool
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
44 |
45 | private var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | @main
[505/521] Compiling BenchmarkTool BenchmarkTool+Machine.swift
[506/521] Compiling BenchmarkTool BenchmarkTool+Operations.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:93:17: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 | mutating func postProcessBenchmarkResults() throws {
92 | // Turn on buffering again for output
93 | setvbuf(stdout, nil, _IOFBF, Int(BUFSIZ))
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 |
95 | switch command {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:93:17: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
91 | mutating func postProcessBenchmarkResults() throws {
92 | // Turn on buffering again for output
93 | setvbuf(stdout, nil, _IOFBF, Int(BUFSIZ))
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 |
95 | switch command {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
44 |
45 | private var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:277:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
275 | mutating func run() async throws {
276 | // Flush stdout so we see any failures clearly
277 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
278 |
279 | guard command != .`init` else {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
44 |
45 | private var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:277:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
275 | mutating func run() async throws {
276 | // Flush stdout so we see any failures clearly
277 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
278 |
279 | guard command != .`init` else {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[510/521] Compiling BenchmarkTool BenchmarkTool+ReadP90AbsoluteThresholds.swift
[511/521] Compiling BenchmarkTool BenchmarkTool+Thresholds.swift
[512/522] Wrapping AST for BenchmarkTool for debugging
[513/522] Write Objects.LinkFileList
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
44 |
45 | private var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:277:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
275 | mutating func run() async throws {
276 | // Flush stdout so we see any failures clearly
277 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
278 |
279 | guard command != .`init` else {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
44 |
45 | private var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:277:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
275 | mutating func run() async throws {
276 | // Flush stdout so we see any failures clearly
277 | setbuf(stdout, nil)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
278 |
279 | guard command != .`init` else {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams. */
149 | extern FILE *stdin; /* Standard input stream. */
150 | extern FILE *stdout; /* Standard output stream. */
| `- note: var declared here
151 | extern FILE *stderr; /* Standard error output stream. */
152 | /* C89/C99 say they're macros. Make them happy. */
[519/523] Wrapping AST for BenchmarkTool for debugging
[520/523] Write Objects.LinkFileList
[521/523] Linking BenchmarkTool
[522/523] Linking BenchmarkTool-tool
Build complete! (22.43s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "1.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "texttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/TextTable.git"
},
{
"identity" : "hdrhistogram-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/HdrHistogram/hdrhistogram-swift.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "package-jemalloc",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/package-jemalloc.git"
}
],
"manifest_display_name" : "Benchmark",
"name" : "Benchmark",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "BenchmarkCommandPlugin",
"targets" : [
"BenchmarkCommandPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "BenchmarkPlugin",
"targets" : [
"BenchmarkPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "Benchmark",
"targets" : [
"Benchmark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BenchmarkTool",
"targets" : [
"BenchmarkTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkHelpGenerator",
"targets" : [
"BenchmarkHelpGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkBoilerplateGenerator",
"targets" : [
"BenchmarkBoilerplateGenerator"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftRuntimeHooks",
"module_type" : "ClangTarget",
"name" : "SwiftRuntimeHooks",
"path" : "Sources/SwiftRuntimeHooks",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"shims.c"
],
"type" : "library"
},
{
"c99name" : "CLinuxOperatingSystemStats",
"module_type" : "ClangTarget",
"name" : "CLinuxOperatingSystemStats",
"path" : "Platform/CLinuxOperatingSystemStats",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"CLinuxOperatingSystemStats.c"
],
"type" : "library"
},
{
"c99name" : "CDarwinOperatingSystemStats",
"module_type" : "ClangTarget",
"name" : "CDarwinOperatingSystemStats",
"path" : "Platform/CDarwinOperatingSystemStats",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"CDarwinOperatingSystemStats.c"
],
"type" : "library"
},
{
"c99name" : "BenchmarkTool",
"module_type" : "SwiftTarget",
"name" : "BenchmarkTool",
"path" : "Plugins/BenchmarkTool",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage",
"TextTable"
],
"product_memberships" : [
"BenchmarkCommandPlugin",
"BenchmarkTool"
],
"sources" : [
"BenchmarkTool+AllocationStacks.swift",
"BenchmarkTool+Baselines.swift",
"BenchmarkTool+CreateBenchmark.swift",
"BenchmarkTool+Export+InfluxCSVFormatter.swift",
"BenchmarkTool+Export+JMHElement.swift",
"BenchmarkTool+Export+JMHFormatter.swift",
"BenchmarkTool+Export+JSON.swift",
"BenchmarkTool+Export.swift",
"BenchmarkTool+JSON.swift",
"BenchmarkTool+Machine.swift",
"BenchmarkTool+Operations.swift",
"BenchmarkTool+PrettyPrinting.swift",
"BenchmarkTool+ReadP90AbsoluteThresholds.swift",
"BenchmarkTool+Thresholds.swift",
"BenchmarkTool.swift",
"FilePath+Additions.swift",
"FilePath+DirectoryView.swift",
"String+Additions.swift"
],
"target_dependencies" : [
"Benchmark",
"BenchmarkShared"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkTests",
"module_type" : "SwiftTarget",
"name" : "BenchmarkTests",
"path" : "Tests/BenchmarkTests",
"sources" : [
"AdditionalTests.swift",
"AllocationStacksFoldedTests.swift",
"AllocationStacksTests.swift",
"BenchmarkMetricsTests.swift",
"BenchmarkResultTests.swift",
"BenchmarkRunnerTests.swift",
"BenchmarkTests.swift",
"MallocStatisticsTests.swift",
"OperatingSystemAndMallocTests.swift",
"StatisticsTests.swift"
],
"target_dependencies" : [
"Benchmark"
],
"type" : "test"
},
{
"c99name" : "BenchmarkShared",
"module_type" : "SwiftTarget",
"name" : "BenchmarkShared",
"path" : "Sources/BenchmarkShared",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool",
"BenchmarkHelpGenerator"
],
"sources" : [
"Command+Helpers.swift"
],
"type" : "library"
},
{
"c99name" : "BenchmarkPlugin",
"module_type" : "PluginTarget",
"name" : "BenchmarkPlugin",
"path" : "Plugins/BenchmarkPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"BenchmarkPlugin"
],
"sources" : [
"BenchmarkSupportPlugin.swift"
],
"target_dependencies" : [
"BenchmarkBoilerplateGenerator"
],
"type" : "plugin"
},
{
"c99name" : "BenchmarkHelpGenerator",
"module_type" : "SwiftTarget",
"name" : "BenchmarkHelpGenerator",
"path" : "Plugins/BenchmarkHelpGenerator",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"BenchmarkHelpGenerator"
],
"sources" : [
"BenchmarkHelpGenerator.swift"
],
"target_dependencies" : [
"BenchmarkShared"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkCommandPlugin",
"module_type" : "PluginTarget",
"name" : "BenchmarkCommandPlugin",
"path" : "Plugins/BenchmarkCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Run the Benchmark performance test suite.",
"type" : "custom",
"verb" : "benchmark"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"BenchmarkCommandPlugin"
],
"sources" : [
"ArgumentExtractor+Extensions.swift",
"BenchmarkCommandPlugin.swift",
"BenchmarkPlugin+Help.swift",
"Command+Helpers.swift"
],
"target_dependencies" : [
"BenchmarkTool"
],
"type" : "plugin"
},
{
"c99name" : "BenchmarkBoilerplateGenerator",
"module_type" : "SwiftTarget",
"name" : "BenchmarkBoilerplateGenerator",
"path" : "Plugins/BenchmarkBoilerplateGenerator",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"BenchmarkPlugin",
"BenchmarkBoilerplateGenerator"
],
"sources" : [
"BenchmarkBoilerplateGenerator.swift"
],
"type" : "executable"
},
{
"c99name" : "Benchmark",
"module_type" : "SwiftTarget",
"name" : "Benchmark",
"path" : "Sources/Benchmark",
"product_dependencies" : [
"Histogram",
"ArgumentParser",
"SystemPackage",
"Atomics",
"jemalloc"
],
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"ARCStats/ARCStats.swift",
"ARCStats/ARCStatsProducer.swift",
"AllocationStacks/AllocationStackRecorder.swift",
"AllocationStacks/AllocationStackReport+Folded.swift",
"AllocationStacks/AllocationStackReport+Formatting.swift",
"AllocationStacks/AllocationStackReport.swift",
"AllocationStacks/AllocationStackSymbolicator.swift",
"Benchmark+ConvenienceInitializers.swift",
"Benchmark.swift",
"BenchmarkClock.swift",
"BenchmarkExecutor+Extensions.swift",
"BenchmarkExecutor.swift",
"BenchmarkInternals.swift",
"BenchmarkMetric+Defaults.swift",
"BenchmarkMetric.swift",
"BenchmarkResult.swift",
"BenchmarkRunner+ReadWrite.swift",
"BenchmarkRunner.swift",
"BenchmarkThresholds+Defaults.swift",
"BenchmarkThresholds.swift",
"Blackhole.swift",
"Diagnostics.swift",
"Int+Extensions.swift",
"MallocStats/MallocStats+jemalloc-support.swift",
"MallocStats/MallocStats.swift",
"MallocStats/MallocStatsProducer+jemalloc.swift",
"NIOConcurrencyHelpers/NIOLock.swift",
"NIOConcurrencyHelpers/lock.swift",
"OperatingSystemStats/OperatingSystemStats.swift",
"OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift",
"OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift",
"OutputSuppressor.swift",
"Progress/Progress.swift",
"Progress/ProgressElements.swift",
"Progress/Utilities.swift",
"Statistics.swift"
],
"target_dependencies" : [
"CDarwinOperatingSystemStats",
"CLinuxOperatingSystemStats",
"SwiftRuntimeHooks",
"BenchmarkShared"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:b6bfb4c5da2c5a0e111d7eb0c087cb4f5887cce9a34b7779faa557952c747cfc
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Done.