Build Information
Successful build of Benchmark, reference main (5c4569
), with Swift 6.1 for macOS (SPM) on 3 May 2025 13:20:03 UTC.
Swift 6 data race errors: 29
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/ordo-one/package-benchmark.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ordo-one/package-benchmark
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5c4569a fix(patch): Rename 'Shared' target to 'BenchmarkShared' (#324)
Cloned https://github.com/ordo-one/package-benchmark.git
Revision (git rev-parse @):
5c4569a9e7e9acac4db43f31e58252539ca71f0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-benchmark.git at main
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-numerics from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
[1/203] Fetching texttable
[204/238] Fetching texttable, package-jemalloc
[239/840] Fetching texttable, package-jemalloc, hdrhistogram-swift
Fetched https://github.com/ordo-one/TextTable.git from cache (0.70s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.71s)
[174/637] Fetching package-jemalloc, hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.86s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.86s)
Fetched https://github.com/apple/swift-numerics from cache (0.86s)
Fetched https://github.com/apple/swift-system.git from cache (0.88s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (1.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.51s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.59s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.48s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.61s)
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.1.3
Creating working copy for https://github.com/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/ordo-one/package-jemalloc.git
Working copy of https://github.com/ordo-one/package-jemalloc.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git 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": "package-benchmark",
"name": "Benchmark",
"url": "https://github.com/ordo-one/package-benchmark.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/package-benchmark",
"dependencies": [
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "texttable",
"name": "TextTable",
"url": "https://github.com/ordo-one/TextTable.git",
"version": "0.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TextTable",
"dependencies": [
]
},
{
"identity": "hdrhistogram-swift",
"name": "package-histogram",
"url": "https://github.com/HdrHistogram/hdrhistogram-swift.git",
"version": "0.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/hdrhistogram-swift",
"dependencies": [
{
"identity": "swift-numerics",
"name": "swift-numerics",
"url": "https://github.com/apple/swift-numerics",
"version": "1.0.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-numerics",
"dependencies": [
]
}
]
},
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "package-jemalloc",
"name": "jemalloc",
"url": "https://github.com/ordo-one/package-jemalloc.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/package-jemalloc",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ordo-one/package-benchmark.git
[1/5925] Fetching package-benchmark
Fetched https://github.com/ordo-one/package-benchmark.git from cache (1.14s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/ordo-one/package-jemalloc.git from cache
Fetching https://github.com/ordo-one/TextTable.git from cache
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.47s)
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.47s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
Fetched https://github.com/ordo-one/TextTable.git from cache (0.59s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.59s)
Fetched https://github.com/apple/swift-system.git from cache (0.60s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (0.66s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.03s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.02s)
Fetching https://github.com/apple/swift-numerics from cache
Fetched https://github.com/apple/swift-numerics from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.52s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.04s)
Creating working copy for https://github.com/ordo-one/package-benchmark.git
Working copy of https://github.com/ordo-one/package-benchmark.git resolved at main (5c4569a)
Creating working copy for https://github.com/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
Creating working copy for https://github.com/ordo-one/package-jemalloc.git
Working copy of https://github.com/ordo-one/package-jemalloc.git resolved at 1.0.0
Creating working copy for https://github.com/HdrHistogram/hdrhistogram-swift.git
Working copy of https://github.com/HdrHistogram/hdrhistogram-swift.git resolved at 0.1.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Found 6 product dependencies
- swift-system
- swift-argument-parser
- TextTable
- package-histogram
- swift-atomics
- jemalloc
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ordo-one/package-benchmark.git
https://github.com/ordo-one/package-benchmark.git
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "texttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/TextTable.git"
},
{
"identity" : "hdrhistogram-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/HdrHistogram/hdrhistogram-swift.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "package-jemalloc",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/package-jemalloc.git"
}
],
"manifest_display_name" : "Benchmark",
"name" : "Benchmark",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "BenchmarkCommandPlugin",
"targets" : [
"BenchmarkCommandPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "BenchmarkPlugin",
"targets" : [
"BenchmarkPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "Benchmark",
"targets" : [
"Benchmark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BenchmarkTool",
"targets" : [
"BenchmarkTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkHelpGenerator",
"targets" : [
"BenchmarkHelpGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkBoilerplateGenerator",
"targets" : [
"BenchmarkBoilerplateGenerator"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftRuntimeHooks",
"module_type" : "ClangTarget",
"name" : "SwiftRuntimeHooks",
"path" : "Sources/SwiftRuntimeHooks",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"shims.c"
],
"type" : "library"
},
{
"c99name" : "CLinuxOperatingSystemStats",
"module_type" : "ClangTarget",
"name" : "CLinuxOperatingSystemStats",
"path" : "Platform/CLinuxOperatingSystemStats",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"CLinuxOperatingSystemStats.c"
],
"type" : "library"
},
{
"c99name" : "CDarwinOperatingSystemStats",
"module_type" : "ClangTarget",
"name" : "CDarwinOperatingSystemStats",
"path" : "Platform/CDarwinOperatingSystemStats",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"CDarwinOperatingSystemStats.c"
],
"type" : "library"
},
{
"c99name" : "BenchmarkTool",
"module_type" : "SwiftTarget",
"name" : "BenchmarkTool",
"path" : "Plugins/BenchmarkTool",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage",
"TextTable"
],
"product_memberships" : [
"BenchmarkCommandPlugin",
"BenchmarkTool"
],
"sources" : [
"BenchmarkTool+Baselines.swift",
"BenchmarkTool+CreateBenchmark.swift",
"BenchmarkTool+Export+InfluxCSVFormatter.swift",
"BenchmarkTool+Export+JMHElement.swift",
"BenchmarkTool+Export+JMHFormatter.swift",
"BenchmarkTool+Export.swift",
"BenchmarkTool+JSON.swift",
"BenchmarkTool+Machine.swift",
"BenchmarkTool+Operations.swift",
"BenchmarkTool+PrettyPrinting.swift",
"BenchmarkTool+ReadP90AbsoluteThresholds.swift",
"BenchmarkTool+Thresholds.swift",
"BenchmarkTool.swift",
"FilePath+Additions.swift",
"FilePath+DirectoryView.swift",
"String+Additions.swift"
],
"target_dependencies" : [
"Benchmark",
"BenchmarkShared"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkTests",
"module_type" : "SwiftTarget",
"name" : "BenchmarkTests",
"path" : "Tests/BenchmarkTests",
"sources" : [
"AdditionalTests.swift",
"BenchmarkMetricsTests.swift",
"BenchmarkResultTests.swift",
"BenchmarkRunnerTests.swift",
"BenchmarkTests.swift",
"OperatingSystemAndMallocTests.swift",
"StatisticsTests.swift"
],
"target_dependencies" : [
"Benchmark"
],
"type" : "test"
},
{
"c99name" : "BenchmarkShared",
"module_type" : "SwiftTarget",
"name" : "BenchmarkShared",
"path" : "Sources/BenchmarkShared",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool",
"BenchmarkHelpGenerator"
],
"sources" : [
"Command+Helpers.swift"
],
"type" : "library"
},
{
"c99name" : "BenchmarkPlugin",
"module_type" : "PluginTarget",
"name" : "BenchmarkPlugin",
"path" : "Plugins/BenchmarkPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"BenchmarkPlugin"
],
"sources" : [
"BenchmarkSupportPlugin.swift"
],
"target_dependencies" : [
"BenchmarkBoilerplateGenerator"
],
"type" : "plugin"
},
{
"c99name" : "BenchmarkHelpGenerator",
"module_type" : "SwiftTarget",
"name" : "BenchmarkHelpGenerator",
"path" : "Plugins/BenchmarkHelpGenerator",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"BenchmarkHelpGenerator"
],
"sources" : [
"BenchmarkHelpGenerator.swift"
],
"target_dependencies" : [
"BenchmarkShared"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkCommandPlugin",
"module_type" : "PluginTarget",
"name" : "BenchmarkCommandPlugin",
"path" : "Plugins/BenchmarkCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Run the Benchmark performance test suite.",
"type" : "custom",
"verb" : "benchmark"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"BenchmarkCommandPlugin"
],
"sources" : [
"ArgumentExtractor+Extensions.swift",
"BenchmarkCommandPlugin.swift",
"BenchmarkPlugin+Help.swift",
"Command+Helpers.swift"
],
"target_dependencies" : [
"BenchmarkTool"
],
"type" : "plugin"
},
{
"c99name" : "BenchmarkBoilerplateGenerator",
"module_type" : "SwiftTarget",
"name" : "BenchmarkBoilerplateGenerator",
"path" : "Plugins/BenchmarkBoilerplateGenerator",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"BenchmarkPlugin",
"BenchmarkBoilerplateGenerator"
],
"sources" : [
"BenchmarkBoilerplateGenerator.swift"
],
"type" : "executable"
},
{
"c99name" : "Benchmark",
"module_type" : "SwiftTarget",
"name" : "Benchmark",
"path" : "Sources/Benchmark",
"product_dependencies" : [
"Histogram",
"ArgumentParser",
"SystemPackage",
"Atomics",
"jemalloc"
],
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"ARCStats/ARCStats.swift",
"ARCStats/ARCStatsProducer.swift",
"Benchmark+ConvenienceInitializers.swift",
"Benchmark.swift",
"BenchmarkClock.swift",
"BenchmarkExecutor+Extensions.swift",
"BenchmarkExecutor.swift",
"BenchmarkInternals.swift",
"BenchmarkMetric+Defaults.swift",
"BenchmarkMetric.swift",
"BenchmarkResult.swift",
"BenchmarkRunner+ReadWrite.swift",
"BenchmarkRunner.swift",
"BenchmarkThresholds+Defaults.swift",
"BenchmarkThresholds.swift",
"Blackhole.swift",
"Int+Extensions.swift",
"MallocStats/MallocStats+jemalloc-support.swift",
"MallocStats/MallocStats.swift",
"MallocStats/MallocStatsProducer+jemalloc.swift",
"NIOConcurrencyHelpers/NIOLock.swift",
"NIOConcurrencyHelpers/lock.swift",
"OperatingSystemStats/OperatingSystemStats.swift",
"OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift",
"OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift",
"OutputSuppressor.swift",
"Progress/Progress.swift",
"Progress/ProgressElements.swift",
"Progress/Utilities.swift",
"Statistics.swift"
],
"target_dependencies" : [
"CDarwinOperatingSystemStats",
"CLinuxOperatingSystemStats",
"SwiftRuntimeHooks",
"BenchmarkShared"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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 BenchmarkPlugin
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/61] Write sources
[15/61] Compiling CSystem shims.c
[15/61] Compiling CDarwinOperatingSystemStats CDarwinOperatingSystemStats.c
[15/61] Compiling CSystem shims.c
[18/61] Write sources
[20/61] Write BenchmarkTool-tool-entitlement.plist
[20/61] Write BenchmarkTool-entitlement.plist
[22/61] Write sources
[24/61] Write BenchmarkHelpGenerator-entitlement.plist
[26/61] Write sources
[28/61] Write BenchmarkBoilerplateGenerator-tool-entitlement.plist
[29/61] Write BenchmarkBoilerplateGenerator-entitlement.plist
[29/61] Write sources
[38/61] Compiling _NumericsShims _NumericsShims.c
[39/61] Compiling CDarwinOperatingSystemStats CDarwinOperatingSystemStats.c
[40/61] Compiling _NumericsShims _NumericsShims.c
[41/61] Write swift-version-2F0A5646E1D333AE.txt
[42/61] Compiling _AtomicsShims.c
[43/61] Compiling SwiftRuntimeHooks shims.c
[45/112] Compiling _AtomicsShims.c
[47/186] Emitting module RealModule
[49/188] Emitting module ArgumentParserToolInfo
[50/188] Compiling ArgumentParserToolInfo ToolInfo.swift
[51/188] Compiling RealModule AlgebraicField.swift
[53/188] Compiling RealModule AugmentedArithmetic.swift
[54/188] Compiling RealModule ElementaryFunctions.swift
[55/188] Compiling RealModule Real.swift
[56/188] Compiling RealModule Float80+Real.swift
[57/188] Compiling RealModule ApproximateEquality.swift
[59/188] Compiling RealModule Real.swift
[60/188] Compiling RealModule Float80+Real.swift
[61/188] Compiling RealModule Float16+Real.swift
[63/188] Compiling RealModule Float+Real.swift
[64/188] Compiling RealModule ElementaryFunctions.swift
[65/188] Compiling RealModule Float+Real.swift
[66/188] Compiling RealModule AugmentedArithmetic.swift
[67/188] Compiling RealModule Double+Real.swift
[69/207] Compiling BenchmarkShared Command+Helpers.swift
[70/207] Emitting module BenchmarkShared
[72/207] Compiling BenchmarkShared Command+Helpers.swift
[73/207] Compiling RealModule RealFunctions.swift
[75/207] Compiling Atomics OptionalRawRepresentable.swift
[76/207] Compiling Atomics RawRepresentable.swift
[77/207] Compiling Atomics AtomicStorage.swift
[78/207] Compiling Atomics AtomicValue.swift
[79/211] Compiling Atomics Primitives.shims.swift
[80/211] Compiling Atomics AtomicInteger.swift
[81/211] Compiling Atomics ManagedAtomic.swift
[82/211] Compiling Atomics ManagedAtomicLazyReference.swift
[83/260] Compiling ArgumentParser ArgumentDefinition.swift
[84/260] Compiling ArgumentParser ArgumentSet.swift
[85/260] Compiling ArgumentParser CommandParser.swift
[86/263] Compiling ArgumentParser Option.swift
[87/263] Compiling ArgumentParser OptionGroup.swift
[88/263] Compiling ArgumentParser AsyncParsableCommand.swift
[89/266] Compiling ArgumentParser Flag.swift
[90/266] Compiling ArgumentParser CommandConfiguration.swift
[91/266] Compiling ArgumentParser CompletionKind.swift
[92/266] Compiling ArgumentParser Errors.swift
[96/268] Compiling ArgumentParser InputOrigin.swift
[97/268] Compiling ArgumentParser Name.swift
[98/268] Compiling ArgumentParser ArgumentHelp.swift
[99/268] Compiling ArgumentParser ArgumentVisibility.swift
[115/268] Compiling Atomics IntegerOperations.swift
[116/268] Compiling Atomics Unmanaged extensions.swift
[119/268] Compiling ArgumentParser ExpressibleByArgument.swift
[120/268] Emitting module SystemPackage
[121/268] Compiling ArgumentParser BashCompletionsGenerator.swift
[122/268] Compiling ArgumentParser CompletionsGenerator.swift
[123/268] Compiling ArgumentParser FishCompletionsGenerator.swift
[124/268] Compiling ArgumentParser ZshCompletionsGenerator.swift
[125/268] Compiling ArgumentParser Argument.swift
[126/268] Compiling ArgumentParser ParsableArguments.swift
[127/268] Emitting module SystemPackage
[129/268] Compiling ArgumentParser InputKey.swift
[146/268] Compiling ArgumentParser Parsed.swift
[147/268] Compiling ArgumentParser ParsedValues.swift
[148/268] Compiling ArgumentParser NameSpecification.swift
[149/268] Emitting module ArgumentParserToolInfo
[150/268] Compiling ArgumentParserToolInfo ToolInfo.swift
[157/268] Compiling SystemPackage Util+StringArray.swift
[158/268] Compiling SystemPackage Util.swift
[159/268] Compiling SystemPackage UtilConsumers.swift
[163/268] Compiling ComplexModule ElementaryFunctions.swift
[164/268] Compiling ComplexModule Complex.swift
[165/268] Compiling ComplexModule Arithmetic.swift
[166/268] Emitting module ComplexModule
[167/268] Compiling ComplexModule Differentiable.swift
[168/268] Compiling ComplexModule Complex.swift
[169/268] Compiling ComplexModule Differentiable.swift
[170/268] Compiling ComplexModule ElementaryFunctions.swift
[171/268] Emitting module ComplexModule
[172/268] Compiling ComplexModule Arithmetic.swift
[183/268] Emitting module Atomics
[184/311] Emitting module Numerics
[185/311] Compiling Numerics Numerics.swift
[187/311] Emitting module Numerics
[188/315] Compiling ArgumentParser Parsed.swift
[189/315] Compiling ArgumentParser ParsedValues.swift
[190/315] Emitting module Atomics
[191/315] Compiling ArgumentParser BashCompletionsGenerator.swift
[192/315] Compiling ArgumentParser CompletionsGenerator.swift
[193/315] Compiling ArgumentParser FishCompletionsGenerator.swift
[194/315] Compiling ArgumentParser ZshCompletionsGenerator.swift
[195/315] Compiling ArgumentParser ArgumentHelp.swift
[196/315] Compiling ArgumentParser ArgumentVisibility.swift
[197/315] Compiling ArgumentParser CompletionKind.swift
[198/315] Compiling ArgumentParser Errors.swift
[199/315] Compiling ArgumentParser Flag.swift
[200/315] Compiling ArgumentParser CommandConfiguration.swift
[201/315] Compiling ArgumentParser CommandGroup.swift
[202/315] Compiling ArgumentParser EnumerableFlag.swift
[203/315] Compiling ArgumentParser ExpressibleByArgument.swift
[204/319] Emitting module ArgumentParser
[210/323] Compiling ArgumentParser Argument.swift
[211/323] Compiling ArgumentParser InputOrigin.swift
[212/323] Compiling ArgumentParser Name.swift
[219/323] Compiling ArgumentParser Platform.swift
[220/323] Compiling ArgumentParser SequenceExtensions.swift
[221/323] Compiling ArgumentParser StringExtensions.swift
[222/323] Compiling ArgumentParser Tree.swift
[227/323] Compiling ArgumentParser ArgumentDefinition.swift
[228/323] Compiling ArgumentParser ArgumentSet.swift
[229/323] Compiling ArgumentParser CommandParser.swift
[230/323] Compiling ArgumentParser InputKey.swift
[231/323] Compiling TextTable PsqlFormat.swift
[232/323] Compiling TextTable RstFormat.swift
[233/323] Compiling TextTable String+Util.swift
[235/325] Compiling ArgumentParser DumpHelpGenerator.swift
[236/325] Compiling ArgumentParser HelpCommand.swift
[237/325] Compiling TextTable SimpleFormat.swift
[238/325] Compiling TextTable RstFormat.swift
[239/325] Compiling TextTable PsqlFormat.swift
[240/325] Compiling TextTable SimpleFormat.swift
[241/325] Compiling TextTable PlainFormat.swift
[243/325] Compiling TextTable PipeFormat.swift
[244/325] Compiling ArgumentParser ParserError.swift
[245/325] Compiling ArgumentParser SplitArguments.swift
[246/325] Emitting module TextTable
[247/325] Compiling TextTable OrgFormat.swift
[248/325] Compiling TextTable PipeFormat.swift
[253/325] Emitting module TextTable
[254/325] Compiling TextTable OrgFormat.swift
[267/325] Compiling ArgumentParser ParsableArguments.swift
[268/325] Compiling ArgumentParser ParsableArgumentsValidation.swift
[269/325] Compiling ArgumentParser ParsableCommand.swift
[270/325] Compiling ArgumentParser ArgumentDecoder.swift
[277/325] Compiling ArgumentParser NameSpecification.swift
[278/325] Compiling ArgumentParser Option.swift
[279/325] Compiling ArgumentParser OptionGroup.swift
[280/325] Compiling ArgumentParser AsyncParsableCommand.swift
[281/325] Compiling ArgumentParser HelpGenerator.swift
[282/325] Compiling ArgumentParser MessageInfo.swift
[283/325] Compiling ArgumentParser UsageGenerator.swift
[284/325] Compiling ArgumentParser CollectionExtensions.swift
[305/325] Compiling Histogram Histogram.swift
[306/325] Emitting module Histogram
[307/325] Compiling TextTable TextTable.swift
[309/325] Compiling Histogram Histogram.swift
[310/325] Emitting module Histogram
[311/387] Emitting module BenchmarkBoilerplateGenerator
[312/387] Compiling BenchmarkHelpGenerator BenchmarkHelpGenerator.swift
/Users/admin/builder/spi-builder-workspace/Plugins/BenchmarkHelpGenerator/BenchmarkHelpGenerator.swift:56:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | @main
55 | struct Benchmark: AsyncParsableCommand {
56 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | abstract: "Run benchmarks or update, compare or check performance baselines",
58 | usage: """
[313/387] Emitting module BenchmarkBoilerplateGenerator
[314/387] Compiling Benchmark OperatingSystemStatsProducer+Linux.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:66:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | let configuration: [ProgressElementType]?
65 |
66 | public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | var printer: ProgressBarPrinter
[315/387] Compiling Benchmark OutputSuppressor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:66:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | let configuration: [ProgressElementType]?
65 |
66 | public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | var printer: ProgressBarPrinter
[316/387] Compiling Benchmark Progress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:66:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | let configuration: [ProgressElementType]?
65 |
66 | public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | var printer: ProgressBarPrinter
[317/390] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[317/390] Write Objects.LinkFileList
[319/390] Compiling Benchmark Benchmark.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static func hook() {
[320/390] Compiling Benchmark BenchmarkClock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static func hook() {
[321/390] Compiling Benchmark BenchmarkExecutor+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static func hook() {
[322/393] Emitting module BenchmarkHelpGenerator
/Users/admin/builder/spi-builder-workspace/Plugins/BenchmarkHelpGenerator/BenchmarkHelpGenerator.swift:56:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | @main
55 | struct Benchmark: AsyncParsableCommand {
56 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | abstract: "Run benchmarks or update, compare or check performance baselines",
58 | usage: """
[322/393] Write Objects.LinkFileList
[324/393] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[324/393] Write Objects.LinkFileList
[329/393] Compiling Benchmark ARCStats.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:66:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | let configuration: [ProgressElementType]?
65 |
66 | public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | var printer: ProgressBarPrinter
[330/393] Compiling Benchmark ARCStatsProducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:66:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | let configuration: [ProgressElementType]?
65 |
66 | public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | var printer: ProgressBarPrinter
[331/393] Compiling Benchmark Benchmark+ConvenienceInitializers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:66:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | let configuration: [ProgressElementType]?
65 |
66 | public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | var printer: ProgressBarPrinter
[332/393] Emitting module Benchmark
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | @_documentation(visibility: internal)
37 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
38 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
42 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | @_documentation(visibility: internal)
45 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
46 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | @_documentation(visibility: internal)
49 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
50 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// such comparisons by e.g. reading them in from external storage.
105 | @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 | public static var checkAbsoluteThresholds = false
| |- warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | @_documentation(visibility: internal)
109 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 | skip: false,
182 | thresholds: nil), lock: configurationLock)
183 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
196 | #endif
197 |
198 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @_documentation(visibility: internal)
39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
40 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:66:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | let configuration: [ProgressElementType]?
65 |
66 | public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | var printer: ProgressBarPrinter
[332/393] Linking BenchmarkHelpGenerator
[333/393] Applying BenchmarkHelpGenerator
[335/393] Emitting module Benchmark
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | @_documentation(visibility: internal)
37 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
38 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
42 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | @_documentation(visibility: internal)
45 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
46 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | @_documentation(visibility: internal)
49 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
50 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// such comparisons by e.g. reading them in from external storage.
105 | @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 | public static var checkAbsoluteThresholds = false
| |- warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | @_documentation(visibility: internal)
109 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 | skip: false,
182 | thresholds: nil), lock: configurationLock)
183 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
196 | #endif
197 |
198 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @_documentation(visibility: internal)
39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
40 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Progress/Progress.swift:66:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | let configuration: [ProgressElementType]?
65 |
66 | public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
| |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 |
68 | var printer: ProgressBarPrinter
[335/393] Linking BenchmarkBoilerplateGenerator
[337/393] Compiling Benchmark BenchmarkExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | @_documentation(visibility: internal)
37 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
38 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
42 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | @_documentation(visibility: internal)
45 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
46 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | @_documentation(visibility: internal)
49 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
50 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// such comparisons by e.g. reading them in from external storage.
105 | @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 | public static var checkAbsoluteThresholds = false
| |- warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | @_documentation(visibility: internal)
109 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 | skip: false,
182 | thresholds: nil), lock: configurationLock)
183 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
196 | #endif
197 |
198 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
[338/393] Compiling Benchmark BenchmarkInternals.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | @_documentation(visibility: internal)
37 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
38 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
42 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | @_documentation(visibility: internal)
45 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
46 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | @_documentation(visibility: internal)
49 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
50 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// such comparisons by e.g. reading them in from external storage.
105 | @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 | public static var checkAbsoluteThresholds = false
| |- warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | @_documentation(visibility: internal)
109 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 | skip: false,
182 | thresholds: nil), lock: configurationLock)
183 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
196 | #endif
197 |
198 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
[339/393] Compiling Benchmark BenchmarkMetric+Defaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | @_documentation(visibility: internal)
37 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
38 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
42 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | @_documentation(visibility: internal)
45 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
46 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | @_documentation(visibility: internal)
49 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
50 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// such comparisons by e.g. reading them in from external storage.
105 | @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 | public static var checkAbsoluteThresholds = false
| |- warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | @_documentation(visibility: internal)
109 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 | skip: false,
182 | thresholds: nil), lock: configurationLock)
183 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
196 | #endif
197 |
198 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
[339/393] Applying BenchmarkBoilerplateGenerator
[340/393] Linking BenchmarkBoilerplateGenerator-tool
[341/393] Applying BenchmarkBoilerplateGenerator-tool
[343/393] Compiling Benchmark lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @_documentation(visibility: internal)
39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
40 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
87 | do {
88 | var command = Self.parseOrExit()
89 | Benchmark.checkAbsoluteThresholds = command.checkAbsolute
| `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
90 | registerBenchmarks()
91 | try await command.run()
[344/393] Compiling Benchmark OperatingSystemStats.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @_documentation(visibility: internal)
39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
40 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
87 | do {
88 | var command = Self.parseOrExit()
89 | Benchmark.checkAbsoluteThresholds = command.checkAbsolute
| `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
90 | registerBenchmarks()
91 | try await command.run()
[345/393] Compiling Benchmark OperatingSystemStatsProducer+Darwin.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @_documentation(visibility: internal)
39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
40 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
87 | do {
88 | var command = Self.parseOrExit()
89 | Benchmark.checkAbsoluteThresholds = command.checkAbsolute
| `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
90 | registerBenchmarks()
91 | try await command.run()
[346/393] Compiling Benchmark MallocStats.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:100:21: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
98 |
99 | DispatchQueue.global(qos: .userInitiated).async {
100 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
101 | let rate = self.sampleRate
102 | self.peakThreads = 0
[347/393] Compiling Benchmark MallocStatsProducer+jemalloc.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:100:21: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
98 |
99 | DispatchQueue.global(qos: .userInitiated).async {
100 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
101 | let rate = self.sampleRate
102 | self.peakThreads = 0
[348/393] Compiling Benchmark NIOLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:100:21: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
98 |
99 | DispatchQueue.global(qos: .userInitiated).async {
100 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
101 | let rate = self.sampleRate
102 | self.peakThreads = 0
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:100:21: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
98 |
99 | DispatchQueue.global(qos: .userInitiated).async {
100 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
101 | let rate = self.sampleRate
102 | self.peakThreads = 0
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:100:21: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
98 |
99 | DispatchQueue.global(qos: .userInitiated).async {
100 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
101 | let rate = self.sampleRate
102 | self.peakThreads = 0
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift:100:21: warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
15 | import Dispatch
16 |
17 | final class OperatingSystemStatsProducer {
| `- note: class 'OperatingSystemStatsProducer' does not conform to the 'Sendable' protocol
18 | var nsPerMachTick: Double
19 | var nsPerSchedulerTick: Int
:
98 |
99 | DispatchQueue.global(qos: .userInitiated).async {
100 | self.lock.lock()
| `- warning: capture of 'self' with non-sendable type 'OperatingSystemStatsProducer' in a '@Sendable' closure
101 | let rate = self.sampleRate
102 | self.peakThreads = 0
[355/393] Compiling Benchmark ProgressElements.swift
[356/393] Compiling Benchmark Utilities.swift
[357/393] Compiling Benchmark Statistics.swift
[361/393] Compiling Benchmark BenchmarkRunner.swift
[362/393] Compiling Benchmark BenchmarkThresholds+Defaults.swift
[363/393] Compiling Benchmark BenchmarkThresholds.swift
[364/393] Compiling Benchmark Blackhole.swift
[365/393] Compiling Benchmark Int+Extensions.swift
[366/393] Compiling Benchmark MallocStats+jemalloc-support.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | @_documentation(visibility: internal)
37 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
38 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
42 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | @_documentation(visibility: internal)
45 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
46 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | @_documentation(visibility: internal)
49 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
50 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// such comparisons by e.g. reading them in from external storage.
105 | @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 | public static var checkAbsoluteThresholds = false
| |- warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | @_documentation(visibility: internal)
109 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 | skip: false,
182 | thresholds: nil), lock: configurationLock)
183 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
196 | #endif
197 |
198 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | @_documentation(visibility: internal)
37 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
38 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
42 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | @_documentation(visibility: internal)
45 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
46 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | @_documentation(visibility: internal)
49 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
50 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// such comparisons by e.g. reading them in from external storage.
105 | @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 | public static var checkAbsoluteThresholds = false
| |- warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | @_documentation(visibility: internal)
109 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 | skip: false,
182 | thresholds: nil), lock: configurationLock)
183 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
196 | #endif
197 |
198 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:38:23: warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 | @_documentation(visibility: internal)
37 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
38 | public static var _startupHook: BenchmarkSetupHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_startupHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_startupHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_startupHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:42:23: warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | @_documentation(visibility: internal)
41 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
42 | public static var _shutdownHook: BenchmarkTeardownHook? // Should be removed when going to 2.0, just kept for API compatiblity
| |- warning: static property '_shutdownHook' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_shutdownHook' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_shutdownHook' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:46:23: warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | @_documentation(visibility: internal)
45 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
46 | public static var _setup: BenchmarkSetupHook?
| |- warning: static property '_setup' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_setup' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_setup' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:50:23: warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 | @_documentation(visibility: internal)
49 | @ThreadSafeProperty(wrappedValue: nil, lock: setupTeardownLock)
50 | public static var _teardown: BenchmarkTeardownHook?
| |- warning: static property '_teardown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_teardown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_teardown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 |
52 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:106:23: warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// such comparisons by e.g. reading them in from external storage.
105 | @available(*, deprecated, message: "The checking of absolute thresholds should now be done using `swift package benchmark thresholds`")
106 | public static var checkAbsoluteThresholds = false
| |- warning: static property 'checkAbsoluteThresholds' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'checkAbsoluteThresholds' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'checkAbsoluteThresholds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 |
108 | @_documentation(visibility: internal)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:109:23: warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
107 |
108 | @_documentation(visibility: internal)
109 | public static var benchmarks: [Benchmark] = [] // Bookkeeping of all registered benchmarks
| |- warning: static property 'benchmarks' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'benchmarks' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'benchmarks' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
110 |
111 | /// The name of the benchmark without any of the tags appended
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:183:24: warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 | skip: false,
182 | thresholds: nil), lock: configurationLock)
183 | private static var _defaultConfiguration: Configuration
| |- warning: static property '_defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_defaultConfiguration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | #if swift(<5.10)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:198:16: warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
196 | #endif
197 |
198 | static var testSkipBenchmarkRegistrations = false // true in test to avoid bench registration fail
| |- warning: static property 'testSkipBenchmarkRegistrations' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testSkipBenchmarkRegistrations' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testSkipBenchmarkRegistrations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | var measurementCompleted = false // Keep track so we skip multiple 'end of measurement'
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in a '@Sendable' closure
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:407:17: warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
14 |
15 | /// Defines a benchmark
16 | public final class Benchmark: Codable, Hashable { // swiftlint:disable:this type_body_length
| `- note: class 'Benchmark' does not conform to the 'Sendable' protocol
17 | @_documentation(visibility: internal)
18 | public typealias BenchmarkClosure = (_ benchmark: Benchmark) -> Void
:
405 | DispatchQueue.global(qos: .userInitiated).async {
406 | Task {
407 | self._startMeasurement(false)
| `- warning: capture of 'self' with non-sendable type 'Benchmark' in an isolated closure; this is an error in the Swift 6 language mode
408 | await asyncClosure(self)
409 | self._stopMeasurement(false)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/Benchmark.swift:408:23: warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
406 | Task {
407 | self._startMeasurement(false)
408 | await asyncClosure(self)
| |- warning: capture of 'asyncClosure' with non-sendable type 'Benchmark.BenchmarkAsyncClosure' (aka '(Benchmark) async -> ()') in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
409 | self._stopMeasurement(false)
410 |
[373/393] Compiling Benchmark BenchmarkMetric.swift
[374/393] Compiling Benchmark BenchmarkResult.swift
[375/393] Compiling Benchmark BenchmarkRunner+ReadWrite.swift
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @_documentation(visibility: internal)
39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
40 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
87 | do {
88 | var command = Self.parseOrExit()
89 | Benchmark.checkAbsoluteThresholds = command.checkAbsolute
| `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
90 | registerBenchmarks()
91 | try await command.run()
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @_documentation(visibility: internal)
39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
40 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
87 | do {
88 | var command = Self.parseOrExit()
89 | Benchmark.checkAbsoluteThresholds = command.checkAbsolute
| `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
90 | registerBenchmarks()
91 | try await command.run()
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:40:16: warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @_documentation(visibility: internal)
39 | public struct BenchmarkRunner: AsyncParsableCommand, BenchmarkRunnerReadWrite {
40 | static var testReadWrite: BenchmarkRunnerReadWrite?
| |- warning: static property 'testReadWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'testReadWrite' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'testReadWrite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/BenchmarkRunner.swift:89:23: warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
87 | do {
88 | var command = Self.parseOrExit()
89 | Benchmark.checkAbsoluteThresholds = command.checkAbsolute
| `- warning: 'checkAbsoluteThresholds' is deprecated: The checking of absolute thresholds should now be done using `swift package benchmark thresholds`
90 | registerBenchmarks()
91 | try await command.run()
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static func hook() {
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:19:16: warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | typealias SwiftRuntimeHook = @convention(c) (UnsafeRawPointer?, UnsafeMutableRawPointer?) -> Void
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'allocCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allocCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allocCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:20:16: warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'retainCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'retainCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'retainCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Benchmark/ARCStats/ARCStatsProducer.swift:21:16: warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | static var allocCount: UnsafeAtomic<Int> = .create(0)
20 | static var retainCount: UnsafeAtomic<Int> = .create(0)
21 | static var releaseCount: UnsafeAtomic<Int> = .create(0)
| |- warning: static property 'releaseCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'releaseCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'releaseCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static func hook() {
[388/425] Compiling BenchmarkTool FilePath+DirectoryView.swift
[389/425] Compiling BenchmarkTool FilePath+Additions.swift
[391/426] Compiling BenchmarkTool FilePath+DirectoryView.swift
[392/427] Compiling BenchmarkTool String+Additions.swift
[394/427] Compiling BenchmarkTool BenchmarkTool.swift
/Users/admin/builder/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
42 |
43 | fileprivate var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @main
/Users/admin/builder/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
42 |
43 | fileprivate var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @main
[396/427] Compiling BenchmarkTool BenchmarkTool+ReadP90AbsoluteThresholds.swift
[397/427] Compiling BenchmarkTool BenchmarkTool+Thresholds.swift
[398/427] Compiling BenchmarkTool BenchmarkTool+Export+InfluxCSVFormatter.swift
[399/427] Compiling BenchmarkTool BenchmarkTool+Export+JMHElement.swift
[402/427] Compiling BenchmarkTool BenchmarkTool+Export+JMHFormatter.swift
[403/427] Compiling BenchmarkTool BenchmarkTool+Export+InfluxCSVFormatter.swift
[404/427] Compiling BenchmarkTool BenchmarkTool+Export+JMHElement.swift
[405/427] Compiling BenchmarkTool BenchmarkTool+Export.swift
[406/427] Compiling BenchmarkTool BenchmarkTool+Export+JMHFormatter.swift
[407/427] Compiling BenchmarkTool BenchmarkTool+Export.swift
[409/427] Compiling BenchmarkTool BenchmarkTool+Operations.swift
[411/427] Compiling BenchmarkTool BenchmarkTool+PrettyPrinting.swift
[412/427] Emitting module BenchmarkTool
/Users/admin/builder/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
42 |
43 | fileprivate var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @main
/Users/admin/builder/spi-builder-workspace/Plugins/BenchmarkTool/BenchmarkTool.swift:43:17: warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | typealias BenchmarkResults = [BenchmarkIdentifier: [BenchmarkResult]]
42 |
43 | fileprivate var failedBenchmarkRuns = 0
| |- warning: var 'failedBenchmarkRuns' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedBenchmarkRuns' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'failedBenchmarkRuns' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | @main
[421/427] Write Objects.LinkFileList
[423/427] Linking BenchmarkTool
[424/427] Linking BenchmarkTool-tool
[425/427] Applying BenchmarkTool
[426/427] Applying BenchmarkTool-tool
Build complete! (20.74s)
warning: 'spi-builder-workspace': Building for SPI@macOS, disabling Jemalloc
Build complete.
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "texttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/TextTable.git"
},
{
"identity" : "hdrhistogram-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/HdrHistogram/hdrhistogram-swift.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "package-jemalloc",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ordo-one/package-jemalloc.git"
}
],
"manifest_display_name" : "Benchmark",
"name" : "Benchmark",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "BenchmarkCommandPlugin",
"targets" : [
"BenchmarkCommandPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "BenchmarkPlugin",
"targets" : [
"BenchmarkPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "Benchmark",
"targets" : [
"Benchmark"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BenchmarkTool",
"targets" : [
"BenchmarkTool"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkHelpGenerator",
"targets" : [
"BenchmarkHelpGenerator"
],
"type" : {
"executable" : null
}
},
{
"name" : "BenchmarkBoilerplateGenerator",
"targets" : [
"BenchmarkBoilerplateGenerator"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftRuntimeHooks",
"module_type" : "ClangTarget",
"name" : "SwiftRuntimeHooks",
"path" : "Sources/SwiftRuntimeHooks",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"shims.c"
],
"type" : "library"
},
{
"c99name" : "CLinuxOperatingSystemStats",
"module_type" : "ClangTarget",
"name" : "CLinuxOperatingSystemStats",
"path" : "Platform/CLinuxOperatingSystemStats",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"CLinuxOperatingSystemStats.c"
],
"type" : "library"
},
{
"c99name" : "CDarwinOperatingSystemStats",
"module_type" : "ClangTarget",
"name" : "CDarwinOperatingSystemStats",
"path" : "Platform/CDarwinOperatingSystemStats",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"CDarwinOperatingSystemStats.c"
],
"type" : "library"
},
{
"c99name" : "BenchmarkTool",
"module_type" : "SwiftTarget",
"name" : "BenchmarkTool",
"path" : "Plugins/BenchmarkTool",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage",
"TextTable"
],
"product_memberships" : [
"BenchmarkCommandPlugin",
"BenchmarkTool"
],
"sources" : [
"BenchmarkTool+Baselines.swift",
"BenchmarkTool+CreateBenchmark.swift",
"BenchmarkTool+Export+InfluxCSVFormatter.swift",
"BenchmarkTool+Export+JMHElement.swift",
"BenchmarkTool+Export+JMHFormatter.swift",
"BenchmarkTool+Export.swift",
"BenchmarkTool+JSON.swift",
"BenchmarkTool+Machine.swift",
"BenchmarkTool+Operations.swift",
"BenchmarkTool+PrettyPrinting.swift",
"BenchmarkTool+ReadP90AbsoluteThresholds.swift",
"BenchmarkTool+Thresholds.swift",
"BenchmarkTool.swift",
"FilePath+Additions.swift",
"FilePath+DirectoryView.swift",
"String+Additions.swift"
],
"target_dependencies" : [
"Benchmark",
"BenchmarkShared"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkTests",
"module_type" : "SwiftTarget",
"name" : "BenchmarkTests",
"path" : "Tests/BenchmarkTests",
"sources" : [
"AdditionalTests.swift",
"BenchmarkMetricsTests.swift",
"BenchmarkResultTests.swift",
"BenchmarkRunnerTests.swift",
"BenchmarkTests.swift",
"OperatingSystemAndMallocTests.swift",
"StatisticsTests.swift"
],
"target_dependencies" : [
"Benchmark"
],
"type" : "test"
},
{
"c99name" : "BenchmarkShared",
"module_type" : "SwiftTarget",
"name" : "BenchmarkShared",
"path" : "Sources/BenchmarkShared",
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool",
"BenchmarkHelpGenerator"
],
"sources" : [
"Command+Helpers.swift"
],
"type" : "library"
},
{
"c99name" : "BenchmarkPlugin",
"module_type" : "PluginTarget",
"name" : "BenchmarkPlugin",
"path" : "Plugins/BenchmarkPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"BenchmarkPlugin"
],
"sources" : [
"BenchmarkSupportPlugin.swift"
],
"target_dependencies" : [
"BenchmarkBoilerplateGenerator"
],
"type" : "plugin"
},
{
"c99name" : "BenchmarkHelpGenerator",
"module_type" : "SwiftTarget",
"name" : "BenchmarkHelpGenerator",
"path" : "Plugins/BenchmarkHelpGenerator",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"BenchmarkHelpGenerator"
],
"sources" : [
"BenchmarkHelpGenerator.swift"
],
"target_dependencies" : [
"BenchmarkShared"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkCommandPlugin",
"module_type" : "PluginTarget",
"name" : "BenchmarkCommandPlugin",
"path" : "Plugins/BenchmarkCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Run the Benchmark performance test suite.",
"type" : "custom",
"verb" : "benchmark"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"BenchmarkCommandPlugin"
],
"sources" : [
"ArgumentExtractor+Extensions.swift",
"BenchmarkCommandPlugin.swift",
"BenchmarkPlugin+Help.swift",
"Command+Helpers.swift"
],
"target_dependencies" : [
"BenchmarkTool"
],
"type" : "plugin"
},
{
"c99name" : "BenchmarkBoilerplateGenerator",
"module_type" : "SwiftTarget",
"name" : "BenchmarkBoilerplateGenerator",
"path" : "Plugins/BenchmarkBoilerplateGenerator",
"product_dependencies" : [
"ArgumentParser",
"SystemPackage"
],
"product_memberships" : [
"BenchmarkPlugin",
"BenchmarkBoilerplateGenerator"
],
"sources" : [
"BenchmarkBoilerplateGenerator.swift"
],
"type" : "executable"
},
{
"c99name" : "Benchmark",
"module_type" : "SwiftTarget",
"name" : "Benchmark",
"path" : "Sources/Benchmark",
"product_dependencies" : [
"Histogram",
"ArgumentParser",
"SystemPackage",
"Atomics",
"jemalloc"
],
"product_memberships" : [
"BenchmarkCommandPlugin",
"Benchmark",
"BenchmarkTool"
],
"sources" : [
"ARCStats/ARCStats.swift",
"ARCStats/ARCStatsProducer.swift",
"Benchmark+ConvenienceInitializers.swift",
"Benchmark.swift",
"BenchmarkClock.swift",
"BenchmarkExecutor+Extensions.swift",
"BenchmarkExecutor.swift",
"BenchmarkInternals.swift",
"BenchmarkMetric+Defaults.swift",
"BenchmarkMetric.swift",
"BenchmarkResult.swift",
"BenchmarkRunner+ReadWrite.swift",
"BenchmarkRunner.swift",
"BenchmarkThresholds+Defaults.swift",
"BenchmarkThresholds.swift",
"Blackhole.swift",
"Int+Extensions.swift",
"MallocStats/MallocStats+jemalloc-support.swift",
"MallocStats/MallocStats.swift",
"MallocStats/MallocStatsProducer+jemalloc.swift",
"NIOConcurrencyHelpers/NIOLock.swift",
"NIOConcurrencyHelpers/lock.swift",
"OperatingSystemStats/OperatingSystemStats.swift",
"OperatingSystemStats/OperatingSystemStatsProducer+Darwin.swift",
"OperatingSystemStats/OperatingSystemStatsProducer+Linux.swift",
"OutputSuppressor.swift",
"Progress/Progress.swift",
"Progress/ProgressElements.swift",
"Progress/Utilities.swift",
"Statistics.swift"
],
"target_dependencies" : [
"CDarwinOperatingSystemStats",
"CLinuxOperatingSystemStats",
"SwiftRuntimeHooks",
"BenchmarkShared"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.