The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Benchmark, reference 0.2.0 (45a7b5), with Swift 6.1 for Linux on 12 Dec 2025 07:29:27 UTC.

Swift 6 data race errors: 12

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
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 /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/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:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stackotter/swift-benchmark.git
https://github.com/stackotter/swift-benchmark.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
[1/16922] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.26s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (1.87s)
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/19] Write sources
[8/19] Write swift-version-24593BA9C3E375BF.txt
[10/21] Emitting module ArgumentParserToolInfo
[11/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/22] Wrapping AST for ArgumentParserToolInfo for debugging
[14/66] Emitting module ArgumentParser
[15/72] Compiling ArgumentParser OptionGroup.swift
[16/72] Compiling ArgumentParser AsyncParsableCommand.swift
[17/72] Compiling ArgumentParser CommandConfiguration.swift
[18/72] Compiling ArgumentParser CommandGroup.swift
[19/72] Compiling ArgumentParser EnumerableFlag.swift
[20/72] Compiling ArgumentParser ExpressibleByArgument.swift
[21/72] Compiling ArgumentParser InputKey.swift
[22/72] Compiling ArgumentParser InputOrigin.swift
[23/72] Compiling ArgumentParser Name.swift
[24/72] Compiling ArgumentParser Parsed.swift
[25/72] Compiling ArgumentParser ParsedValues.swift
[26/72] Compiling ArgumentParser ParserError.swift
[27/72] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/72] Compiling ArgumentParser CompletionsGenerator.swift
[29/72] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/72] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/72] Compiling ArgumentParser Argument.swift
[32/72] Compiling ArgumentParser ArgumentDiscussion.swift
[33/72] Compiling ArgumentParser ArgumentHelp.swift
[34/72] Compiling ArgumentParser Tree.swift
[35/72] Compiling ArgumentParser CodingKeyValidator.swift
[36/72] Compiling ArgumentParser NonsenseFlagsValidator.swift
[37/72] Compiling ArgumentParser ParsableArgumentsValidation.swift
[38/72] Compiling ArgumentParser PositionalArgumentsValidator.swift
[39/72] Compiling ArgumentParser UniqueNamesValidator.swift
[40/72] Compiling ArgumentParser CollectionExtensions.swift
[41/72] Compiling ArgumentParser Mutex.swift
[42/72] Compiling ArgumentParser Platform.swift
[43/72] Compiling ArgumentParser SequenceExtensions.swift
[44/72] Compiling ArgumentParser StringExtensions.swift
[45/72] Compiling ArgumentParser SwiftExtensions.swift
[46/72] Compiling ArgumentParser ParsableArguments.swift
[47/72] Compiling ArgumentParser ParsableCommand.swift
[48/72] Compiling ArgumentParser ArgumentDecoder.swift
[49/72] Compiling ArgumentParser ArgumentDefinition.swift
[50/72] Compiling ArgumentParser ArgumentSet.swift
[51/72] Compiling ArgumentParser CommandParser.swift
[52/72] Compiling ArgumentParser ArgumentVisibility.swift
[53/72] Compiling ArgumentParser CompletionKind.swift
[54/72] Compiling ArgumentParser Errors.swift
[55/72] Compiling ArgumentParser Flag.swift
[56/72] Compiling ArgumentParser NameSpecification.swift
[57/72] Compiling ArgumentParser Option.swift
[58/72] Compiling ArgumentParser SplitArguments.swift
[59/72] Compiling ArgumentParser DumpHelpGenerator.swift
[60/72] Compiling ArgumentParser HelpCommand.swift
[61/72] Compiling ArgumentParser HelpGenerator.swift
[62/72] Compiling ArgumentParser MessageInfo.swift
[63/72] Compiling ArgumentParser UsageGenerator.swift
[64/73] Wrapping AST for ArgumentParser for debugging
[66/89] 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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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 |     }
/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: 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),
/host/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/91] Compiling Benchmark BenchmarkCommand.swift
[68/91] Compiling Benchmark BenchmarkFilter.swift
[69/91] 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 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/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 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/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 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[70/91] 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 |
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/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 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/Benchmark/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 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[71/91] Compiling Benchmark BenchmarkTermination.swift
[72/91] Compiling Benchmark BenchmarkTime.swift
[73/91] Compiling Benchmark BenchmarkState.swift
/host/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 |
[74/91] Compiling Benchmark BenchmarkSuite.swift
/host/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 |
[75/91] 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: 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),
[76/91] 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: 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),
[77/91] Compiling Benchmark Stats.swift
[78/91] Compiling Benchmark TestIntegration.swift
[79/91] Compiling Benchmark Benchmark.swift
/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: 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/91] Compiling Benchmark BenchmarkArguments.swift
/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: 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/91] Compiling Benchmark BenchmarkColumn.swift
/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: 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 |
[82/91] 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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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 |     }
[83/91] 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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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'
/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: 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 |     }
[84/92] Wrapping AST for Benchmark for debugging
[86/97] 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: 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") {
[87/97] 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: 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") {
/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: 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 | ]
/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: 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]
[88/97] 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: 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 | ]
/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: 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]
[89/98] Emitting module BenchmarkMinimalExample
[90/98] Compiling BenchmarkMinimalExample main.swift
[92/99] Wrapping AST for BenchmarkSuiteExample for debugging
[93/99] Wrapping AST for BenchmarkMinimalExample for debugging
[94/99] Write Objects.LinkFileList
[96/101] Compiling BenchmarkSuiteExampleMain main.swift
[97/101] Emitting module BenchmarkSuiteExampleMain
[98/102] Wrapping AST for BenchmarkSuiteExampleMain for debugging
[99/102] Write Objects.LinkFileList
[100/102] Linking BenchmarkMinimalExample
[101/102] Linking BenchmarkSuiteExampleMain
Build complete! (21.46s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.