The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Benchmark, reference main (5c4569), with Swift 6.1 for Linux on 3 May 2025 13:21:47 UTC.

Swift 6 data race errors: 39

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

410 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19: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
17 |     typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 |     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
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20: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
18 |
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     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
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21: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
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     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
22 |
23 |     static func hook() {
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38: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
 36 |     @_documentation(visibility: internal)
 37 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 38 |     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
 39 |
 40 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42: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
 40 |     @_documentation(visibility: internal)
 41 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 42 |     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
 43 |
 44 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46: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
 44 |     @_documentation(visibility: internal)
 45 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 46 |     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
 47 |
 48 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50: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
 48 |     @_documentation(visibility: internal)
 49 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 50 |     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
 51 |
 52 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: 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
104 |     /// such comparisons by e.g. reading them in from external storage.
105 |     @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 |     public 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
107 |
108 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109: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
107 |
108 |     @_documentation(visibility: internal)
109 |     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
110 |
111 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183: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
181 |                                             skip: false,
182 |                                             thresholds: nil), lock: configurationLock)
183 |     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
184 |
185 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198: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
196 | #endif
197 |
198 |     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
199 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19: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
17 |     typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 |     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
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20: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
18 |
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     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
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21: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
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     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
22 |
23 |     static func hook() {
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38: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
 36 |     @_documentation(visibility: internal)
 37 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 38 |     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
 39 |
 40 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42: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
 40 |     @_documentation(visibility: internal)
 41 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 42 |     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
 43 |
 44 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46: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
 44 |     @_documentation(visibility: internal)
 45 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 46 |     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
 47 |
 48 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50: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
 48 |     @_documentation(visibility: internal)
 49 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 50 |     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
 51 |
 52 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: 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
104 |     /// such comparisons by e.g. reading them in from external storage.
105 |     @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 |     public 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
107 |
108 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109: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
107 |
108 |     @_documentation(visibility: internal)
109 |     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
110 |
111 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183: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
181 |                                             skip: false,
182 |                                             thresholds: nil), lock: configurationLock)
183 |     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
184 |
185 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198: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
196 | #endif
197 |
198 |     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
199 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
[384/433] Compiling Benchmark ProgressElements.swift
[385/433] Compiling Benchmark Utilities.swift
[386/433] Compiling Benchmark Statistics.swift
[387/433] Compiling Benchmark BenchmarkMetric+Defaults.swift
[388/433] Compiling Benchmark BenchmarkMetric.swift
[389/433] Compiling Benchmark BenchmarkResult.swift
[390/433] Compiling Benchmark BenchmarkRunner+ReadWrite.swift
[394/433] Compiling Benchmark BenchmarkInternals.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:20: 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:20: 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:20: 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:20: 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:20: 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/MallocStats/MallocStatsProducer+jemalloc.swift:24:20: 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:20: 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:20: 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:20: 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:20: 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/MallocStats/MallocStatsProducer+jemalloc.swift:24:20: 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:20: 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:20: 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:20: 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:20: 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/MallocStats/MallocStatsProducer+jemalloc.swift:24:20: 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:20: 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:20: 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:20: 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:20: 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")
[406/433] Compiling Benchmark MallocStatsProducer+jemalloc.swift
[407/433] Compiling Benchmark BenchmarkRunner.swift
[408/433] Compiling Benchmark BenchmarkThresholds+Defaults.swift
[409/433] Compiling Benchmark BenchmarkThresholds.swift
[410/433] Compiling Benchmark Blackhole.swift
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19: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
17 |     typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 |     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
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20: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
18 |
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     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
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21: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
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     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
22 |
23 |     static func hook() {
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38: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
 36 |     @_documentation(visibility: internal)
 37 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 38 |     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
 39 |
 40 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42: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
 40 |     @_documentation(visibility: internal)
 41 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 42 |     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
 43 |
 44 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46: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
 44 |     @_documentation(visibility: internal)
 45 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 46 |     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
 47 |
 48 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50: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
 48 |     @_documentation(visibility: internal)
 49 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 50 |     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
 51 |
 52 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: 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
104 |     /// such comparisons by e.g. reading them in from external storage.
105 |     @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 |     public 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
107 |
108 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109: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
107 |
108 |     @_documentation(visibility: internal)
109 |     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
110 |
111 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183: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
181 |                                             skip: false,
182 |                                             thresholds: nil), lock: configurationLock)
183 |     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
184 |
185 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198: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
196 | #endif
197 |
198 |     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
199 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19: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
17 |     typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 |     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
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20: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
18 |
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     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
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21: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
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     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
22 |
23 |     static func hook() {
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38: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
 36 |     @_documentation(visibility: internal)
 37 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 38 |     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
 39 |
 40 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42: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
 40 |     @_documentation(visibility: internal)
 41 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 42 |     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
 43 |
 44 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46: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
 44 |     @_documentation(visibility: internal)
 45 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 46 |     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
 47 |
 48 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50: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
 48 |     @_documentation(visibility: internal)
 49 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 50 |     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
 51 |
 52 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: 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
104 |     /// such comparisons by e.g. reading them in from external storage.
105 |     @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 |     public 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
107 |
108 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109: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
107 |
108 |     @_documentation(visibility: internal)
109 |     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
110 |
111 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183: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
181 |                                             skip: false,
182 |                                             thresholds: nil), lock: configurationLock)
183 |     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
184 |
185 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198: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
196 | #endif
197 |
198 |     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
199 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19: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
17 |     typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 |     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
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20: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
18 |
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     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
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21: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
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     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
22 |
23 |     static func hook() {
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38: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
 36 |     @_documentation(visibility: internal)
 37 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 38 |     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
 39 |
 40 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42: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
 40 |     @_documentation(visibility: internal)
 41 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 42 |     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
 43 |
 44 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46: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
 44 |     @_documentation(visibility: internal)
 45 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 46 |     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
 47 |
 48 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50: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
 48 |     @_documentation(visibility: internal)
 49 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 50 |     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
 51 |
 52 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: 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
104 |     /// such comparisons by e.g. reading them in from external storage.
105 |     @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 |     public 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
107 |
108 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109: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
107 |
108 |     @_documentation(visibility: internal)
109 |     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
110 |
111 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183: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
181 |                                             skip: false,
182 |                                             thresholds: nil), lock: configurationLock)
183 |     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
184 |
185 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198: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
196 | #endif
197 |
198 |     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
199 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19: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
17 |     typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 |     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
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20: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
18 |
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     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
21 |     static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/host/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21: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
19 |     static var allocCount: UnsafeAtomic<Int> = .create(0)
20 |     static var retainCount: UnsafeAtomic<Int> = .create(0)
21 |     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
22 |
23 |     static func hook() {
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38: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
 36 |     @_documentation(visibility: internal)
 37 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 38 |     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
 39 |
 40 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42: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
 40 |     @_documentation(visibility: internal)
 41 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 42 |     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
 43 |
 44 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46: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
 44 |     @_documentation(visibility: internal)
 45 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 46 |     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
 47 |
 48 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50: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
 48 |     @_documentation(visibility: internal)
 49 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 50 |     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
 51 |
 52 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: 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
104 |     /// such comparisons by e.g. reading them in from external storage.
105 |     @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 |     public 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
107 |
108 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109: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
107 |
108 |     @_documentation(visibility: internal)
109 |     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
110 |
111 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183: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
181 |                                             skip: false,
182 |                                             thresholds: nil), lock: configurationLock)
183 |     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
184 |
185 | #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198: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
196 | #endif
197 |
198 |     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
199 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 14 |
 15 | /// Defines a benchmark
 16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 17 |     @_documentation(visibility: internal)
 18 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
405 |         DispatchQueue.global(qos: .userInitiated).async {
406 |             Task {
407 |                 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
408 |                 await asyncClosure(self)
409 |                 self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: 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
406 |             Task {
407 |                 self._startMeasurement(false)
408 |                 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'
409 |                 self._stopMeasurement(false)
410 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40: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
 38 | @_documentation(visibility: internal)
 39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 40 |     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
 41 |
 42 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 87 |         do {
 88 |             var command = Self.parseOrExit()
 89 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 90 |             registerBenchmarks()
 91 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:100: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
 98 |     public mutating func run() async throws {
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         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
101 |         setbuf(stderr, nil)
102 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:101: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
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         setbuf(stdout, nil)
101 |         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
102 |
103 |         // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[415/433] Compiling Benchmark Int+Extensions.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40: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
 38 | @_documentation(visibility: internal)
 39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 40 |     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
 41 |
 42 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 87 |         do {
 88 |             var command = Self.parseOrExit()
 89 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 90 |             registerBenchmarks()
 91 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:100: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
 98 |     public mutating func run() async throws {
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         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
101 |         setbuf(stderr, nil)
102 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:101: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
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         setbuf(stdout, nil)
101 |         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
102 |
103 |         // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[416/433] Compiling Benchmark MallocStats+jemalloc-support.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40: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
 38 | @_documentation(visibility: internal)
 39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 40 |     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
 41 |
 42 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 87 |         do {
 88 |             var command = Self.parseOrExit()
 89 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 90 |             registerBenchmarks()
 91 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:100: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
 98 |     public mutating func run() async throws {
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         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
101 |         setbuf(stderr, nil)
102 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:101: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
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         setbuf(stdout, nil)
101 |         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
102 |
103 |         // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[417/433] Compiling Benchmark MallocStats.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40: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
 38 | @_documentation(visibility: internal)
 39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 40 |     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
 41 |
 42 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 87 |         do {
 88 |             var command = Self.parseOrExit()
 89 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 90 |             registerBenchmarks()
 91 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:100: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
 98 |     public mutating func run() async throws {
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         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
101 |         setbuf(stderr, nil)
102 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:101: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
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         setbuf(stdout, nil)
101 |         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
102 |
103 |         // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40: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
 38 | @_documentation(visibility: internal)
 39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 40 |     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
 41 |
 42 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 87 |         do {
 88 |             var command = Self.parseOrExit()
 89 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 90 |             registerBenchmarks()
 91 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:100: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
 98 |     public mutating func run() async throws {
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         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
101 |         setbuf(stderr, nil)
102 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:101: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
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         setbuf(stdout, nil)
101 |         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
102 |
103 |         // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40: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
 38 | @_documentation(visibility: internal)
 39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 40 |     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
 41 |
 42 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 87 |         do {
 88 |             var command = Self.parseOrExit()
 89 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 90 |             registerBenchmarks()
 91 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:100: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
 98 |     public mutating func run() async throws {
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         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
101 |         setbuf(stderr, nil)
102 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:101: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
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         setbuf(stdout, nil)
101 |         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
102 |
103 |         // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40: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
 38 | @_documentation(visibility: internal)
 39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 40 |     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
 41 |
 42 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 87 |         do {
 88 |             var command = Self.parseOrExit()
 89 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 90 |             registerBenchmarks()
 91 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:100: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
 98 |     public mutating func run() async throws {
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         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
101 |         setbuf(stderr, nil)
102 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:101: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
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         setbuf(stdout, nil)
101 |         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
102 |
103 |         // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40: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
 38 | @_documentation(visibility: internal)
 39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 40 |     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
 41 |
 42 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 87 |         do {
 88 |             var command = Self.parseOrExit()
 89 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 90 |             registerBenchmarks()
 91 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:100: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
 98 |     public mutating func run() async throws {
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         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
101 |         setbuf(stderr, nil)
102 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:101: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
 99 |         // Flush stdout/stderr so we see any failures clearly
100 |         setbuf(stdout, nil)
101 |         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
102 |
103 |         // We just run everything in debug mode to simplify workflow with debuggers/profilers
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:20: 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:20: 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:20: 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:20: 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:20: 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/MallocStats/MallocStatsProducer+jemalloc.swift:24:20: 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:20: 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:20: 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:20: 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:20: 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/MallocStats/MallocStatsProducer+jemalloc.swift:24:20: 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:20: 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:20: 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:20: 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:20: 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/MallocStats/MallocStatsProducer+jemalloc.swift:24:20: 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:20: 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:20: 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:20: 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:20: 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")
[426/435] Wrapping AST for Benchmark for debugging
[430/465] Compiling BenchmarkTool BenchmarkTool+Export+InfluxCSVFormatter.swift
[431/465] Compiling BenchmarkTool BenchmarkTool+Export+JMHElement.swift
[432/467] Compiling BenchmarkTool FilePath+DirectoryView.swift
[433/467] Compiling BenchmarkTool String+Additions.swift
[434/467] Compiling BenchmarkTool BenchmarkTool+JSON.swift
[435/467] Compiling BenchmarkTool BenchmarkTool+Machine.swift
[436/467] Compiling BenchmarkTool BenchmarkTool+Export+JMHFormatter.swift
[437/467] Compiling BenchmarkTool BenchmarkTool+Export.swift
[438/467] Emitting module BenchmarkTool
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: 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
 41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 42 |
 43 | fileprivate 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
 44 |
 45 | @main
[439/467] Compiling BenchmarkTool BenchmarkTool+ReadP90AbsoluteThresholds.swift
[440/467] Compiling BenchmarkTool BenchmarkTool+Thresholds.swift
[441/467] Compiling BenchmarkTool BenchmarkTool+Baselines.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: 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
 41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 42 |
 43 | fileprivate 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
 44 |
 45 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:218: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
216 |     mutating func run() async throws {
217 |         // Flush stdout so we see any failures clearly
218 |         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
219 |
220 |         guard command != .`init` else {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[442/467] Compiling BenchmarkTool BenchmarkTool+CreateBenchmark.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: 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
 41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 42 |
 43 | fileprivate 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
 44 |
 45 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:218: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
216 |     mutating func run() async throws {
217 |         // Flush stdout so we see any failures clearly
218 |         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
219 |
220 |         guard command != .`init` else {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[445/467] Emitting module BenchmarkTool
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: 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
 41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 42 |
 43 | fileprivate 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
 44 |
 45 | @main
[446/469] Compiling BenchmarkTool BenchmarkTool+Operations.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:89: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
 87 |     mutating func postProcessBenchmarkResults() throws {
 88 |         // Turn on buffering again for output
 89 |         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
 90 |
 91 |         switch command {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[447/469] Compiling BenchmarkTool BenchmarkTool+PrettyPrinting.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:89: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
 87 |     mutating func postProcessBenchmarkResults() throws {
 88 |         // Turn on buffering again for output
 89 |         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
 90 |
 91 |         switch command {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[448/469] Compiling BenchmarkTool BenchmarkTool.swift
[449/469] Compiling BenchmarkTool FilePath+Additions.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:89: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
 87 |     mutating func postProcessBenchmarkResults() throws {
 88 |         // Turn on buffering again for output
 89 |         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
 90 |
 91 |         switch command {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:89: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
 87 |     mutating func postProcessBenchmarkResults() throws {
 88 |         // Turn on buffering again for output
 89 |         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
 90 |
 91 |         switch command {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: 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
 41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 42 |
 43 | fileprivate 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
 44 |
 45 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:218: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
216 |     mutating func run() async throws {
217 |         // Flush stdout so we see any failures clearly
218 |         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
219 |
220 |         guard command != .`init` else {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: 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
 41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 42 |
 43 | fileprivate 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
 44 |
 45 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:218: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
216 |     mutating func run() async throws {
217 |         // Flush stdout so we see any failures clearly
218 |         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
219 |
220 |         guard command != .`init` else {
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[463/470] Compiling BenchmarkTool FilePath+DirectoryView.swift
[464/470] Compiling BenchmarkTool String+Additions.swift
[464/471] Wrapping AST for BenchmarkTool for debugging
[465/471] Write Objects.LinkFileList
[467/471] Wrapping AST for BenchmarkTool for debugging
[468/471] Write Objects.LinkFileList
[469/471] Linking BenchmarkTool-tool
[470/471] Linking BenchmarkTool
Build complete! (111.59s)
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" : "2.0.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+Baselines.swift",
        "BenchmarkTool+CreateBenchmark.swift",
        "BenchmarkTool+Export+InfluxCSVFormatter.swift",
        "BenchmarkTool+Export+JMHElement.swift",
        "BenchmarkTool+Export+JMHFormatter.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",
        "BenchmarkMetricsTests.swift",
        "BenchmarkResultTests.swift",
        "BenchmarkRunnerTests.swift",
        "BenchmarkTests.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",
        "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",
        "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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.