This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Benchmark with Swift 6.0 for Linux.

Swift 6 data race errors: 13

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/swift-benchmark.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/google/swift-benchmark
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8163295 Bump swift-argument-parser to stable (#94)
Cloned https://github.com/google/swift-benchmark.git
Revision (git rev-parse @):
8163295f6fe82356b0bcf8e1ab991645de17d096
SUCCESS checkout https://github.com/google/swift-benchmark.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/google/swift-benchmark.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/apple/swift-argument-parser
[1/11679] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.2 (0.44s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.2
Building for debugging...
[0/17] Write sources
[6/17] Write swift-version-24593BA9C3E375BF.txt
[8/19] Emitting module ArgumentParserToolInfo
[9/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/20] Wrapping AST for ArgumentParserToolInfo for debugging
[12/54] Emitting module ArgumentParser
[13/58] Compiling ArgumentParser CollectionExtensions.swift
[14/58] Compiling ArgumentParser SequenceExtensions.swift
[15/58] Compiling ArgumentParser StringExtensions.swift
[16/58] Compiling ArgumentParser Tree.swift
[17/58] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/58] Compiling ArgumentParser CompletionsGenerator.swift
[19/58] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/58] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/58] Compiling ArgumentParser Argument.swift
[22/58] Compiling ArgumentParser ArgumentHelp.swift
[23/58] Compiling ArgumentParser CompletionKind.swift
[24/58] Compiling ArgumentParser Errors.swift
[25/58] Compiling ArgumentParser Flag.swift
[26/58] Compiling ArgumentParser NameSpecification.swift
[27/58] Compiling ArgumentParser ArgumentSet.swift
[28/58] Compiling ArgumentParser CommandParser.swift
[29/58] Compiling ArgumentParser InputOrigin.swift
[30/58] Compiling ArgumentParser Name.swift
[31/58] Compiling ArgumentParser Parsed.swift
[32/58] Compiling ArgumentParser ParsableArguments.swift
[33/58] Compiling ArgumentParser ParsableArgumentsValidation.swift
[34/58] Compiling ArgumentParser ParsableCommand.swift
[35/58] Compiling ArgumentParser ArgumentDecoder.swift
[36/58] Compiling ArgumentParser ArgumentDefinition.swift
[37/58] Compiling ArgumentParser ParsedValues.swift
[38/58] Compiling ArgumentParser ParserError.swift
[39/58] Compiling ArgumentParser SplitArguments.swift
[40/58] Compiling ArgumentParser DumpHelpGenerator.swift
[41/58] Compiling ArgumentParser Option.swift
[42/58] Compiling ArgumentParser OptionGroup.swift
[43/58] Compiling ArgumentParser CommandConfiguration.swift
[44/58] Compiling ArgumentParser EnumerableFlag.swift
[45/58] Compiling ArgumentParser ExpressibleByArgument.swift
[46/58] Compiling ArgumentParser HelpCommand.swift
[47/58] Compiling ArgumentParser HelpGenerator.swift
[48/58] Compiling ArgumentParser MessageInfo.swift
[49/58] Compiling ArgumentParser UsageGenerator.swift
[50/59] Wrapping AST for ArgumentParser for debugging
[52/75] Emitting module Benchmark
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkColumn.swift:82:23: warning: static property 'registry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     /// registry can be modified to add custom user-defined
 81 |     /// output columns.
 82 |     public static var registry: [String: BenchmarkColumn] = {
    |                       |- warning: static property 'registry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'registry' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'registry' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |         var result: [String: BenchmarkColumn] = [:]
 84 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:53:23: warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 |     /// Show value as plus or minus standard deviation in percentage.
53 |     public static let stdPercentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'stdPercentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:20:23: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 |     /// Show an integer number without decimals.
20 |     public static let integer: Formatter = { (value, settings) in
   |                       |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'integer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         return String(format: "%.0f", value)
22 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:47:23: warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// Show value as plus or minus standard deviation.
47 |     public static let std: Formatter = { (value, settings) in
   |                       |- warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'std' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         let num = real(value, settings)
49 |         return "± \(num)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:25:23: warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 |     /// Show a real number with decimals.
25 |     public static let real: Formatter = { (value, settings) in
   |                       |- warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'real' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         return String(format: "%.3f", value)
27 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:30:23: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 |     /// Show number with the corresponding time unit.
30 |     public static let time: Formatter = { (value, settings) in
   |                       |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         let num = real(value, settings)
32 |         return "\(num) \(settings.timeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:36:23: warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 |     /// Show number with the corresponding inverse time unit.
36 |     public static let inverseTime: Formatter = { (value, settings) in
   |                       |- warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'inverseTime' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         let num = real(value, settings)
38 |         return "\(num) /\(settings.inverseTimeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:42:23: warning: static property 'percentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Show value as percentage.
42 |     public static let percentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'percentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'percentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |         return String(format: "%6.2f %%", value)
44 |     }
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
   :
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
   |            |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSetting.swift:272:12: warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | /// A marker protocol for types that are intended to be
 18 | /// be used as benchmark settings.
 19 | public protocol BenchmarkSetting {}
    |                 `- note: protocol 'BenchmarkSetting' does not conform to the 'Sendable' protocol
 20 |
 21 | /// Static number of iterations to run the benchmark.
    :
270 | }
271 |
272 | public let defaultSettings: [BenchmarkSetting] = [
    |            |- warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'defaultSettings' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     MaxIterations(1_000_000),
274 |     MinTime(seconds: 1.0),
[53/77] Compiling Benchmark BenchmarkCommand.swift
[54/77] Compiling Benchmark BenchmarkFilter.swift
[55/77] Compiling Benchmark BenchmarkState.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
   :
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
   |            |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
[56/77] Compiling Benchmark BenchmarkSuite.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
   :
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
   |            |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
[57/77] Compiling Benchmark BenchmarkFormatter.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:20:23: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 |     /// Show an integer number without decimals.
20 |     public static let integer: Formatter = { (value, settings) in
   |                       |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'integer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         return String(format: "%.0f", value)
22 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:25:23: warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 |     /// Show a real number with decimals.
25 |     public static let real: Formatter = { (value, settings) in
   |                       |- warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'real' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         return String(format: "%.3f", value)
27 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:30:23: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 |     /// Show number with the corresponding time unit.
30 |     public static let time: Formatter = { (value, settings) in
   |                       |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         let num = real(value, settings)
32 |         return "\(num) \(settings.timeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:36:23: warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 |     /// Show number with the corresponding inverse time unit.
36 |     public static let inverseTime: Formatter = { (value, settings) in
   |                       |- warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'inverseTime' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         let num = real(value, settings)
38 |         return "\(num) /\(settings.inverseTimeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:42:23: warning: static property 'percentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Show value as percentage.
42 |     public static let percentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'percentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'percentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |         return String(format: "%6.2f %%", value)
44 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:47:23: warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// Show value as plus or minus standard deviation.
47 |     public static let std: Formatter = { (value, settings) in
   |                       |- warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'std' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         let num = real(value, settings)
49 |         return "± \(num)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:53:23: warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 |     /// Show value as plus or minus standard deviation in percentage.
53 |     public static let stdPercentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'stdPercentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
   :
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
   |            |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSetting.swift:272:12: warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | /// A marker protocol for types that are intended to be
 18 | /// be used as benchmark settings.
 19 | public protocol BenchmarkSetting {}
    |                 `- note: protocol 'BenchmarkSetting' does not conform to the 'Sendable' protocol
 20 |
 21 | /// Static number of iterations to run the benchmark.
    :
270 | }
271 |
272 | public let defaultSettings: [BenchmarkSetting] = [
    |            |- warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'defaultSettings' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     MaxIterations(1_000_000),
274 |     MinTime(seconds: 1.0),
[58/77] Compiling Benchmark BenchmarkMain.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:20:23: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 |     /// Show an integer number without decimals.
20 |     public static let integer: Formatter = { (value, settings) in
   |                       |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'integer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         return String(format: "%.0f", value)
22 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:25:23: warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 |     /// Show a real number with decimals.
25 |     public static let real: Formatter = { (value, settings) in
   |                       |- warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'real' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         return String(format: "%.3f", value)
27 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:30:23: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 |     /// Show number with the corresponding time unit.
30 |     public static let time: Formatter = { (value, settings) in
   |                       |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         let num = real(value, settings)
32 |         return "\(num) \(settings.timeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:36:23: warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 |     /// Show number with the corresponding inverse time unit.
36 |     public static let inverseTime: Formatter = { (value, settings) in
   |                       |- warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'inverseTime' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         let num = real(value, settings)
38 |         return "\(num) /\(settings.inverseTimeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:42:23: warning: static property 'percentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
40 |
41 |     /// Show value as percentage.
42 |     public static let percentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'percentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'percentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |         return String(format: "%6.2f %%", value)
44 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:47:23: warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// Show value as plus or minus standard deviation.
47 |     public static let std: Formatter = { (value, settings) in
   |                       |- warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'std' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         let num = real(value, settings)
49 |         return "± \(num)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:53:23: warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 |     /// Show value as plus or minus standard deviation in percentage.
53 |     public static let stdPercentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'stdPercentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
   :
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
   |            |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSetting.swift:272:12: warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | /// A marker protocol for types that are intended to be
 18 | /// be used as benchmark settings.
 19 | public protocol BenchmarkSetting {}
    |                 `- note: protocol 'BenchmarkSetting' does not conform to the 'Sendable' protocol
 20 |
 21 | /// Static number of iterations to run the benchmark.
    :
270 | }
271 |
272 | public let defaultSettings: [BenchmarkSetting] = [
    |            |- warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'defaultSettings' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     MaxIterations(1_000_000),
274 |     MinTime(seconds: 1.0),
[59/77] Compiling Benchmark BenchmarkTermination.swift
[60/77] Compiling Benchmark BenchmarkTime.swift
[61/77] Compiling Benchmark BenchmarkRunner.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSetting.swift:272:12: warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | /// A marker protocol for types that are intended to be
 18 | /// be used as benchmark settings.
 19 | public protocol BenchmarkSetting {}
    |                 `- note: protocol 'BenchmarkSetting' does not conform to the 'Sendable' protocol
 20 |
 21 | /// Static number of iterations to run the benchmark.
    :
270 | }
271 |
272 | public let defaultSettings: [BenchmarkSetting] = [
    |            |- warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'defaultSettings' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     MaxIterations(1_000_000),
274 |     MinTime(seconds: 1.0),
[62/77] Compiling Benchmark BenchmarkSetting.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSetting.swift:272:12: warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
 17 | /// A marker protocol for types that are intended to be
 18 | /// be used as benchmark settings.
 19 | public protocol BenchmarkSetting {}
    |                 `- note: protocol 'BenchmarkSetting' does not conform to the 'Sendable' protocol
 20 |
 21 | /// Static number of iterations to run the benchmark.
    :
270 | }
271 |
272 | public let defaultSettings: [BenchmarkSetting] = [
    |            |- warning: let 'defaultSettings' is not concurrency-safe because non-'Sendable' type '[any BenchmarkSetting]' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'defaultSettings' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     MaxIterations(1_000_000),
274 |     MinTime(seconds: 1.0),
[63/77] Compiling Benchmark Stats.swift
[64/77] Compiling Benchmark TestIntegration.swift
[65/77] Compiling Benchmark BenchmarkReporter.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkReporter.swift:200:23: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
198 | struct StdoutOutputStream: FlushableTextOutputStream {
199 |     mutating func write(_ string: String) {
200 |         fputs(string, stdout)
    |                       `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 |     }
202 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkReporter.swift:204:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
202 |
203 |     mutating func flush() {
204 |         fflush(stdout)
    |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 |     }
206 | }
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkReporter.swift:210:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | struct StderrOutputStream: FlushableTextOutputStream {
209 |     mutating func write(_ string: String) {
210 |         fputs(string, stderr)
    |                       `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
211 |     }
212 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkReporter.swift:214:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
212 |
213 |     mutating func flush() {
214 |         fflush(stderr)
    |                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
215 |     }
216 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[66/77] Compiling Benchmark BenchmarkResult.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkReporter.swift:200:23: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
198 | struct StdoutOutputStream: FlushableTextOutputStream {
199 |     mutating func write(_ string: String) {
200 |         fputs(string, stdout)
    |                       `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 |     }
202 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkReporter.swift:204:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
202 |
203 |     mutating func flush() {
204 |         fflush(stdout)
    |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
205 |     }
206 | }
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkReporter.swift:210:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
208 | struct StderrOutputStream: FlushableTextOutputStream {
209 |     mutating func write(_ string: String) {
210 |         fputs(string, stderr)
    |                       `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
211 |     }
212 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkReporter.swift:214:16: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
212 |
213 |     mutating func flush() {
214 |         fflush(stderr)
    |                `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
215 |     }
216 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[67/77] Compiling Benchmark Benchmark.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
   :
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
   |            |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkColumn.swift:82:23: warning: static property 'registry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     /// registry can be modified to add custom user-defined
 81 |     /// output columns.
 82 |     public static var registry: [String: BenchmarkColumn] = {
    |                       |- warning: static property 'registry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'registry' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'registry' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |         var result: [String: BenchmarkColumn] = [:]
 84 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:53:23: warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 |     /// Show value as plus or minus standard deviation in percentage.
53 |     public static let stdPercentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'stdPercentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:20:23: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 |     /// Show an integer number without decimals.
20 |     public static let integer: Formatter = { (value, settings) in
   |                       |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'integer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         return String(format: "%.0f", value)
22 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:47:23: warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// Show value as plus or minus standard deviation.
47 |     public static let std: Formatter = { (value, settings) in
   |                       |- warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'std' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         let num = real(value, settings)
49 |         return "± \(num)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:30:23: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 |     /// Show number with the corresponding time unit.
30 |     public static let time: Formatter = { (value, settings) in
   |                       |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         let num = real(value, settings)
32 |         return "\(num) \(settings.timeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:36:23: warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 |     /// Show number with the corresponding inverse time unit.
36 |     public static let inverseTime: Formatter = { (value, settings) in
   |                       |- warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'inverseTime' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         let num = real(value, settings)
38 |         return "\(num) /\(settings.inverseTimeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:25:23: warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 |     /// Show a real number with decimals.
25 |     public static let real: Formatter = { (value, settings) in
   |                       |- warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'real' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         return String(format: "%.3f", value)
27 |     }
[68/77] Compiling Benchmark BenchmarkArguments.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
   :
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
   |            |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkColumn.swift:82:23: warning: static property 'registry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     /// registry can be modified to add custom user-defined
 81 |     /// output columns.
 82 |     public static var registry: [String: BenchmarkColumn] = {
    |                       |- warning: static property 'registry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'registry' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'registry' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |         var result: [String: BenchmarkColumn] = [:]
 84 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:53:23: warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 |     /// Show value as plus or minus standard deviation in percentage.
53 |     public static let stdPercentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'stdPercentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:20:23: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 |     /// Show an integer number without decimals.
20 |     public static let integer: Formatter = { (value, settings) in
   |                       |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'integer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         return String(format: "%.0f", value)
22 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:47:23: warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// Show value as plus or minus standard deviation.
47 |     public static let std: Formatter = { (value, settings) in
   |                       |- warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'std' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         let num = real(value, settings)
49 |         return "± \(num)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:30:23: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 |     /// Show number with the corresponding time unit.
30 |     public static let time: Formatter = { (value, settings) in
   |                       |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         let num = real(value, settings)
32 |         return "\(num) \(settings.timeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:36:23: warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 |     /// Show number with the corresponding inverse time unit.
36 |     public static let inverseTime: Formatter = { (value, settings) in
   |                       |- warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'inverseTime' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         let num = real(value, settings)
38 |         return "\(num) /\(settings.inverseTimeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:25:23: warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 |     /// Show a real number with decimals.
25 |     public static let real: Formatter = { (value, settings) in
   |                       |- warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'real' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         return String(format: "%.3f", value)
27 |     }
[69/77] Compiling Benchmark BenchmarkColumn.swift
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
   :
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
   |            |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkColumn.swift:82:23: warning: static property 'registry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 80 |     /// registry can be modified to add custom user-defined
 81 |     /// output columns.
 82 |     public static var registry: [String: BenchmarkColumn] = {
    |                       |- warning: static property 'registry' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'registry' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'registry' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |         var result: [String: BenchmarkColumn] = [:]
 84 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:53:23: warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 |     /// Show value as plus or minus standard deviation in percentage.
53 |     public static let stdPercentage: Formatter = { (value, settings) in
   |                       |- warning: static property 'stdPercentage' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'stdPercentage' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:20:23: warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 |     /// Show an integer number without decimals.
20 |     public static let integer: Formatter = { (value, settings) in
   |                       |- warning: static property 'integer' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'integer' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |         return String(format: "%.0f", value)
22 |     }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:47:23: warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
45 |
46 |     /// Show value as plus or minus standard deviation.
47 |     public static let std: Formatter = { (value, settings) in
   |                       |- warning: static property 'std' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'std' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 |         let num = real(value, settings)
49 |         return "± \(num)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:30:23: warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
28 |
29 |     /// Show number with the corresponding time unit.
30 |     public static let time: Formatter = { (value, settings) in
   |                       |- warning: static property 'time' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'time' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |         let num = real(value, settings)
32 |         return "\(num) \(settings.timeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:36:23: warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
34 |
35 |     /// Show number with the corresponding inverse time unit.
36 |     public static let inverseTime: Formatter = { (value, settings) in
   |                       |- warning: static property 'inverseTime' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'inverseTime' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         let num = real(value, settings)
38 |         return "\(num) /\(settings.inverseTimeUnit)"
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkFormatter.swift:25:23: warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 |     /// Show a real number with decimals.
25 |     public static let real: Formatter = { (value, settings) in
   |                       |- warning: static property 'real' is not concurrency-safe because non-'Sendable' type 'BenchmarkFormatter.Formatter' (aka '(Double, BenchmarkSettings) -> String') may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'real' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         return String(format: "%.3f", value)
27 |     }
[70/78] Wrapping AST for Benchmark for debugging
[72/83] Compiling BenchmarkSuiteExample Suites.swift
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/Suites.swift:15:12: warning: let 'suites' is not concurrency-safe because non-'Sendable' type '[BenchmarkSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public let suites = [
   |            |- warning: let 'suites' is not concurrency-safe because non-'Sendable' type '[BenchmarkSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'suites' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     addStringBenchmarks
17 | ]
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/Suites.swift:15:12: warning: cannot use class 'BenchmarkSuite' here; 'Benchmark' was not imported by this file
13 | // limitations under the License.
14 |
15 | public let suites = [
   |            `- warning: cannot use class 'BenchmarkSuite' here; 'Benchmark' was not imported by this file
16 |     addStringBenchmarks
17 | ]
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: type declared here
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: type declared here
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/AddStringBenchmarks.swift:17:12: warning: let 'addStringBenchmarks' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
15 | import Benchmark
16 |
17 | public let addStringBenchmarks = BenchmarkSuite(name: "add string", settings: Iterations(10000)) {
   |            `- warning: let 'addStringBenchmarks' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     suite in
19 |     suite.benchmark("no capacity") {
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/AddStringBenchmarks.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
13 | // limitations under the License.
14 |
15 | import Benchmark
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
16 |
17 | public let addStringBenchmarks = BenchmarkSuite(name: "add string", settings: Iterations(10000)) {
   |            |- note: annotate 'addStringBenchmarks' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     suite in
19 |     suite.benchmark("no capacity") {
[73/83] Emitting module BenchmarkSuiteExample
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/AddStringBenchmarks.swift:17:12: warning: let 'addStringBenchmarks' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
15 | import Benchmark
16 |
17 | public let addStringBenchmarks = BenchmarkSuite(name: "add string", settings: Iterations(10000)) {
   |            `- warning: let 'addStringBenchmarks' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     suite in
19 |     suite.benchmark("no capacity") {
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/AddStringBenchmarks.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
13 | // limitations under the License.
14 |
15 | import Benchmark
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
16 |
17 | public let addStringBenchmarks = BenchmarkSuite(name: "add string", settings: Iterations(10000)) {
   |            |- note: annotate 'addStringBenchmarks' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     suite in
19 |     suite.benchmark("no capacity") {
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/Suites.swift:15:12: warning: let 'suites' is not concurrency-safe because non-'Sendable' type '[BenchmarkSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public let suites = [
   |            |- warning: let 'suites' is not concurrency-safe because non-'Sendable' type '[BenchmarkSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'suites' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     addStringBenchmarks
17 | ]
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/Suites.swift:15:12: warning: cannot use class 'BenchmarkSuite' here; 'Benchmark' was not imported by this file
13 | // limitations under the License.
14 |
15 | public let suites = [
   |            `- warning: cannot use class 'BenchmarkSuite' here; 'Benchmark' was not imported by this file
16 |     addStringBenchmarks
17 | ]
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: type declared here
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: type declared here
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
[74/83] Compiling BenchmarkSuiteExample AddStringBenchmarks.swift
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/AddStringBenchmarks.swift:17:12: warning: let 'addStringBenchmarks' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
15 | import Benchmark
16 |
17 | public let addStringBenchmarks = BenchmarkSuite(name: "add string", settings: Iterations(10000)) {
   |            `- warning: let 'addStringBenchmarks' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
18 |     suite in
19 |     suite.benchmark("no capacity") {
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/AddStringBenchmarks.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
13 | // limitations under the License.
14 |
15 | import Benchmark
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
16 |
17 | public let addStringBenchmarks = BenchmarkSuite(name: "add string", settings: Iterations(10000)) {
   |            |- note: annotate 'addStringBenchmarks' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     suite in
19 |     suite.benchmark("no capacity") {
[75/83] Emitting module BenchmarkMinimalExample
[76/83] Compiling BenchmarkMinimalExample main.swift
[78/85] Wrapping AST for BenchmarkSuiteExample for debugging
[79/87] Wrapping AST for BenchmarkMinimalExample for debugging
[80/87] Write Objects.LinkFileList
[82/87] Compiling BenchmarkSuiteExampleMain main.swift
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/Suites.swift:15:12: warning: let 'suites' is not concurrency-safe because non-'Sendable' type '[BenchmarkSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public let suites = [
   |            |- warning: let 'suites' is not concurrency-safe because non-'Sendable' type '[BenchmarkSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'suites' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     addStringBenchmarks
17 | ]
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
[83/87] Emitting module BenchmarkSuiteExampleMain
/host/spi-builder-workspace/Sources/BenchmarkSuiteExample/Suites.swift:15:12: warning: let 'suites' is not concurrency-safe because non-'Sendable' type '[BenchmarkSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public let suites = [
   |            |- warning: let 'suites' is not concurrency-safe because non-'Sendable' type '[BenchmarkSuite]' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: annotate 'suites' with '@MainActor' if property should only be accessed from the main actor
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     addStringBenchmarks
17 | ]
/host/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
   |              `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 |     public let name: String
17 |     public let settings: [BenchmarkSetting]
[84/88] Linking BenchmarkMinimalExample
[85/88] Wrapping AST for BenchmarkSuiteExampleMain for debugging
[86/88] Write Objects.LinkFileList
[87/88] Linking BenchmarkSuiteExampleMain
Build complete! (16.54s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "Benchmark",
  "name" : "Benchmark",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Benchmark",
      "targets" : [
        "Benchmark"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BenchmarkSuiteExampleMain",
      "targets" : [
        "BenchmarkSuiteExampleMain"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "BenchmarkMinimalExample",
      "targets" : [
        "BenchmarkMinimalExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BenchmarkTests",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkTests",
      "path" : "Tests/BenchmarkTests",
      "sources" : [
        "BenchmarkColumnTests.swift",
        "BenchmarkCommandTests.swift",
        "BenchmarkReporterTests.swift",
        "BenchmarkRunnerTests.swift",
        "BenchmarkSettingTests.swift",
        "BenchmarkSuiteTests.swift",
        "CustomBenchmarkTests.swift",
        "MockTextOutputStream.swift",
        "StatsTests.swift",
        "XCTTestManifests.swift"
      ],
      "target_dependencies" : [
        "Benchmark",
        "BenchmarkSuiteExample"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BenchmarkSuiteExampleMain",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkSuiteExampleMain",
      "path" : "Sources/BenchmarkSuiteExampleMain",
      "product_memberships" : [
        "BenchmarkSuiteExampleMain"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Benchmark",
        "BenchmarkSuiteExample"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BenchmarkSuiteExample",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkSuiteExample",
      "path" : "Sources/BenchmarkSuiteExample",
      "product_memberships" : [
        "BenchmarkSuiteExampleMain"
      ],
      "sources" : [
        "AddStringBenchmarks.swift",
        "Suites.swift"
      ],
      "target_dependencies" : [
        "Benchmark"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BenchmarkMinimalExample",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkMinimalExample",
      "path" : "Sources/BenchmarkMinimalExample",
      "product_memberships" : [
        "BenchmarkMinimalExample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Benchmark"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Benchmark",
      "module_type" : "SwiftTarget",
      "name" : "Benchmark",
      "path" : "Sources/Benchmark",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "Benchmark",
        "BenchmarkSuiteExampleMain",
        "BenchmarkMinimalExample"
      ],
      "sources" : [
        "Benchmark.swift",
        "BenchmarkArguments.swift",
        "BenchmarkColumn.swift",
        "BenchmarkCommand.swift",
        "BenchmarkFilter.swift",
        "BenchmarkFormatter.swift",
        "BenchmarkMain.swift",
        "BenchmarkReporter.swift",
        "BenchmarkResult.swift",
        "BenchmarkRunner.swift",
        "BenchmarkSetting.swift",
        "BenchmarkState.swift",
        "BenchmarkSuite.swift",
        "BenchmarkTermination.swift",
        "BenchmarkTime.swift",
        "Stats.swift",
        "TestIntegration.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.