The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Benchmark, reference 0.2.0 (45a7b5), with Swift 6.1 for macOS (SPM) on 12 Dec 2025 07:34:57 UTC.

Swift 6 data race errors: 12

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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-benchmark.git
Reference: 0.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/stackotter/swift-benchmark
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 45a7b50 Add async benchmark support
Cloned https://github.com/stackotter/swift-benchmark.git
Revision (git rev-parse @):
45a7b500c24e7243da7b02e19cf436d0107a0c1b
SUCCESS checkout https://github.com/stackotter/swift-benchmark.git at 0.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stackotter/swift-benchmark.git
https://github.com/stackotter/swift-benchmark.git
{
  "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" : "/Users/admin/builder/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"
}
Running build ...
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 InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write BenchmarkMinimalExample-entitlement.plist
[9/17] Write BenchmarkSuiteExampleMain-entitlement.plist
[10/17] Write swift-version-2F0A5646E1D333AE.txt
[12/19] Emitting module ArgumentParserToolInfo
[13/19] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/65] Compiling ArgumentParser SequenceExtensions.swift
[15/65] Compiling ArgumentParser StringExtensions.swift
[16/65] Compiling ArgumentParser SwiftExtensions.swift
[17/65] Compiling ArgumentParser Tree.swift
[18/65] Compiling ArgumentParser CodingKeyValidator.swift
[19/69] Compiling ArgumentParser ArgumentDiscussion.swift
[20/69] Compiling ArgumentParser ArgumentHelp.swift
[21/69] Compiling ArgumentParser ArgumentVisibility.swift
[22/69] Compiling ArgumentParser CompletionKind.swift
[23/69] Compiling ArgumentParser Errors.swift
[24/69] Compiling ArgumentParser NonsenseFlagsValidator.swift
[25/69] Compiling ArgumentParser ParsableArgumentsValidation.swift
[26/69] Compiling ArgumentParser PositionalArgumentsValidator.swift
[27/69] Compiling ArgumentParser UniqueNamesValidator.swift
[28/69] Emitting module ArgumentParser
[29/69] Compiling ArgumentParser MessageInfo.swift
[30/69] Compiling ArgumentParser UsageGenerator.swift
[31/69] Compiling ArgumentParser CollectionExtensions.swift
[32/69] Compiling ArgumentParser Mutex.swift
[33/69] Compiling ArgumentParser Platform.swift
[34/69] Compiling ArgumentParser CommandConfiguration.swift
[35/69] Compiling ArgumentParser CommandGroup.swift
[36/69] Compiling ArgumentParser EnumerableFlag.swift
[37/69] Compiling ArgumentParser ExpressibleByArgument.swift
[38/69] Compiling ArgumentParser ParsableArguments.swift
[39/69] Compiling ArgumentParser InputKey.swift
[40/69] Compiling ArgumentParser InputOrigin.swift
[41/69] Compiling ArgumentParser Name.swift
[42/69] Compiling ArgumentParser Parsed.swift
[43/69] Compiling ArgumentParser ParsedValues.swift
[44/69] Compiling ArgumentParser ParserError.swift
[45/69] Compiling ArgumentParser SplitArguments.swift
[46/69] Compiling ArgumentParser DumpHelpGenerator.swift
[47/69] Compiling ArgumentParser HelpCommand.swift
[48/69] Compiling ArgumentParser HelpGenerator.swift
[49/69] Compiling ArgumentParser BashCompletionsGenerator.swift
[50/69] Compiling ArgumentParser CompletionsGenerator.swift
[51/69] Compiling ArgumentParser FishCompletionsGenerator.swift
[52/69] Compiling ArgumentParser ZshCompletionsGenerator.swift
[53/69] Compiling ArgumentParser Argument.swift
[54/69] Compiling ArgumentParser Flag.swift
[55/69] Compiling ArgumentParser NameSpecification.swift
[56/69] Compiling ArgumentParser Option.swift
[57/69] Compiling ArgumentParser OptionGroup.swift
[58/69] Compiling ArgumentParser AsyncParsableCommand.swift
[59/69] Compiling ArgumentParser ParsableCommand.swift
[60/69] Compiling ArgumentParser ArgumentDecoder.swift
[61/69] Compiling ArgumentParser ArgumentDefinition.swift
[62/69] Compiling ArgumentParser ArgumentSet.swift
[63/69] Compiling ArgumentParser CommandParser.swift
[64/86] Compiling Benchmark BenchmarkTime.swift
[65/86] Compiling Benchmark Stats.swift
[66/86] Compiling Benchmark BenchmarkSuite.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:132: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]
    :
130 | }
131 |
132 | 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: add '@MainActor' to make let 'defaultBenchmarkSuite' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
[67/86] Compiling Benchmark BenchmarkTermination.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:132: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]
    :
130 | }
131 |
132 | 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: add '@MainActor' to make let 'defaultBenchmarkSuite' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
[68/87] Compiling Benchmark BenchmarkSetting.swift
/Users/admin/builder/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: add '@MainActor' to make let 'defaultSettings' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     MaxIterations(1_000_000),
274 |     MinTime(seconds: 1.0),
[69/87] Compiling Benchmark BenchmarkState.swift
/Users/admin/builder/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: add '@MainActor' to make let 'defaultSettings' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     MaxIterations(1_000_000),
274 |     MinTime(seconds: 1.0),
[70/87] Compiling Benchmark BenchmarkResult.swift
[71/87] Compiling Benchmark BenchmarkRunner.swift
[72/87] Compiling Benchmark BenchmarkMain.swift
[73/87] Compiling Benchmark BenchmarkReporter.swift
[74/87] Compiling Benchmark BenchmarkFilter.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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: add '@MainActor' to make static property 'integer' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'real' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'inverseTime' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'percentage' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'std' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'stdPercentage' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
[75/87] Compiling Benchmark BenchmarkFormatter.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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: add '@MainActor' to make static property 'integer' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'real' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'inverseTime' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'percentage' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'std' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'stdPercentage' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
[76/87] Compiling Benchmark Benchmark.swift
[77/87] Compiling Benchmark BenchmarkArguments.swift
[78/87] Emitting module Benchmark
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkColumn.swift:82:23: warning: static property 'registry' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
    |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'integer' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'real' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'time' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'inverseTime' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'percentage' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'std' part of global actor 'MainActor'
   |                       `- 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'
/Users/admin/builder/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: add '@MainActor' to make static property 'stdPercentage' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 |         return "± " + String(format: "%6.2f %%", value)
55 |     }
/Users/admin/builder/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: add '@MainActor' to make let 'defaultSettings' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |     MaxIterations(1_000_000),
274 |     MinTime(seconds: 1.0),
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:132: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]
    :
130 | }
131 |
132 | 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: add '@MainActor' to make let 'defaultBenchmarkSuite' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
[79/87] Compiling Benchmark BenchmarkColumn.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkColumn.swift:82:23: warning: static property 'registry' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |         var result: [String: BenchmarkColumn] = [:]
 84 |
[80/87] Compiling Benchmark BenchmarkCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkColumn.swift:82:23: warning: static property 'registry' is not concurrency-safe because it is nonisolated 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 nonisolated 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: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 83 |         var result: [String: BenchmarkColumn] = [:]
 84 |
[81/87] Compiling Benchmark TestIntegration.swift
[82/92] Compiling BenchmarkSuiteExample Suites.swift
/Users/admin/builder/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: add '@MainActor' to make let 'suites' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     addStringBenchmarks
17 | ]
/Users/admin/builder/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]
/Users/admin/builder/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 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class declared here
 13 | // limitations under the License.
 14 |
 15 | public class BenchmarkSuite {
    |              `- note: class declared here
 16 |     public let name: String
 17 |     public let settings: [BenchmarkSetting]
[83/92] Emitting module BenchmarkMinimalExample
[84/92] Compiling BenchmarkMinimalExample main.swift
[85/92] Emitting module BenchmarkSuiteExample
/Users/admin/builder/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") {
/Users/admin/builder/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]
/Users/admin/builder/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: add '@MainActor' to make let 'addStringBenchmarks' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     suite in
19 |     suite.benchmark("no capacity") {
/Users/admin/builder/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: add '@MainActor' to make let 'suites' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     addStringBenchmarks
17 | ]
/Users/admin/builder/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]
/Users/admin/builder/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 | ]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class declared here
 13 | // limitations under the License.
 14 |
 15 | public class BenchmarkSuite {
    |              `- note: class declared here
 16 |     public let name: String
 17 |     public let settings: [BenchmarkSetting]
[86/92] Compiling BenchmarkSuiteExample AddStringBenchmarks.swift
/Users/admin/builder/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") {
/Users/admin/builder/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]
/Users/admin/builder/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: add '@MainActor' to make let 'addStringBenchmarks' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     suite in
19 |     suite.benchmark("no capacity") {
[86/92] Write Objects.LinkFileList
[88/94] Compiling BenchmarkSuiteExampleMain main.swift
[89/94] Emitting module BenchmarkSuiteExampleMain
[89/94] Write Objects.LinkFileList
[90/94] Linking BenchmarkMinimalExample
[91/94] Applying BenchmarkMinimalExample
[92/94] Linking BenchmarkSuiteExampleMain
[93/94] Applying BenchmarkSuiteExampleMain
Build complete! (12.07s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (1.81s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
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" : "/Users/admin/builder/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.