Build Information
Successful build of swift-builders, reference 0.8.0 (0c671b
), with Swift 6.1 for macOS (SPM) on 11 May 2025 19:38:59 UTC.
Swift 6 data race errors: 13
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/davdroman/swift-builders.git
Reference: 0.8.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/davdroman/swift-builders
* tag 0.8.0 -> FETCH_HEAD
HEAD is now at 0c671b0 Modernize Swift syntax in README
Cloned https://github.com/davdroman/swift-builders.git
Revision (git rev-parse @):
0c671b0361951a44806bea5cacf20e89db0ab39e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/davdroman/swift-builders.git at 0.8.0
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.02s)
[1/1486] Fetching swift-benchmark
Fetched https://github.com/google/swift-benchmark from cache (0.92s)
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-builders",
"name": "swift-builders",
"url": "https://github.com/davdroman/swift-builders.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-builders",
"dependencies": [
]
}
]
}
Fetching https://github.com/davdroman/swift-builders.git
[7/673] Fetching swift-builders
Fetched https://github.com/davdroman/swift-builders.git from cache (0.85s)
Creating working copy for https://github.com/davdroman/swift-builders.git
Working copy of https://github.com/davdroman/swift-builders.git resolved at 0.8.0 (0c671b0)
warning: '.resolve-product-dependencies': dependency 'swift-builders' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/davdroman/swift-builders.git
https://github.com/davdroman/swift-builders.git
{
"dependencies" : [
{
"identity" : "swift-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/swift-benchmark"
}
],
"manifest_display_name" : "swift-builders",
"name" : "swift-builders",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Builders",
"targets" : [
"Builders"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Benchmarks",
"targets" : [
"Benchmarks"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BuildersTests",
"module_type" : "SwiftTarget",
"name" : "BuildersTests",
"path" : "Tests/BuildersTests",
"sources" : [
"ArrayBuilderTests.swift",
"ArraySliceBuilderTests.swift",
"ContiguousArrayBuilderTests.swift",
"DataBuilderTests.swift",
"DictionaryBuilderTests.swift",
"SetBuilderTests.swift",
"SliceBuilderTests.swift",
"StringBuilderTests.swift",
"StringUTF8ViewBuilderTests.swift",
"StringUnicodeScalarViewBuilderTests.swift",
"SubstringBuilderTests.swift",
"SubstringUTF8ViewBuilderTests.swift",
"SubstringUnicodeScalarViewBuilderTests.swift"
],
"target_dependencies" : [
"Builders",
"BuildersTestSupport"
],
"type" : "test"
},
{
"c99name" : "BuildersTestSupport",
"module_type" : "SwiftTarget",
"name" : "BuildersTestSupport",
"path" : "Sources/BuildersTestSupport",
"product_memberships" : [
"Benchmarks"
],
"sources" : [
"BuildersTestSupport.swift"
],
"type" : "library"
},
{
"c99name" : "Builders",
"module_type" : "SwiftTarget",
"name" : "Builders",
"path" : "Sources/Builders",
"product_memberships" : [
"Builders",
"Benchmarks"
],
"sources" : [
"ArrayBuilder.swift",
"ArraySliceBuilder.swift",
"ContiguousArray.swift",
"DataBuilder.swift",
"DictionaryBuilder.swift",
"SetBuilder.swift",
"SliceBuilder.swift",
"StringBuilder.swift",
"StringUTF8ViewBuilder.swift",
"StringUnicodeScalarViewBuilder.swift",
"SubstringBuilder.swift",
"SubstringUTF8ViewBuilder.swift",
"SubstringUnicodeScalarViewBuilder.swift"
],
"type" : "library"
},
{
"c99name" : "Benchmarks",
"module_type" : "SwiftTarget",
"name" : "Benchmarks",
"path" : "Sources/Benchmarks",
"product_dependencies" : [
"Benchmark"
],
"product_memberships" : [
"Benchmarks"
],
"sources" : [
"Array.swift",
"ArraySlice.swift",
"ContiguousArray.swift",
"Data.swift",
"Dictionary.swift",
"Set.swift",
"Slice.swift",
"String.swift",
"StringUTF8View.swift",
"StringUnicodeScalarView.swift",
"Substring.swift",
"SubstringUTF8View.swift",
"SubstringUnicodeScalarView.swift",
"main.swift"
],
"target_dependencies" : [
"Builders",
"BuildersTestSupport"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write sources
[4/12] Write Benchmarks-entitlement.plist
[5/12] Write sources
[8/12] Write swift-version-2F0A5646E1D333AE.txt
[10/29] Emitting module BuildersTestSupport
[11/29] Compiling BuildersTestSupport BuildersTestSupport.swift
[12/29] Emitting module ArgumentParserToolInfo
[13/29] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/68] Compiling Builders SubstringUTF8ViewBuilder.swift
[15/69] Compiling Builders SubstringUnicodeScalarViewBuilder.swift
[16/69] Compiling ArgumentParser OptionGroup.swift
[17/69] Compiling ArgumentParser AsyncParsableCommand.swift
[18/69] Emitting module Builders
[19/69] Compiling Builders StringUnicodeScalarViewBuilder.swift
[20/69] Emitting module ArgumentParser
[21/73] Compiling Builders StringBuilder.swift
[22/73] Compiling Builders StringUTF8ViewBuilder.swift
[23/73] Compiling Builders SliceBuilder.swift
[24/73] Compiling Builders SubstringBuilder.swift
[25/73] Compiling ArgumentParser NameSpecification.swift
[26/73] Compiling ArgumentParser Option.swift
[29/73] Compiling ArgumentParser ArgumentHelp.swift
[30/73] Compiling ArgumentParser ArgumentVisibility.swift
[31/73] Compiling ArgumentParser CompletionKind.swift
[32/73] Compiling ArgumentParser Errors.swift
[33/73] Compiling ArgumentParser Flag.swift
[34/73] Compiling ArgumentParser ParsableArguments.swift
[35/73] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/73] Compiling ArgumentParser ParsableCommand.swift
[37/73] Compiling ArgumentParser ArgumentDecoder.swift
[38/73] Compiling ArgumentParser InputOrigin.swift
[39/73] Compiling ArgumentParser Name.swift
[40/73] Compiling ArgumentParser Parsed.swift
[41/73] Compiling ArgumentParser ParsedValues.swift
[42/73] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/73] Compiling ArgumentParser CompletionsGenerator.swift
[44/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[45/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[46/73] Compiling ArgumentParser Argument.swift
[47/73] Compiling ArgumentParser ArgumentDefinition.swift
[48/73] Compiling ArgumentParser ArgumentSet.swift
[49/73] Compiling ArgumentParser CommandParser.swift
[50/73] Compiling ArgumentParser InputKey.swift
[51/73] Compiling ArgumentParser Platform.swift
[52/73] Compiling ArgumentParser SequenceExtensions.swift
[53/73] Compiling ArgumentParser StringExtensions.swift
[54/73] Compiling ArgumentParser Tree.swift
[59/73] Compiling ArgumentParser CommandConfiguration.swift
[60/73] Compiling ArgumentParser CommandGroup.swift
[61/73] Compiling ArgumentParser EnumerableFlag.swift
[62/73] Compiling ArgumentParser ExpressibleByArgument.swift
[63/73] Compiling ArgumentParser HelpGenerator.swift
[64/73] Compiling ArgumentParser MessageInfo.swift
[65/73] Compiling ArgumentParser UsageGenerator.swift
[66/73] Compiling ArgumentParser CollectionExtensions.swift
[67/73] Compiling ArgumentParser ParserError.swift
[68/73] Compiling ArgumentParser SplitArguments.swift
[69/73] Compiling ArgumentParser DumpHelpGenerator.swift
[70/73] Compiling ArgumentParser HelpCommand.swift
[71/90] Compiling Benchmark BenchmarkTime.swift
[72/90] Compiling Benchmark BenchmarkSuite.swift
[73/90] Compiling Benchmark BenchmarkTermination.swift
[74/90] Compiling Benchmark Stats.swift
[75/91] Compiling Benchmark BenchmarkResult.swift
[76/91] Compiling Benchmark BenchmarkRunner.swift
[77/91] Compiling Benchmark BenchmarkSetting.swift
[78/91] Compiling Benchmark BenchmarkState.swift
[79/91] Compiling Benchmark BenchmarkMain.swift
[80/91] Compiling Benchmark BenchmarkReporter.swift
[81/91] Compiling Benchmark BenchmarkFilter.swift
[82/91] Compiling Benchmark BenchmarkFormatter.swift
[83/91] Compiling Benchmark BenchmarkColumn.swift
[84/91] Compiling Benchmark BenchmarkCommand.swift
[85/91] Emitting module Benchmark
[86/91] Compiling Benchmark Benchmark.swift
[87/91] Compiling Benchmark BenchmarkArguments.swift
[88/91] Compiling Benchmark TestIntegration.swift
[89/105] Compiling Benchmarks Substring.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Substring.swift:5:5: warning: let 'substring' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let substring = BenchmarkSuite(name: "") {
| `- warning: let 'substring' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Substring.build") {
7 | _ = Substring.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Substring.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let substring = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'substring' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Substring.build") {
7 | _ = Substring.build {
[90/105] Compiling Benchmarks SubstringUnicodeScalarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/SubstringUnicodeScalarView.swift:5:5: warning: let 'substringUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let substringUnicodeScalar = BenchmarkSuite(name: "") {
| `- warning: let 'substringUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Substring.UnicodeScalarView.build") {
7 | _ = Substring.UnicodeScalarView.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/SubstringUnicodeScalarView.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let substringUnicodeScalar = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'substringUnicodeScalar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Substring.UnicodeScalarView.build") {
7 | _ = Substring.UnicodeScalarView.build {
[91/105] Compiling Benchmarks SubstringUTF8View.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/SubstringUTF8View.swift:5:5: warning: let 'substringUTF8View' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let substringUTF8View = BenchmarkSuite(name: "") {
| `- warning: let 'substringUTF8View' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Substring.UTF8View.build") {
7 | _ = Substring.UTF8View.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/SubstringUTF8View.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let substringUTF8View = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'substringUTF8View' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Substring.UTF8View.build") {
7 | _ = Substring.UTF8View.build {
[92/106] Compiling Benchmarks StringUnicodeScalarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/StringUnicodeScalarView.swift:5:5: warning: let 'stringUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let stringUnicodeScalar = BenchmarkSuite(name: "") {
| `- warning: let 'stringUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("String.UnicodeScalarView.build") {
7 | _ = String.UnicodeScalarView.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/StringUnicodeScalarView.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let stringUnicodeScalar = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'stringUnicodeScalar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("String.UnicodeScalarView.build") {
7 | _ = String.UnicodeScalarView.build {
[93/106] Compiling Benchmarks StringUTF8View.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/StringUTF8View.swift:5:5: warning: let 'stringUTF8View' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let stringUTF8View = BenchmarkSuite(name: "") {
| `- warning: let 'stringUTF8View' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("String.UTF8View.build") {
7 | _ = String.UTF8View.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/StringUTF8View.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let stringUTF8View = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'stringUTF8View' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("String.UTF8View.build") {
7 | _ = String.UTF8View.build {
[94/106] Compiling Benchmarks Dictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Dictionary.swift:5:5: warning: let 'dictionary' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let dictionary = BenchmarkSuite(name: "") {
| `- warning: let 'dictionary' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Dictionary<String, Any>.build") {
7 | _ = [String: Any].build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Dictionary.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let dictionary = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'dictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Dictionary<String, Any>.build") {
7 | _ = [String: Any].build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Set.swift:5:5: warning: let 'set' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let set = BenchmarkSuite(name: "") {
| `- warning: let 'set' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Set<AnyHashable>.build") {
7 | _ = Set<AnyHashable>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Set.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let set = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'set' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Set<AnyHashable>.build") {
7 | _ = Set<AnyHashable>.build {
[95/106] Compiling Benchmarks Set.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Dictionary.swift:5:5: warning: let 'dictionary' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let dictionary = BenchmarkSuite(name: "") {
| `- warning: let 'dictionary' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Dictionary<String, Any>.build") {
7 | _ = [String: Any].build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Dictionary.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let dictionary = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'dictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Dictionary<String, Any>.build") {
7 | _ = [String: Any].build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Set.swift:5:5: warning: let 'set' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let set = BenchmarkSuite(name: "") {
| `- warning: let 'set' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Set<AnyHashable>.build") {
7 | _ = Set<AnyHashable>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Set.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let set = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'set' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Set<AnyHashable>.build") {
7 | _ = Set<AnyHashable>.build {
[96/106] Compiling Benchmarks ContiguousArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ContiguousArray.swift:5:5: warning: let 'contiguousArray' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let contiguousArray = BenchmarkSuite(name: "") {
| `- warning: let 'contiguousArray' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("ContiguousArray<Any>.build") {
7 | _ = ContiguousArray<Any>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ContiguousArray.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let contiguousArray = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'contiguousArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("ContiguousArray<Any>.build") {
7 | _ = ContiguousArray<Any>.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Data.swift:6:5: warning: let 'data' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | let data = BenchmarkSuite(name: "") {
| `- warning: let 'data' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Data.build") {
8 | _ = Data.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Data.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 | import Foundation
5 |
6 | let data = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Data.build") {
8 | _ = Data.build {
[97/106] Compiling Benchmarks Data.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ContiguousArray.swift:5:5: warning: let 'contiguousArray' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let contiguousArray = BenchmarkSuite(name: "") {
| `- warning: let 'contiguousArray' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("ContiguousArray<Any>.build") {
7 | _ = ContiguousArray<Any>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ContiguousArray.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let contiguousArray = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'contiguousArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("ContiguousArray<Any>.build") {
7 | _ = ContiguousArray<Any>.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Data.swift:6:5: warning: let 'data' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | let data = BenchmarkSuite(name: "") {
| `- warning: let 'data' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Data.build") {
8 | _ = Data.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Data.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 | import Foundation
5 |
6 | let data = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Data.build") {
8 | _ = Data.build {
[98/106] Compiling Benchmarks Slice.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Slice.swift:5:5: warning: let 'slice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let slice = BenchmarkSuite(name: "") {
| `- warning: let 'slice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Slice<Array<Any>>.build") {
7 | _ = Slice<[Any]>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Slice.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let slice = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'slice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Slice<Array<Any>>.build") {
7 | _ = Slice<[Any]>.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/String.swift:5:5: warning: let 'string' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let string = BenchmarkSuite(name: "") {
| `- warning: let 'string' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("String.build") {
7 | _ = String.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/String.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let string = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("String.build") {
7 | _ = String.build {
[99/106] Compiling Benchmarks String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Slice.swift:5:5: warning: let 'slice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let slice = BenchmarkSuite(name: "") {
| `- warning: let 'slice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Slice<Array<Any>>.build") {
7 | _ = Slice<[Any]>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Slice.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let slice = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'slice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Slice<Array<Any>>.build") {
7 | _ = Slice<[Any]>.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/String.swift:5:5: warning: let 'string' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let string = BenchmarkSuite(name: "") {
| `- warning: let 'string' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("String.build") {
7 | _ = String.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/String.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let string = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("String.build") {
7 | _ = String.build {
[100/106] Emitting module Benchmarks
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Array.swift:5:5: warning: let 'array' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let array = BenchmarkSuite(name: "") {
| `- warning: let 'array' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Array<Any>.build") {
7 | _ = [Any].build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Array.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let array = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Array<Any>.build") {
7 | _ = [Any].build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ArraySlice.swift:5:5: warning: let 'arraySlice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let arraySlice = BenchmarkSuite(name: "") {
| `- warning: let 'arraySlice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("ArraySlice<Any>.build") {
7 | _ = ArraySlice<Any>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ArraySlice.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let arraySlice = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'arraySlice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("ArraySlice<Any>.build") {
7 | _ = ArraySlice<Any>.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ContiguousArray.swift:5:5: warning: let 'contiguousArray' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let contiguousArray = BenchmarkSuite(name: "") {
| `- warning: let 'contiguousArray' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("ContiguousArray<Any>.build") {
7 | _ = ContiguousArray<Any>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ContiguousArray.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let contiguousArray = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'contiguousArray' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("ContiguousArray<Any>.build") {
7 | _ = ContiguousArray<Any>.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Data.swift:6:5: warning: let 'data' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | let data = BenchmarkSuite(name: "") {
| `- warning: let 'data' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Data.build") {
8 | _ = Data.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Data.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 | import Foundation
5 |
6 | let data = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'data' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Data.build") {
8 | _ = Data.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Dictionary.swift:5:5: warning: let 'dictionary' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let dictionary = BenchmarkSuite(name: "") {
| `- warning: let 'dictionary' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Dictionary<String, Any>.build") {
7 | _ = [String: Any].build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Dictionary.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let dictionary = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'dictionary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Dictionary<String, Any>.build") {
7 | _ = [String: Any].build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Set.swift:5:5: warning: let 'set' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let set = BenchmarkSuite(name: "") {
| `- warning: let 'set' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Set<AnyHashable>.build") {
7 | _ = Set<AnyHashable>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Set.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let set = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'set' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Set<AnyHashable>.build") {
7 | _ = Set<AnyHashable>.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Slice.swift:5:5: warning: let 'slice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let slice = BenchmarkSuite(name: "") {
| `- warning: let 'slice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Slice<Array<Any>>.build") {
7 | _ = Slice<[Any]>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Slice.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let slice = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'slice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Slice<Array<Any>>.build") {
7 | _ = Slice<[Any]>.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/String.swift:5:5: warning: let 'string' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let string = BenchmarkSuite(name: "") {
| `- warning: let 'string' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("String.build") {
7 | _ = String.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/String.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let string = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'string' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("String.build") {
7 | _ = String.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/StringUTF8View.swift:5:5: warning: let 'stringUTF8View' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let stringUTF8View = BenchmarkSuite(name: "") {
| `- warning: let 'stringUTF8View' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("String.UTF8View.build") {
7 | _ = String.UTF8View.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/StringUTF8View.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let stringUTF8View = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'stringUTF8View' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("String.UTF8View.build") {
7 | _ = String.UTF8View.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/StringUnicodeScalarView.swift:5:5: warning: let 'stringUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let stringUnicodeScalar = BenchmarkSuite(name: "") {
| `- warning: let 'stringUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("String.UnicodeScalarView.build") {
7 | _ = String.UnicodeScalarView.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/StringUnicodeScalarView.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let stringUnicodeScalar = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'stringUnicodeScalar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("String.UnicodeScalarView.build") {
7 | _ = String.UnicodeScalarView.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Substring.swift:5:5: warning: let 'substring' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let substring = BenchmarkSuite(name: "") {
| `- warning: let 'substring' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Substring.build") {
7 | _ = Substring.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Substring.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let substring = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'substring' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Substring.build") {
7 | _ = Substring.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/SubstringUTF8View.swift:5:5: warning: let 'substringUTF8View' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let substringUTF8View = BenchmarkSuite(name: "") {
| `- warning: let 'substringUTF8View' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Substring.UTF8View.build") {
7 | _ = Substring.UTF8View.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/SubstringUTF8View.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let substringUTF8View = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'substringUTF8View' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Substring.UTF8View.build") {
7 | _ = Substring.UTF8View.build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/SubstringUnicodeScalarView.swift:5:5: warning: let 'substringUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let substringUnicodeScalar = BenchmarkSuite(name: "") {
| `- warning: let 'substringUnicodeScalar' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Substring.UnicodeScalarView.build") {
7 | _ = Substring.UnicodeScalarView.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/SubstringUnicodeScalarView.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let substringUnicodeScalar = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'substringUnicodeScalar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Substring.UnicodeScalarView.build") {
7 | _ = Substring.UnicodeScalarView.build {
[101/106] Compiling Benchmarks Array.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Array.swift:5:5: warning: let 'array' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let array = BenchmarkSuite(name: "") {
| `- warning: let 'array' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Array<Any>.build") {
7 | _ = [Any].build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Array.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let array = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Array<Any>.build") {
7 | _ = [Any].build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ArraySlice.swift:5:5: warning: let 'arraySlice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let arraySlice = BenchmarkSuite(name: "") {
| `- warning: let 'arraySlice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("ArraySlice<Any>.build") {
7 | _ = ArraySlice<Any>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ArraySlice.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let arraySlice = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'arraySlice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("ArraySlice<Any>.build") {
7 | _ = ArraySlice<Any>.build {
[102/106] Compiling Benchmarks ArraySlice.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Array.swift:5:5: warning: let 'array' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let array = BenchmarkSuite(name: "") {
| `- warning: let 'array' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("Array<Any>.build") {
7 | _ = [Any].build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/Array.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let array = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'array' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("Array<Any>.build") {
7 | _ = [Any].build {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ArraySlice.swift:5:5: warning: let 'arraySlice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import BuildersTestSupport
4 |
5 | let arraySlice = BenchmarkSuite(name: "") {
| `- warning: let 'arraySlice' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
6 | $0.benchmark("ArraySlice<Any>.build") {
7 | _ = ArraySlice<Any>.build {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/Benchmarks/ArraySlice.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import Builders
3 | import BuildersTestSupport
4 |
5 | let arraySlice = BenchmarkSuite(name: "") {
| |- note: add '@MainActor' to make let 'arraySlice' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | $0.benchmark("ArraySlice<Any>.build") {
7 | _ = ArraySlice<Any>.build {
[103/106] Compiling Benchmarks main.swift
[103/106] Write Objects.LinkFileList
[104/106] Linking Benchmarks
[105/106] Applying Benchmarks
Build complete! (9.88s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/swift-benchmark"
}
],
"manifest_display_name" : "swift-builders",
"name" : "swift-builders",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Builders",
"targets" : [
"Builders"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Benchmarks",
"targets" : [
"Benchmarks"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BuildersTests",
"module_type" : "SwiftTarget",
"name" : "BuildersTests",
"path" : "Tests/BuildersTests",
"sources" : [
"ArrayBuilderTests.swift",
"ArraySliceBuilderTests.swift",
"ContiguousArrayBuilderTests.swift",
"DataBuilderTests.swift",
"DictionaryBuilderTests.swift",
"SetBuilderTests.swift",
"SliceBuilderTests.swift",
"StringBuilderTests.swift",
"StringUTF8ViewBuilderTests.swift",
"StringUnicodeScalarViewBuilderTests.swift",
"SubstringBuilderTests.swift",
"SubstringUTF8ViewBuilderTests.swift",
"SubstringUnicodeScalarViewBuilderTests.swift"
],
"target_dependencies" : [
"Builders",
"BuildersTestSupport"
],
"type" : "test"
},
{
"c99name" : "BuildersTestSupport",
"module_type" : "SwiftTarget",
"name" : "BuildersTestSupport",
"path" : "Sources/BuildersTestSupport",
"product_memberships" : [
"Benchmarks"
],
"sources" : [
"BuildersTestSupport.swift"
],
"type" : "library"
},
{
"c99name" : "Builders",
"module_type" : "SwiftTarget",
"name" : "Builders",
"path" : "Sources/Builders",
"product_memberships" : [
"Builders",
"Benchmarks"
],
"sources" : [
"ArrayBuilder.swift",
"ArraySliceBuilder.swift",
"ContiguousArray.swift",
"DataBuilder.swift",
"DictionaryBuilder.swift",
"SetBuilder.swift",
"SliceBuilder.swift",
"StringBuilder.swift",
"StringUTF8ViewBuilder.swift",
"StringUnicodeScalarViewBuilder.swift",
"SubstringBuilder.swift",
"SubstringUTF8ViewBuilder.swift",
"SubstringUnicodeScalarViewBuilder.swift"
],
"type" : "library"
},
{
"c99name" : "Benchmarks",
"module_type" : "SwiftTarget",
"name" : "Benchmarks",
"path" : "Sources/Benchmarks",
"product_dependencies" : [
"Benchmark"
],
"product_memberships" : [
"Benchmarks"
],
"sources" : [
"Array.swift",
"ArraySlice.swift",
"ContiguousArray.swift",
"Data.swift",
"Dictionary.swift",
"Set.swift",
"Slice.swift",
"String.swift",
"StringUTF8View.swift",
"StringUnicodeScalarView.swift",
"Substring.swift",
"SubstringUTF8View.swift",
"SubstringUnicodeScalarView.swift",
"main.swift"
],
"target_dependencies" : [
"Builders",
"BuildersTestSupport"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
Done.