Build Information
Successful build of Benchmark, reference 1.29.3 (5c4569
), with Swift 6.1 for macOS (SPM) on 3 May 2025 13:21:14 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: 1.29.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ordo-one/package-benchmark
* tag 1.29.3 -> FETCH_HEAD
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 1.29.3
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-numerics from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/203] Fetching texttable
[204/238] Fetching texttable, package-jemalloc
Fetched https://github.com/ordo-one/TextTable.git from cache (0.66s)
[1/602] Fetching hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.90s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.90s)
Fetched https://github.com/apple/swift-numerics from cache (0.90s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.90s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.90s)
Fetched https://github.com/apple/swift-system.git from cache (0.91s)
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.53s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.3 (0.57s)
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.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.56s)
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-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/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
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
========================================
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.05s)
Fetching https://github.com/ordo-one/package-jemalloc.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/ordo-one/TextTable.git from cache
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git from cache
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.53s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.59s)
Fetched https://github.com/ordo-one/TextTable.git from cache (0.59s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.60s)
Fetched https://github.com/apple/swift-system.git from cache (0.61s)
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.50s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.56s)
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.02s)
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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.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/ordo-one/package-benchmark.git
Working copy of https://github.com/ordo-one/package-benchmark.git resolved at 1.29.3 (5c4569a)
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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.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
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
[16/61] Compiling CSystem shims.c
[16/61] Compiling CDarwinOperatingSystemStats CDarwinOperatingSystemStats.c
[19/61] Write sources
[20/61] Write BenchmarkTool-tool-entitlement.plist
[20/61] Write BenchmarkTool-entitlement.plist
[22/61] Write sources
[25/61] Write BenchmarkHelpGenerator-entitlement.plist
[26/61] Write sources
[28/61] Write BenchmarkBoilerplateGenerator-entitlement.plist
[29/61] Write BenchmarkBoilerplateGenerator-tool-entitlement.plist
[29/61] Write sources
[38/61] Compiling _NumericsShims _NumericsShims.c
[40/61] Compiling CSystem shims.c
[41/61] Write swift-version-2F0A5646E1D333AE.txt
[42/61] Compiling _AtomicsShims.c
[43/61] Compiling SwiftRuntimeHooks shims.c
[44/61] Compiling _AtomicsShims.c
[45/119] Compiling SwiftRuntimeHooks shims.c
[47/186] Compiling RealModule Real.swift
[48/187] Compiling RealModule Float80+Real.swift
[49/187] Compiling RealModule Float16+Real.swift
[50/187] Compiling RealModule Real.swift
[51/187] Compiling RealModule Float80+Real.swift
[52/188] Compiling RealModule ElementaryFunctions.swift
[53/188] Compiling RealModule Float+Real.swift
[54/188] Compiling RealModule RealFunctions.swift
[55/188] Compiling RealModule Float16+Real.swift
[56/188] Compiling RealModule RealFunctions.swift
[57/188] Compiling RealModule ElementaryFunctions.swift
[58/188] Compiling RealModule Float+Real.swift
[59/188] Compiling RealModule AugmentedArithmetic.swift
[60/188] Compiling RealModule AlgebraicField.swift
[61/188] Compiling RealModule Double+Real.swift
[62/188] Emitting module RealModule
[63/188] Compiling RealModule ApproximateEquality.swift
[64/188] Compiling RealModule AugmentedArithmetic.swift
[65/188] Emitting module RealModule
[66/188] Compiling RealModule ApproximateEquality.swift
[67/188] Compiling RealModule Double+Real.swift
[68/188] Compiling RealModule AlgebraicField.swift
[69/188] Compiling BenchmarkShared Command+Helpers.swift
[70/188] Emitting module BenchmarkShared
[72/188] Compiling BenchmarkShared Command+Helpers.swift
[73/219] Compiling Atomics AtomicBool.swift
[74/219] Compiling Atomics IntegerConformances.swift
[75/219] Compiling Atomics UnsafeAtomic.swift
[76/219] Compiling Atomics UnsafeAtomicLazyReference.swift
[77/221] Emitting module ArgumentParserToolInfo
[78/221] Compiling ArgumentParserToolInfo ToolInfo.swift
[79/221] Compiling Atomics AtomicMemoryOrderings.swift
[80/221] Compiling Atomics DoubleWord.swift
[81/221] Compiling Atomics AtomicStorage.swift
[82/221] Compiling Atomics AtomicValue.swift
[83/221] Compiling Atomics AtomicOptionalWrappable.swift
[84/221] Compiling Atomics AtomicReference.swift
[85/221] Compiling Atomics ManagedAtomic.swift
[86/221] Compiling Atomics ManagedAtomicLazyReference.swift
[87/221] Compiling Atomics OptionalRawRepresentable.swift
[88/221] Compiling Atomics RawRepresentable.swift
[89/221] Compiling Atomics PointerConformances.swift
[101/265] Emitting module SystemPackage
[102/265] Compiling ArgumentParser ParserError.swift
[103/265] Compiling ArgumentParser SplitArguments.swift
[106/265] Compiling ArgumentParser ParsableCommand.swift
[107/265] Compiling ArgumentParser ArgumentDecoder.swift
[108/265] Compiling ArgumentParser ArgumentDefinition.swift
[109/265] Compiling ArgumentParser ZshCompletionsGenerator.swift
[110/265] Compiling ArgumentParser Argument.swift
[111/265] Compiling ArgumentParser NameSpecification.swift
[112/265] Compiling ArgumentParser HelpCommand.swift
[113/265] Compiling ArgumentParser ParsableArguments.swift
[114/265] Compiling ArgumentParser ParsableArgumentsValidation.swift
[115/268] Compiling ArgumentParser FishCompletionsGenerator.swift
[117/268] Compiling ArgumentParser Option.swift
[118/268] Compiling ArgumentParser OptionGroup.swift
[119/268] Compiling ArgumentParser BashCompletionsGenerator.swift
[120/268] Compiling ArgumentParser CompletionsGenerator.swift
[121/268] Compiling ArgumentParser ExpressibleByArgument.swift
[122/268] Compiling ArgumentParser ArgumentHelp.swift
[123/268] Compiling ArgumentParser ArgumentVisibility.swift
[124/268] Compiling ArgumentParser CompletionKind.swift
[125/268] Compiling ArgumentParser Errors.swift
[126/268] Compiling ArgumentParser Flag.swift
[133/268] Compiling ArgumentParser DumpHelpGenerator.swift
[137/268] Emitting module SystemPackage
[140/268] Compiling ArgumentParser AsyncParsableCommand.swift
[141/268] Compiling ArgumentParser CommandConfiguration.swift
[142/268] Compiling ArgumentParser CommandGroup.swift
[143/268] Compiling ArgumentParser EnumerableFlag.swift
[150/268] Compiling ComplexModule Complex.swift
[151/268] Compiling ComplexModule Differentiable.swift
[152/268] Compiling ComplexModule Arithmetic.swift
[153/268] Compiling ComplexModule ElementaryFunctions.swift
[154/268] Emitting module ComplexModule
[164/268] Emitting module ArgumentParserToolInfo
[165/268] Compiling ArgumentParserToolInfo ToolInfo.swift
[172/268] Compiling ComplexModule ElementaryFunctions.swift
[173/268] Compiling ComplexModule Complex.swift
[174/268] Emitting module ComplexModule
[175/268] Compiling ComplexModule Differentiable.swift
[176/268] Compiling ComplexModule Arithmetic.swift
[177/268] Compiling SystemPackage Util+StringArray.swift
[178/268] Compiling SystemPackage Util.swift
[179/268] Compiling SystemPackage UtilConsumers.swift
[180/270] Emitting module Atomics
[184/311] Compiling Numerics Numerics.swift
[185/311] Emitting module Numerics
[186/311] Compiling Numerics Numerics.swift
[187/311] Emitting module Numerics
[188/313] Compiling ArgumentParser UsageGenerator.swift
[189/313] Compiling ArgumentParser CollectionExtensions.swift
[190/313] Compiling ArgumentParser BashCompletionsGenerator.swift
[191/313] Compiling ArgumentParser CompletionsGenerator.swift
[192/313] Compiling ArgumentParser FishCompletionsGenerator.swift
[193/313] Compiling ArgumentParser ZshCompletionsGenerator.swift
[194/315] Emitting module Atomics
[195/315] Emitting module ArgumentParser
[196/319] Compiling ArgumentParser InputOrigin.swift
[197/319] Compiling ArgumentParser Name.swift
[198/319] Compiling ArgumentParser Parsed.swift
[199/319] Compiling ArgumentParser ParsedValues.swift
[200/319] Emitting module ArgumentParser
[205/323] Compiling ArgumentParser Argument.swift
[206/323] Compiling ArgumentParser Platform.swift
[207/323] Compiling ArgumentParser SequenceExtensions.swift
[208/323] Compiling ArgumentParser StringExtensions.swift
[209/323] Compiling ArgumentParser Tree.swift
[210/323] Compiling ArgumentParser ArgumentDefinition.swift
[211/323] Compiling ArgumentParser ArgumentSet.swift
[212/323] Compiling ArgumentParser CommandParser.swift
[213/323] Compiling ArgumentParser InputKey.swift
[214/323] Compiling ArgumentParser ParsableArguments.swift
[215/323] Compiling ArgumentParser ParsableArgumentsValidation.swift
[216/323] Compiling ArgumentParser ParsableCommand.swift
[217/323] Compiling ArgumentParser ArgumentDecoder.swift
[218/323] Compiling ArgumentParser NameSpecification.swift
[219/323] Compiling ArgumentParser Option.swift
[220/323] Compiling ArgumentParser OptionGroup.swift
[221/323] Compiling ArgumentParser AsyncParsableCommand.swift
[222/323] Compiling ArgumentParser CommandConfiguration.swift
[223/323] Compiling ArgumentParser CommandGroup.swift
[224/323] Compiling ArgumentParser EnumerableFlag.swift
[225/323] Compiling ArgumentParser ExpressibleByArgument.swift
[230/323] Compiling TextTable String+Util.swift
[232/325] Compiling TextTable PsqlFormat.swift
[233/325] Compiling TextTable SimpleFormat.swift
[234/325] Emitting module Histogram
[235/325] Compiling Histogram Histogram.swift
[236/325] Compiling TextTable RstFormat.swift
[237/325] Compiling TextTable SimpleFormat.swift
[238/325] Compiling TextTable PipeFormat.swift
[239/325] Compiling TextTable PlainFormat.swift
[240/325] Compiling TextTable PsqlFormat.swift
[241/325] Compiling TextTable RstFormat.swift
[242/325] Compiling TextTable PipeFormat.swift
[243/325] Compiling TextTable OrgFormat.swift
[246/325] Compiling TextTable PlainFormat.swift
[247/325] Emitting module TextTable
[250/325] Compiling TextTable OrgFormat.swift
[251/325] Emitting module TextTable
[256/325] Compiling ArgumentParser ArgumentHelp.swift
[257/325] Compiling ArgumentParser ArgumentVisibility.swift
[258/325] Compiling ArgumentParser CompletionKind.swift
[259/325] Compiling ArgumentParser Errors.swift
[260/325] Compiling ArgumentParser ParserError.swift
[261/325] Compiling ArgumentParser SplitArguments.swift
[262/325] Compiling ArgumentParser DumpHelpGenerator.swift
[263/325] Compiling ArgumentParser HelpCommand.swift
[264/325] Compiling Histogram Histogram.swift
[265/325] Emitting module Histogram
[283/325] Compiling ArgumentParser Flag.swift
[286/325] Compiling ArgumentParser HelpGenerator.swift
[287/325] Compiling ArgumentParser MessageInfo.swift
[309/325] Compiling TextTable TextTable.swift
[311/387] Emitting module BenchmarkBoilerplateGenerator
[312/387] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[313/387] Emitting module BenchmarkBoilerplateGenerator
[313/387] Write Objects.LinkFileList
[315/387] Compiling BenchmarkBoilerplateGenerator BenchmarkBoilerplateGenerator.swift
[315/387] Write Objects.LinkFileList
[317/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
[318/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
[319/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
[320/390] Compiling Benchmark BenchmarkMetric.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
[321/390] Compiling Benchmark BenchmarkResult.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
[322/390] Compiling Benchmark BenchmarkRunner+ReadWrite.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
[323/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: """
[324/393] 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: """
[324/393] Write Objects.LinkFileList
[325/393] Linking BenchmarkBoilerplateGenerator-tool
[326/393] Applying BenchmarkBoilerplateGenerator-tool
[327/393] Linking BenchmarkBoilerplateGenerator
[328/393] Applying BenchmarkBoilerplateGenerator
[330/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
/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
[331/393] Linking BenchmarkHelpGenerator
[332/393] Applying BenchmarkHelpGenerator
[334/393] Compiling Benchmark ARCStats.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() {
[335/393] Compiling Benchmark ARCStatsProducer.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() {
[336/393] Compiling Benchmark Benchmark+ConvenienceInitializers.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() {
[337/393] Compiling Benchmark Benchmark.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 BenchmarkClock.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 BenchmarkExecutor+Extensions.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/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()
[343/393] Compiling Benchmark lock.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() {
[344/393] Compiling Benchmark OperatingSystemStats.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() {
[345/393] Compiling Benchmark OperatingSystemStatsProducer+Darwin.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() {
[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 BenchmarkExecutor.swift
[356/393] Compiling Benchmark BenchmarkInternals.swift
[357/393] Compiling Benchmark BenchmarkMetric+Defaults.swift
[358/393] Compiling Benchmark ProgressElements.swift
[359/393] Compiling Benchmark Utilities.swift
[360/393] Compiling Benchmark Statistics.swift
[367/393] Compiling Benchmark BenchmarkRunner.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()
[368/393] Compiling Benchmark BenchmarkThresholds+Defaults.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()
[369/393] Compiling Benchmark BenchmarkThresholds.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()
[370/393] Compiling Benchmark Blackhole.swift
[371/393] Compiling Benchmark Int+Extensions.swift
[372/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 |
[388/425] Compiling BenchmarkTool FilePath+Additions.swift
[389/425] Compiling BenchmarkTool FilePath+DirectoryView.swift
[391/426] Compiling BenchmarkTool FilePath+Additions.swift
[392/427] Compiling BenchmarkTool String+Additions.swift
[394/427] Compiling BenchmarkTool BenchmarkTool+Export+InfluxCSVFormatter.swift
[395/427] Compiling BenchmarkTool BenchmarkTool+Export+JMHElement.swift
[396/427] Compiling BenchmarkTool BenchmarkTool+Baselines.swift
[397/427] Compiling BenchmarkTool BenchmarkTool+CreateBenchmark.swift
[398/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
[399/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
[400/427] Compiling BenchmarkTool BenchmarkTool+JSON.swift
[401/427] Compiling BenchmarkTool BenchmarkTool+Machine.swift
[402/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
[403/427] Compiling BenchmarkTool BenchmarkTool+ReadP90AbsoluteThresholds.swift
[404/427] Compiling BenchmarkTool BenchmarkTool+Thresholds.swift
[405/427] Compiling BenchmarkTool BenchmarkTool+Export+JMHFormatter.swift
[406/427] Compiling BenchmarkTool BenchmarkTool+Export.swift
[409/427] Compiling BenchmarkTool BenchmarkTool+Export+JMHFormatter.swift
[410/427] Compiling BenchmarkTool BenchmarkTool+Export.swift
[415/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
[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! (21.11s)
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.