The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Benchmark, reference main (a0d252), with Swift 6.1 for Linux on 27 Mar 2026 10:00:06 UTC.

Swift 6 data race errors: 38

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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

    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |
113 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:114: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
112 |
113 |     @_documentation(visibility: internal)
114 |     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
115 |
116 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:192: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
190 |         lock: configurationLock
191 |     )
192 |     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
193 |
194 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:208: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
206 |     #endif
207 |
208 |     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
209 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
210 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
[390/452] Compiling Benchmark BenchmarkClock.swift
[391/452] Compiling Benchmark BenchmarkExecutor+Extensions.swift
[392/452] Compiling Benchmark BenchmarkExecutor.swift
[393/452] Compiling Benchmark BenchmarkInternals.swift
[394/452] Emitting module BenchmarkBoilerplateGenerator
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[395/452] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[396/453] Compiling Benchmark BenchmarkMetric+Defaults.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:94:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 92 |         do {
 93 |             var command = Self.parseOrExit()
 94 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 95 |             registerBenchmarks()
 96 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:105: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
103 |     public mutating func run() async throws {
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         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
106 |         setbuf(stderr, nil)
107 |
/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:106: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
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         setbuf(stdout, nil)
106 |         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
107 |
108 |         // 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
[397/453] Compiling Benchmark BenchmarkMetric.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:94:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 92 |         do {
 93 |             var command = Self.parseOrExit()
 94 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 95 |             registerBenchmarks()
 96 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:105: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
103 |     public mutating func run() async throws {
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         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
106 |         setbuf(stderr, nil)
107 |
/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:106: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
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         setbuf(stdout, nil)
106 |         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
107 |
108 |         // 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
[398/453] Compiling Benchmark BenchmarkResult.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:94:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 92 |         do {
 93 |             var command = Self.parseOrExit()
 94 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 95 |             registerBenchmarks()
 96 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:105: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
103 |     public mutating func run() async throws {
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         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
106 |         setbuf(stderr, nil)
107 |
/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:106: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
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         setbuf(stdout, nil)
106 |         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
107 |
108 |         // 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
[399/453] Compiling Benchmark BenchmarkRunner+ReadWrite.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:94:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 92 |         do {
 93 |             var command = Self.parseOrExit()
 94 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 95 |             registerBenchmarks()
 96 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:105: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
103 |     public mutating func run() async throws {
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         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
106 |         setbuf(stderr, nil)
107 |
/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:106: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
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         setbuf(stdout, nil)
106 |         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
107 |
108 |         // 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
[400/453] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[401/453] Emitting module BenchmarkBoilerplateGenerator
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[406/453] Compiling Benchmark Int+Extensions.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[407/453] Compiling Benchmark MallocStats+jemalloc-support.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[408/453] Compiling Benchmark MallocStats.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[409/453] Compiling Benchmark MallocStatsProducer+jemalloc.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[412/455] Emitting module Benchmark
/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:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     @_documentation(visibility: internal)
 38 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 39 |     public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |     @_documentation(visibility: internal)
 42 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 43 |     public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |     @_documentation(visibility: internal)
 46 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 47 |     public static var _setup: BenchmarkSetupHook?
    |                       |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |     @_documentation(visibility: internal)
 50 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 51 |     public static var _teardown: BenchmarkTeardownHook?
    |                       |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:111: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
109 |         message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`"
110 |     )
111 |     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
112 |
113 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:114: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
112 |
113 |     @_documentation(visibility: internal)
114 |     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
115 |
116 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:192: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
190 |         lock: configurationLock
191 |     )
192 |     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
193 |
194 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:208: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
206 |     #endif
207 |
208 |     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
209 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
210 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:64:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 62 |     let configuration: [ProgressElementType]?
 63 |
 64 |     public static var defaultConfiguration: [ProgressElementType] = [
    |                       |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |         ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates(),
 66 |     ]
/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:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     @_documentation(visibility: internal)
 38 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 39 |     public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |     @_documentation(visibility: internal)
 42 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 43 |     public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |     @_documentation(visibility: internal)
 46 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 47 |     public static var _setup: BenchmarkSetupHook?
    |                       |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |     @_documentation(visibility: internal)
 50 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 51 |     public static var _teardown: BenchmarkTeardownHook?
    |                       |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:111: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
109 |         message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`"
110 |     )
111 |     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
112 |
113 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:114: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
112 |
113 |     @_documentation(visibility: internal)
114 |     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
115 |
116 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:192: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
190 |         lock: configurationLock
191 |     )
192 |     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
193 |
194 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:208: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
206 |     #endif
207 |
208 |     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
209 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
210 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
/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:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     @_documentation(visibility: internal)
 38 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 39 |     public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |     @_documentation(visibility: internal)
 42 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 43 |     public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |     @_documentation(visibility: internal)
 46 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 47 |     public static var _setup: BenchmarkSetupHook?
    |                       |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |     @_documentation(visibility: internal)
 50 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 51 |     public static var _teardown: BenchmarkTeardownHook?
    |                       |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:111: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
109 |         message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`"
110 |     )
111 |     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
112 |
113 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:114: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
112 |
113 |     @_documentation(visibility: internal)
114 |     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
115 |
116 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:192: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
190 |         lock: configurationLock
191 |     )
192 |     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
193 |
194 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:208: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
206 |     #endif
207 |
208 |     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
209 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
210 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
/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:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     @_documentation(visibility: internal)
 38 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 39 |     public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |     @_documentation(visibility: internal)
 42 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 43 |     public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |     @_documentation(visibility: internal)
 46 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 47 |     public static var _setup: BenchmarkSetupHook?
    |                       |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |     @_documentation(visibility: internal)
 50 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 51 |     public static var _teardown: BenchmarkTeardownHook?
    |                       |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:111: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
109 |         message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`"
110 |     )
111 |     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
112 |
113 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:114: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
112 |
113 |     @_documentation(visibility: internal)
114 |     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
115 |
116 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:192: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
190 |         lock: configurationLock
191 |     )
192 |     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
193 |
194 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:208: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
206 |     #endif
207 |
208 |     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
209 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
210 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
/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:39:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 37 |     @_documentation(visibility: internal)
 38 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 39 |     public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 40 |
 41 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:43:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 41 |     @_documentation(visibility: internal)
 42 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 43 |     public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
    |                       |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:47:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 45 |     @_documentation(visibility: internal)
 46 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 47 |     public static var _setup: BenchmarkSetupHook?
    |                       |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:51:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |     @_documentation(visibility: internal)
 50 |     @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
 51 |     public static var _teardown: BenchmarkTeardownHook?
    |                       |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |
 53 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:111: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
109 |         message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`"
110 |     )
111 |     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
112 |
113 |     @_documentation(visibility: internal)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:114: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
112 |
113 |     @_documentation(visibility: internal)
114 |     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
115 |
116 |     /// The name of the benchmark without any of the tags appended
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:192: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
190 |         lock: configurationLock
191 |     )
192 |     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
193 |
194 |     #if swift(<5.10)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:208: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
206 |     #endif
207 |
208 |     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
209 |     var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
210 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:441:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
 15 |
 16 | /// Defines a benchmark
 17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
    |                    `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
 18 |     @_documentation(visibility: internal)
 19 |     public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
    :
439 |             .async {
440 |                 Task {
441 |                     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
442 |                     await asyncClosure(self)
443 |                     self._stopMeasurement(false)
/host/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:442:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
440 |                 Task {
441 |                     self._startMeasurement(false)
442 |                     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'
443 |                     self._stopMeasurement(false)
444 |
[418/455] Compiling Benchmark ProgressElements.swift
[419/455] Compiling Benchmark Utilities.swift
[420/455] Compiling Benchmark Statistics.swift
[420/455] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[421/455] Write Objects.LinkFileList
[422/455] Wrapping AST for BenchmarkBoilerplateGenerator for debugging
[423/455] Write Objects.LinkFileList
[425/455] Emitting module BenchmarkHelpGenerator
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[426/455] Compiling BenchmarkHelpGenerator BenchmarkHelpGenerator.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[426/456] Wrapping AST for Benchmark for debugging
[428/472] Linking BenchmarkBoilerplateGenerator-tool
[430/472] Compiling BenchmarkTool BenchmarkTool+Export+InfluxCSVFormatter.swift
[431/472] Compiling BenchmarkTool BenchmarkTool+Export+JSON.swift
[432/472] Compiling BenchmarkTool BenchmarkTool+Export.swift
[433/472] Compiling BenchmarkTool BenchmarkTool+JSON.swift
[433/472] Linking BenchmarkBoilerplateGenerator
[435/472] Compiling BenchmarkTool BenchmarkTool+PrettyPrinting.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:94:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 92 |         do {
 93 |             var command = Self.parseOrExit()
 94 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 95 |             registerBenchmarks()
 96 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:105: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
103 |     public mutating func run() async throws {
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         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
106 |         setbuf(stderr, nil)
107 |
/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:106: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
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         setbuf(stdout, nil)
106 |         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
107 |
108 |         // 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
[436/472] Compiling BenchmarkTool BenchmarkTool.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:94:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 92 |         do {
 93 |             var command = Self.parseOrExit()
 94 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 95 |             registerBenchmarks()
 96 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:105: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
103 |     public mutating func run() async throws {
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         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
106 |         setbuf(stderr, nil)
107 |
/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:106: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
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         setbuf(stdout, nil)
106 |         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
107 |
108 |         // 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
[437/472] Compiling BenchmarkTool FilePath+Additions.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:94:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 92 |         do {
 93 |             var command = Self.parseOrExit()
 94 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 95 |             registerBenchmarks()
 96 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:105: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
103 |     public mutating func run() async throws {
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         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
106 |         setbuf(stderr, nil)
107 |
/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:106: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
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         setbuf(stdout, nil)
106 |         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
107 |
108 |         // 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
[438/472] Compiling Benchmark Blackhole.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:42: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
 40 | @_documentation(visibility: internal)
 41 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
 42 |     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
 43 |
 44 |     public init() {}
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:94:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 92 |         do {
 93 |             var command = Self.parseOrExit()
 94 |             Benchmark.checkAbsoluteThresholds = command.checkAbsolute
    |                       `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
 95 |             registerBenchmarks()
 96 |             try await command.run()
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:105: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
103 |     public mutating func run() async throws {
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         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
106 |         setbuf(stderr, nil)
107 |
/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:106: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
104 |         // Flush stdout/stderr so we see any failures clearly
105 |         setbuf(stdout, nil)
106 |         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
107 |
108 |         // 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
[439/472] Compiling BenchmarkTool BenchmarkTool+Machine.swift
[440/472] Compiling BenchmarkTool BenchmarkTool+ReadP90AbsoluteThresholds.swift
[441/472] Compiling BenchmarkTool BenchmarkTool+Thresholds.swift
[442/472] Compiling BenchmarkTool BenchmarkTool+Operations.swift
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:24:16: warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 22 |     // Basically just set up a number of cached MIB structures for
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
    |                |- warning: static property 'threadCacheMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'threadCacheMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'threadCacheMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:25:16: warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |     // more efficient queries later of malloc statistics.
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
    |                |- warning: static property 'epochMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'epochMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'epochMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:26:16: warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 24 |     static var threadCacheMIB = setupMIB(name: "thread.tcache.flush")
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
    |                |- warning: static property 'totalAllocatedMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'totalAllocatedMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'totalAllocatedMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:27:16: warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 25 |     static var epochMIB = setupMIB(name: "epoch")
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
    |                |- warning: static property 'smallNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'smallNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'smallNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
/host/spi-builder-workspace/Sources/Benchmark/MallocStats/MallocStatsProducer+jemalloc.swift:28:16: warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |     static var totalAllocatedMIB: [size_t] = setupMIB(name: "stats.resident")
 27 |     static var smallNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nrequests")
 28 |     static var largeNRequestsMIB: [size_t] = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nrequests")
    |                |- warning: static property 'largeNRequestsMIB' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'largeNRequestsMIB' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'largeNRequestsMIB' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     //    var smallNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).small.nmalloc")
 30 |     //    var largeNMallocMIB = setupMIB(name: "stats.arenas.\(MALLCTL_ARENAS_ALL).large.nmalloc")
[446/473] Wrapping AST for BenchmarkHelpGenerator for debugging
[447/473] Write Objects.LinkFileList
[452/475] Compiling BenchmarkTool FilePath+DirectoryView.swift
[453/475] Compiling BenchmarkTool String+Additions.swift
[453/476] Wrapping AST for Benchmark for debugging
[454/491] Linking BenchmarkHelpGenerator
[456/491] Compiling BenchmarkTool BenchmarkTool+JSON.swift
[457/491] Compiling BenchmarkTool BenchmarkTool+Machine.swift
[458/491] Compiling BenchmarkTool BenchmarkTool+ReadP90AbsoluteThresholds.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:91: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
 89 |     mutating func postProcessBenchmarkResults() throws {
 90 |         // Turn on buffering again for output
 91 |         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
 92 |
 93 |         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.  */
[459/491] Compiling BenchmarkTool BenchmarkTool+Thresholds.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:91: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
 89 |     mutating func postProcessBenchmarkResults() throws {
 90 |         // Turn on buffering again for output
 91 |         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
 92 |
 93 |         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.  */
[460/491] Emitting module BenchmarkTool
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 44 |
 45 | private var failedBenchmarkRuns = 0
    |             |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 | @main
[461/493] Compiling BenchmarkTool FilePath+DirectoryView.swift
[462/493] Compiling BenchmarkTool String+Additions.swift
[465/493] Compiling BenchmarkTool BenchmarkTool.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 44 |
 45 | private var failedBenchmarkRuns = 0
    |             |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:230: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
228 |     mutating func run() async throws {
229 |         // Flush stdout so we see any failures clearly
230 |         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
231 |
232 |         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.  */
[466/493] Compiling BenchmarkTool FilePath+Additions.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 44 |
 45 | private var failedBenchmarkRuns = 0
    |             |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:230: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
228 |     mutating func run() async throws {
229 |         // Flush stdout so we see any failures clearly
230 |         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
231 |
232 |         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.  */
[467/493] Compiling BenchmarkTool BenchmarkTool+Export+JSON.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Export+JSON.swift:34:29: warning: variable 'range' was never mutated; consider changing to 'let' constant
32 |                         let (p80, p95, p99) = (percentiles[0], percentiles[1], percentiles[2])
33 |
34 |                         var range: String?
   |                             `- warning: variable 'range' was never mutated; consider changing to 'let' constant
35 |                         var extra: String?
36 |
[468/493] Compiling BenchmarkTool BenchmarkTool+Export.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Export+JSON.swift:34:29: warning: variable 'range' was never mutated; consider changing to 'let' constant
32 |                         let (p80, p95, p99) = (percentiles[0], percentiles[1], percentiles[2])
33 |
34 |                         var range: String?
   |                             `- warning: variable 'range' was never mutated; consider changing to 'let' constant
35 |                         var extra: String?
36 |
[469/493] Compiling BenchmarkTool BenchmarkTool+Export+InfluxCSVFormatter.swift
[470/493] Compiling BenchmarkTool BenchmarkTool+Export+JMHElement.swift
[471/493] Compiling BenchmarkTool BenchmarkTool+Export+JMHFormatter.swift
[472/493] Emitting module BenchmarkTool
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 44 |
 45 | private var failedBenchmarkRuns = 0
    |             |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 | @main
[473/493] Compiling BenchmarkTool BenchmarkTool+Baselines.swift
[474/493] Compiling BenchmarkTool BenchmarkTool+CreateBenchmark.swift
[475/494] Wrapping AST for BenchmarkTool for debugging
[476/494] Write Objects.LinkFileList
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Export+JSON.swift:34:29: warning: variable 'range' was never mutated; consider changing to 'let' constant
32 |                         let (p80, p95, p99) = (percentiles[0], percentiles[1], percentiles[2])
33 |
34 |                         var range: String?
   |                             `- warning: variable 'range' was never mutated; consider changing to 'let' constant
35 |                         var extra: String?
36 |
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Export+JSON.swift:34:29: warning: variable 'range' was never mutated; consider changing to 'let' constant
32 |                         let (p80, p95, p99) = (percentiles[0], percentiles[1], percentiles[2])
33 |
34 |                         var range: String?
   |                             `- warning: variable 'range' was never mutated; consider changing to 'let' constant
35 |                         var extra: String?
36 |
[482/494] Compiling BenchmarkTool BenchmarkTool+Operations.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:91: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
 89 |     mutating func postProcessBenchmarkResults() throws {
 90 |         // Turn on buffering again for output
 91 |         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
 92 |
 93 |         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.  */
[483/494] Compiling BenchmarkTool BenchmarkTool+PrettyPrinting.swift
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool+Operations.swift:91: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
 89 |     mutating func postProcessBenchmarkResults() throws {
 90 |         // Turn on buffering again for output
 91 |         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
 92 |
 93 |         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:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 44 |
 45 | private var failedBenchmarkRuns = 0
    |             |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:230: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
228 |     mutating func run() async throws {
229 |         // Flush stdout so we see any failures clearly
230 |         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
231 |
232 |         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:45:13: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 43 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
 44 |
 45 | private var failedBenchmarkRuns = 0
    |             |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 | @main
/host/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:230: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
228 |     mutating func run() async throws {
229 |         // Flush stdout so we see any failures clearly
230 |         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
231 |
232 |         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.  */
[487/494] Linking BenchmarkTool
[492/495] Wrapping AST for BenchmarkTool for debugging
[493/495] Write Objects.LinkFileList
[494/495] Linking BenchmarkTool-tool
Build complete! (111.81s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "texttable",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ordo-one/TextTable.git"
    },
    {
      "identity" : "hdrhistogram-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.4",
            "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+JSON.swift",
        "BenchmarkTool+Export.swift",
        "BenchmarkTool+JSON.swift",
        "BenchmarkTool+Machine.swift",
        "BenchmarkTool+Operations.swift",
        "BenchmarkTool+PrettyPrinting.swift",
        "BenchmarkTool+ReadP90AbsoluteThresholds.swift",
        "BenchmarkTool+Thresholds.swift",
        "BenchmarkTool.swift",
        "FilePath+Additions.swift",
        "FilePath+DirectoryView.swift",
        "String+Additions.swift"
      ],
      "target_dependencies" : [
        "Benchmark",
        "BenchmarkShared"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BenchmarkTests",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkTests",
      "path" : "Tests/BenchmarkTests",
      "sources" : [
        "AdditionalTests.swift",
        "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" : "6.1"
}
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.