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, reference 0.1.2 (816329), with Swift 6.0 for Linux on 2 Nov 2024 05:00:45 UTC.

Swift 6 data race errors: 12

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/google/swift-benchmark.git
Reference: 0.1.2
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
 * tag               0.1.2      -> FETCH_HEAD
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 0.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/google/swift-benchmark.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
[1/12353] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.52s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[7/18] Write swift-version-24593BA9C3E375BF.txt
[9/20] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/20] Emitting module ArgumentParserToolInfo
[11/21] Wrapping AST for ArgumentParserToolInfo for debugging
[13/59] Emitting module ArgumentParser
[14/64] Compiling ArgumentParser Name.swift
[15/64] Compiling ArgumentParser Parsed.swift
[16/64] Compiling ArgumentParser ParsedValues.swift
[17/64] Compiling ArgumentParser ParserError.swift
[18/64] Compiling ArgumentParser SplitArguments.swift
[19/64] Compiling ArgumentParser OptionGroup.swift
[20/64] Compiling ArgumentParser AsyncParsableCommand.swift
[21/64] Compiling ArgumentParser CommandConfiguration.swift
[22/64] Compiling ArgumentParser CommandGroup.swift
[23/64] Compiling ArgumentParser EnumerableFlag.swift
[24/64] Compiling ArgumentParser ExpressibleByArgument.swift
[25/64] Compiling ArgumentParser ParsableArguments.swift
[26/64] Compiling ArgumentParser ParsableArgumentsValidation.swift
[27/64] Compiling ArgumentParser ParsableCommand.swift
[28/64] Compiling ArgumentParser ArgumentDecoder.swift
[29/64] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/64] Compiling ArgumentParser CompletionsGenerator.swift
[31/64] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/64] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/64] Compiling ArgumentParser Argument.swift
[34/64] Compiling ArgumentParser ArgumentHelp.swift
[35/64] Compiling ArgumentParser ArgumentDefinition.swift
[36/64] Compiling ArgumentParser ArgumentSet.swift
[37/64] Compiling ArgumentParser CommandParser.swift
[38/64] Compiling ArgumentParser InputKey.swift
[39/64] Compiling ArgumentParser InputOrigin.swift
[40/64] Compiling ArgumentParser CollectionExtensions.swift
[41/64] Compiling ArgumentParser Platform.swift
[42/64] Compiling ArgumentParser SequenceExtensions.swift
[43/64] Compiling ArgumentParser StringExtensions.swift
[44/64] Compiling ArgumentParser Tree.swift
[45/64] Compiling ArgumentParser ArgumentVisibility.swift
[46/64] Compiling ArgumentParser CompletionKind.swift
[47/64] Compiling ArgumentParser Errors.swift
[48/64] Compiling ArgumentParser Flag.swift
[49/64] Compiling ArgumentParser NameSpecification.swift
[50/64] Compiling ArgumentParser Option.swift
[51/64] Compiling ArgumentParser DumpHelpGenerator.swift
[52/64] Compiling ArgumentParser HelpCommand.swift
[53/64] Compiling ArgumentParser HelpGenerator.swift
[54/64] Compiling ArgumentParser MessageInfo.swift
[55/64] Compiling ArgumentParser UsageGenerator.swift
[56/65] Wrapping AST for ArgumentParser for debugging
[58/81] Compiling Benchmark BenchmarkCommand.swift
[59/81] Compiling Benchmark BenchmarkFilter.swift
[60/81] 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),
[61/81] 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),
[62/81] Compiling Benchmark BenchmarkTermination.swift
[63/81] Compiling Benchmark BenchmarkTime.swift
[64/81] 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 |
[65/81] 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 |
[66/81] 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),
[67/81] 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),
[68/83] Emitting module Benchmark
/host/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: 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),
[69/83] 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
[70/83] 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
[71/83] Compiling Benchmark Stats.swift
[72/83] Compiling Benchmark TestIntegration.swift
[73/83] 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 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: 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 |     }
[74/83] 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 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: 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 |     }
[75/83] 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 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: 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 |     }
[76/84] Wrapping AST for Benchmark for debugging
[78/89] 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") {
[79/89] Emitting module BenchmarkMinimalExample
[80/89] Compiling BenchmarkMinimalExample main.swift
[81/90] 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]
[82/90] 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") {
[84/91] Wrapping AST for BenchmarkMinimalExample for debugging
[85/91] Write Objects.LinkFileList
[86/91] Wrapping AST for BenchmarkSuiteExample for debugging
[88/93] Emitting module BenchmarkSuiteExampleMain
[89/93] Compiling BenchmarkSuiteExampleMain main.swift
[89/93] Linking BenchmarkMinimalExample
[91/94] Wrapping AST for BenchmarkSuiteExampleMain for debugging
[92/94] Write Objects.LinkFileList
[93/94] Linking BenchmarkSuiteExampleMain
Build complete! (18.57s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.