Build Information
Successful build of Benchmark, reference main (1d1b7a), with Swift 6.1 for macOS (SPM) on 10 Oct 2026 18:57:36 UTC.
Swift 6 data race errors: 28
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
<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
[215/341] Compiling SystemPackage Util.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
[216/341] Compiling SystemPackage UtilConsumers.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
[217/341] Compiling SystemPackage WinSDK+Overlay.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
<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
<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
<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
[223/341] Compiling ArgumentParser Parsed.swift
[224/341] Compiling ArgumentParser ParsedValues.swift
[229/345] Emitting module ArgumentParser
[235/349] Compiling ArgumentParser Platform.swift
[236/349] Compiling ArgumentParser SequenceExtensions.swift
[237/349] Compiling ArgumentParser StringExtensions.swift
[238/349] Compiling ArgumentParser Tree.swift
[256/349] Compiling TextTable PlainFormat.swift
[257/349] Compiling TextTable String+Util.swift
[258/349] Compiling TextTable SimpleFormat.swift
[259/350] Compiling TextTable OrgFormat.swift
[260/350] Compiling TextTable PipeFormat.swift
[263/350] Compiling TextTable PsqlFormat.swift
[264/350] Compiling TextTable RstFormat.swift
[265/350] Emitting module TextTable
[268/350] Compiling TextTable SimpleFormat.swift
[269/350] Compiling TextTable PsqlFormat.swift
[270/350] Compiling TextTable RstFormat.swift
[271/350] Compiling TextTable PipeFormat.swift
[272/350] Compiling TextTable PlainFormat.swift
[273/350] Emitting module TextTable
[276/350] Compiling TextTable OrgFormat.swift
[279/350] Compiling TextTable String+Util.swift
[305/351] Emitting module ArgumentParser
[331/351] Emitting module Histogram
[332/351] Compiling Histogram Histogram.swift
[333/351] Compiling TextTable TextTable.swift
[334/351] Compiling Histogram Histogram.swift
[335/351] Emitting module Histogram
[336/351] Compiling TextTable TextTable.swift
[337/423] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[339/423] Emitting module BenchmarkBoilerplateGenerator
[339/423] Write Objects.LinkFileList
[341/423] Emitting module BenchmarkBoilerplateGenerator
[341/423] Write Objects.LinkFileList
[343/423] Compiling Benchmark BenchmarkClock.swift
/Users/admin/builder/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 | ]
[344/423] Compiling Benchmark BenchmarkExecutor+Extensions.swift
/Users/admin/builder/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 | ]
[345/423] Compiling Benchmark BenchmarkExecutor.swift
/Users/admin/builder/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 | ]
[346/426] Compiling Benchmark OperatingSystemStatsProducer+Linux.swift
[347/426] Compiling Benchmark OutputSuppressor.swift
[348/426] Compiling Benchmark Progress.swift
[349/426] Compiling Benchmark lock.swift
[350/426] Compiling Benchmark OperatingSystemStats.swift
[351/426] Compiling Benchmark OperatingSystemStatsProducer+Darwin.swift
[352/426] Compiling Benchmark Diagnostics.swift
[353/426] Compiling Benchmark Int+Extensions.swift
[354/426] Compiling Benchmark MallocStats+jemalloc-support.swift
[354/429] Linking BenchmarkBoilerplateGenerator-tool
[355/429] Applying BenchmarkBoilerplateGenerator-tool
/Users/admin/builder/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 | ]
/Users/admin/builder/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 | ]
/Users/admin/builder/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 | ]
[359/429] Linking BenchmarkBoilerplateGenerator
[360/429] Applying BenchmarkBoilerplateGenerator
[362/429] Compiling BenchmarkHelpGenerator BenchmarkHelpGenerator.swift
[363/429] Emitting module BenchmarkHelpGenerator
[363/429] Write Objects.LinkFileList
[365/429] Emitting module Benchmark
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/Users/admin/builder/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 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
/Users/admin/builder/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 | ]
[367/429] Compiling Benchmark BenchmarkRunner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
[368/429] Compiling Benchmark BenchmarkThresholds+Defaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
[369/429] Compiling Benchmark BenchmarkThresholds.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
[370/429] Compiling Benchmark Blackhole.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
[371/429] Compiling Benchmark MallocStats.swift
[372/429] Compiling Benchmark BenchmarkInternals.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:103:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
101 | DispatchQueue.global(qos: .userInitiated)
102 | .async {
103 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
104 | let rate = self.sampleRate
105 | self.peakThreads = 0
[373/429] Compiling Benchmark MallocStatsProducer+jemalloc.swift
[374/429] Compiling Benchmark AllocationStackReport.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:103:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
101 | DispatchQueue.global(qos: .userInitiated)
102 | .async {
103 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
104 | let rate = self.sampleRate
105 | self.peakThreads = 0
[375/429] Compiling Benchmark NIOLock.swift
[376/429] Compiling Benchmark AllocationStackSymbolicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:103:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
101 | DispatchQueue.global(qos: .userInitiated)
102 | .async {
103 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
104 | let rate = self.sampleRate
105 | self.peakThreads = 0
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:103:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
101 | DispatchQueue.global(qos: .userInitiated)
102 | .async {
103 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
104 | let rate = self.sampleRate
105 | self.peakThreads = 0
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:103:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
101 | DispatchQueue.global(qos: .userInitiated)
102 | .async {
103 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
104 | let rate = self.sampleRate
105 | self.peakThreads = 0
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:103:17: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
101 | DispatchQueue.global(qos: .userInitiated)
102 | .async {
103 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
104 | let rate = self.sampleRate
105 | self.peakThreads = 0
[380/429] Compiling Benchmark ARCStats.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
[381/429] Compiling Benchmark ARCStatsProducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
[382/429] Compiling Benchmark AllocationStackRecorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
[383/429] Compiling Benchmark AllocationStackReport+Formatting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:48:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | @_documentation(visibility: internal)
47 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite { // swiftlint:disable:this type_body_length
48 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | public init() {}
[384/429] Compiling Benchmark ProgressElements.swift
[385/429] Compiling Benchmark Utilities.swift
[386/429] Compiling Benchmark Statistics.swift
[386/429] Linking BenchmarkHelpGenerator
[390/429] Applying BenchmarkHelpGenerator
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
[394/429] Compiling Benchmark Benchmark+ConvenienceInitializers.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
[395/429] Compiling Benchmark Benchmark.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
[396/429] Compiling Benchmark BenchmarkMetric+Defaults.swift
[397/429] Compiling Benchmark BenchmarkMetric.swift
[398/429] Compiling Benchmark BenchmarkResult.swift
[399/429] Compiling Benchmark BenchmarkRunner+ReadWrite.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:120:16: warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | // deprecation warning on the public `checkAbsoluteThresholds` API.
119 | @_documentation(visibility: internal)
120 | static var _checkAbsoluteThresholds = false
| |- warning: static property '_checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:123:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
121 |
122 | @_documentation(visibility: internal)
123 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:204:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
202 | lock: configurationLock
203 | )
204 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:220:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
218 | #endif
219 |
220 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
222 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:457:21: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
15 |
16 | /// Defines a benchmark
17 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
18 | @_documentation(visibility: internal)
19 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
455 | .async {
456 | Task {
457 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
458 | await asyncClosure(self)
459 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:458:27: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
456 | Task {
457 | self._startMeasurement(false)
458 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 | self._stopMeasurement(false)
460 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:48: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
46 | static let usesPreloadedInterposer = false
47 |
48 | 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
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:49: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
47 |
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | 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
50 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:50: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
48 | static var allocCount: UnsafeAtomic<Int> = .create(0)
49 | static var retainCount: UnsafeAtomic<Int> = .create(0)
50 | 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
51 |
52 | static func hook() {
[424/465] Compiling BenchmarkTool FilePath+DirectoryView.swift
[425/466] Compiling BenchmarkTool String+Additions.swift
[426/466] Compiling BenchmarkTool BenchmarkTool+AllocationStacks.swift
[427/466] Compiling BenchmarkTool BenchmarkTool+Baselines.swift
[428/467] Compiling BenchmarkTool BenchmarkTool+ReadP90AbsoluteThresholds.swift
[429/467] Compiling BenchmarkTool BenchmarkTool+Thresholds.swift
[430/467] Emitting module BenchmarkTool
/Users/admin/builder/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
[431/467] Compiling BenchmarkTool BenchmarkTool+Export+JMHElement.swift
[432/467] Compiling BenchmarkTool BenchmarkTool+Export+JMHFormatter.swift
[433/467] Compiling BenchmarkTool String+Additions.swift
[434/467] Compiling BenchmarkTool BenchmarkTool.swift
[435/467] Compiling BenchmarkTool FilePath+Additions.swift
[438/467] Compiling BenchmarkTool BenchmarkTool+Operations.swift
[439/467] Compiling BenchmarkTool BenchmarkTool+PrettyPrinting.swift
[440/467] Compiling BenchmarkTool BenchmarkTool+JSON.swift
[441/467] Compiling BenchmarkTool BenchmarkTool+Machine.swift
[442/467] Compiling BenchmarkTool BenchmarkTool+CreateBenchmark.swift
[443/467] Compiling BenchmarkTool BenchmarkTool+Export+InfluxCSVFormatter.swift
[444/467] Compiling BenchmarkTool FilePath+DirectoryView.swift
[445/467] Compiling BenchmarkTool BenchmarkTool+Export+JSON.swift
[447/467] Compiling BenchmarkTool BenchmarkTool+Export.swift
/Users/admin/builder/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
/Users/admin/builder/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
[459/467] Emitting module BenchmarkTool
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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/467] Write Objects.LinkFileList
[463/467] Linking BenchmarkTool-tool
[463/467] Linking BenchmarkTool
[465/467] Applying BenchmarkTool-tool
[466/467] Applying BenchmarkTool
Build complete! (30.00s)
warning: 'spi-builder-workspace': Building for SPI@macOS, disabling Jemalloc
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/203] Fetching texttable
[101/826] Fetching texttable, hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (1.23s)
Fetched https://github.com/ordo-one/TextTable.git from cache (1.23s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.25s)
Fetched https://github.com/apple/swift-system.git from cache (1.29s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.81s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (2.44s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.2.0 (0.62s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (1.03s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.50s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.56s)
Creating working copy for https://github.com/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "1.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "texttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/TextTable.git"
},
{
"identity" : "hdrhistogram-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/HdrHistogram/hdrhistogram-swift.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "package-jemalloc",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/package-jemalloc.git"
}
],
"manifest_display_name" : "Benchmark",
"name" : "Benchmark",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "BenchmarkCommandPlugin",
"targets" : [
"BenchmarkCommandPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "BenchmarkPlugin",
"targets" : [
"BenchmarkPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "Benchmark",
"targets" : [
"Benchmark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BenchmarkTool",
"targets" : [
"BenchmarkTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkHelpGenerator",
"targets" : [
"BenchmarkHelpGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkBoilerplateGenerator",
"targets" : [
"BenchmarkBoilerplateGenerator"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftRuntimeHooks",
"module_type" : "ClangTarget",
"name" : "SwiftRuntimeHooks",
"path" : "Sources/SwiftRuntimeHooks",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"shims.c"
],
"type" : "library"
},
{
"c99name" : "CLinuxOperatingSystemStats",
"module_type" : "ClangTarget",
"name" : "CLinuxOperatingSystemStats",
"path" : "Platform/CLinuxOperatingSystemStats",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"CLinuxOperatingSystemStats.c"
],
"type" : "library"
},
{
"c99name" : "CDarwinOperatingSystemStats",
"module_type" : "ClangTarget",
"name" : "CDarwinOperatingSystemStats",
"path" : "Platform/CDarwinOperatingSystemStats",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"CDarwinOperatingSystemStats.c"
],
"type" : "library"
},
{
"c99name" : "BenchmarkTool",
"module_type" : "SwiftTarget",
"name" : "BenchmarkTool",
"path" : "Plugins/BenchmarkTool",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage",
"TextTable"
],
"product_memberships" : [
"BenchmarkCommandPlugin",
"BenchmarkTool"
],
"sources" : [
"BenchmarkTool+AllocationStacks.swift",
"BenchmarkTool+Baselines.swift",
"BenchmarkTool+CreateBenchmark.swift",
"BenchmarkTool+Export+InfluxCSVFormatter.swift",
"BenchmarkTool+Export+JMHElement.swift",
"BenchmarkTool+Export+JMHFormatter.swift",
"BenchmarkTool+Export+JSON.swift",
"BenchmarkTool+Export.swift",
"BenchmarkTool+JSON.swift",
"BenchmarkTool+Machine.swift",
"BenchmarkTool+Operations.swift",
"BenchmarkTool+PrettyPrinting.swift",
"BenchmarkTool+ReadP90AbsoluteThresholds.swift",
"BenchmarkTool+Thresholds.swift",
"BenchmarkTool.swift",
"FilePath+Additions.swift",
"FilePath+DirectoryView.swift",
"String+Additions.swift"
],
"target_dependencies" : [
"Benchmark",
"BenchmarkShared"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkTests",
"module_type" : "SwiftTarget",
"name" : "BenchmarkTests",
"path" : "Tests/BenchmarkTests",
"sources" : [
"AdditionalTests.swift",
"AllocationStacksTests.swift",
"BenchmarkMetricsTests.swift",
"BenchmarkResultTests.swift",
"BenchmarkRunnerTests.swift",
"BenchmarkTests.swift",
"MallocStatisticsTests.swift",
"OperatingSystemAndMallocTests.swift",
"StatisticsTests.swift"
],
"target_dependencies" : [
"Benchmark"
],
"type" : "test"
},
{
"c99name" : "BenchmarkShared",
"module_type" : "SwiftTarget",
"name" : "BenchmarkShared",
"path" : "Sources/BenchmarkShared",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool",
"BenchmarkHelpGenerator"
],
"sources" : [
"Command+Helpers.swift"
],
"type" : "library"
},
{
"c99name" : "BenchmarkPlugin",
"module_type" : "PluginTarget",
"name" : "BenchmarkPlugin",
"path" : "Plugins/BenchmarkPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"BenchmarkPlugin"
],
"sources" : [
"BenchmarkSupportPlugin.swift"
],
"target_dependencies" : [
"BenchmarkBoilerplateGenerator"
],
"type" : "plugin"
},
{
"c99name" : "BenchmarkHelpGenerator",
"module_type" : "SwiftTarget",
"name" : "BenchmarkHelpGenerator",
"path" : "Plugins/BenchmarkHelpGenerator",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"BenchmarkHelpGenerator"
],
"sources" : [
"BenchmarkHelpGenerator.swift"
],
"target_dependencies" : [
"BenchmarkShared"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkCommandPlugin",
"module_type" : "PluginTarget",
"name" : "BenchmarkCommandPlugin",
"path" : "Plugins/BenchmarkCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Run the Benchmark performance test suite.",
"type" : "custom",
"verb" : "benchmark"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"BenchmarkCommandPlugin"
],
"sources" : [
"ArgumentExtractor+Extensions.swift",
"BenchmarkCommandPlugin.swift",
"BenchmarkPlugin+Help.swift",
"Command+Helpers.swift"
],
"target_dependencies" : [
"BenchmarkTool"
],
"type" : "plugin"
},
{
"c99name" : "BenchmarkBoilerplateGenerator",
"module_type" : "SwiftTarget",
"name" : "BenchmarkBoilerplateGenerator",
"path" : "Plugins/BenchmarkBoilerplateGenerator",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"BenchmarkPlugin",
"BenchmarkBoilerplateGenerator"
],
"sources" : [
"BenchmarkBoilerplateGenerator.swift"
],
"type" : "executable"
},
{
"c99name" : "Benchmark",
"module_type" : "SwiftTarget",
"name" : "Benchmark",
"path" : "Sources/Benchmark",
"product_dependencies" : [
"Histogram",
"ArgumentParser",
"SystemPackage",
"Atomics",
"jemalloc"
],
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"ARCStats/ARCStats.swift",
"ARCStats/ARCStatsProducer.swift",
"AllocationStacks/AllocationStackRecorder.swift",
"AllocationStacks/AllocationStackReport+Formatting.swift",
"AllocationStacks/AllocationStackReport.swift",
"AllocationStacks/AllocationStackSymbolicator.swift",
"Benchmark+ConvenienceInitializers.swift",
"Benchmark.swift",
"BenchmarkClock.swift",
"BenchmarkExecutor+Extensions.swift",
"BenchmarkExecutor.swift",
"BenchmarkInternals.swift",
"BenchmarkMetric+Defaults.swift",
"BenchmarkMetric.swift",
"BenchmarkResult.swift",
"BenchmarkRunner+ReadWrite.swift",
"BenchmarkRunner.swift",
"BenchmarkThresholds+Defaults.swift",
"BenchmarkThresholds.swift",
"Blackhole.swift",
"Diagnostics.swift",
"Int+Extensions.swift",
"MallocStats/MallocStats+jemalloc-support.swift",
"MallocStats/MallocStats.swift",
"MallocStats/MallocStatsProducer+jemalloc.swift",
"NIOConcurrencyHelpers/NIOLock.swift",
"NIOConcurrencyHelpers/lock.swift",
"OperatingSystemStats/OperatingSystemStats.swift",
"OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift",
"OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift",
"OutputSuppressor.swift",
"Progress/Progress.swift",
"Progress/ProgressElements.swift",
"Progress/Utilities.swift",
"Statistics.swift"
],
"target_dependencies" : [
"CDarwinOperatingSystemStats",
"CLinuxOperatingSystemStats",
"SwiftRuntimeHooks",
"BenchmarkShared"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.