Build Information
Failed to build Benchmark, reference main (a0d252), with Swift 6.1 for Android on 27 Mar 2026 10:00:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-benchmark.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ordo-one/package-benchmark
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a0d2522 ci: 🔄 synced local '.github/workflows/' with remote 'workflows/swift'
Cloned https://github.com/ordo-one/package-benchmark.git
Revision (git rev-parse @):
a0d252259bf1a9ea1745150a4d1d09486fdc0854
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-benchmark.git at main
========================================
Build
========================================
Selected platform: android
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
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "1.6.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.4",
"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" : "/host/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+JSON.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" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/203] Fetching texttable
[204/17643] Fetching texttable, swift-argument-parser
[205/17678] Fetching texttable, swift-argument-parser, package-jemalloc
[763/19498] Fetching texttable, swift-argument-parser, package-jemalloc, swift-atomics
[5195/25099] Fetching texttable, swift-argument-parser, package-jemalloc, swift-atomics, swift-system
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.96s)
Fetched https://github.com/ordo-one/TextTable.git from cache (0.96s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.96s)
Fetched https://github.com/apple/swift-system.git from cache (0.96s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.97s)
[1/611] Fetching hdrhistogram-swift
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.22s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (3.46s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.4 (0.62s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.44s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (1.15s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.50s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.52s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.63s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
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/ordo-one/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
warning: couldn't find pc file for jemalloc
warning: couldn't find pc file for jemalloc
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:12:27: warning: 'directory' is deprecated: renamed to 'directoryURL'
10 | guard let target = target as? SwiftSourceModuleTarget else { return [] }
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
13 | guard path.lastComponent == "Benchmarks" else { return [] }
14 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:12:37: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
10 | guard let target = target as? SwiftSourceModuleTarget else { return [] }
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
13 | guard path.lastComponent == "Benchmarks" else { return [] }
14 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:13:20: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
13 | guard path.lastComponent == "Benchmarks" else { return [] }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
14 |
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:16:39: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
14 |
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
16 | let outputDirectory = context.pluginWorkDirectory
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:17:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
19 | let outputFiles: [Path] = [swiftFile]
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:57: warning: 'path' is deprecated: renamed to 'url'
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:62: warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| `- warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:91: warning: 'path' is deprecated: renamed to 'url'
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:23:35: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
21 | let commandArgs: [String] = [
22 | "--target", target.name,
23 | "--output", swiftFile.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
24 | ]
25 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:26:33: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
24 | ]
25 |
26 | let command: Command = .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
27 | displayName: "Generating plugin support files",
28 | executable: tool.path,
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:28:30: warning: 'path' is deprecated: renamed to 'url'
26 | let command: Command = .buildCommand(
27 | displayName: "Generating plugin support files",
28 | executable: tool.path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
29 | arguments: commandArgs,
30 | inputFiles: inputFiles,
[1/1] Compiling plugin BenchmarkPlugin
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:36:31: warning: 'directory' is deprecated: renamed to 'directoryURL'
34 |
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
37 | if path.lastComponent == "Benchmarks" {
38 | for specifiedTarget in specifiedTargets {
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:36:41: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
34 |
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
37 | if path.lastComponent == "Benchmarks" {
38 | for specifiedTarget in specifiedTargets {
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:37:21: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
37 | if path.lastComponent == "Benchmarks" {
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
38 | for specifiedTarget in specifiedTargets {
39 | let regex = try Regex(specifiedTarget)
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:159:56: warning: 'directory' is deprecated: renamed to 'directoryURL'
157 | benchmarkToolName,
158 | "--command", commandToPerform.rawValue,
159 | "--baseline-storage-path", context.package.directory.string,
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
160 | "--format", outputFormat.rawValue,
161 | "--grouping", grouping,
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:159:66: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
157 | benchmarkToolName,
158 | "--command", commandToPerform.rawValue,
159 | "--baseline-storage-path", context.package.directory.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
160 | "--format", outputFormat.rawValue,
161 | "--grouping", grouping,
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:399:42: warning: 'path' is deprecated: renamed to 'url'
397 |
398 | let tool = buildResult.builtArtifacts.first(where: {
399 | $0.kind == .executable && $0.path.lastComponent == benchmarkToolName
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
400 | })
401 |
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:399:47: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
397 |
398 | let tool = buildResult.builtArtifacts.first(where: {
399 | $0.kind == .executable && $0.path.lastComponent == benchmarkToolName
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
400 | })
401 |
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:406:30: warning: 'path' is deprecated: renamed to 'url'
404 | }
405 |
406 | benchmarkTool = tool.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
407 |
408 | let filteredTargets =
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:412:38: warning: 'directory' is deprecated: renamed to 'directoryURL'
410 | .filter { $0.kind == .executable }
411 | .filter { benchmark in
412 | let path = benchmark.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
413 | return path.lastComponent == "Benchmarks" ? true : false
414 | }
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:412:48: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
410 | .filter { $0.kind == .executable }
411 | .filter { benchmark in
412 | let path = benchmark.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
413 | return path.lastComponent == "Benchmarks" ? true : false
414 | }
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:413:29: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
411 | .filter { benchmark in
412 | let path = benchmark.directory.removingLastComponent()
413 | return path.lastComponent == "Benchmarks" ? true : false
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
414 | }
415 | .filter { benchmark in
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:462:77: warning: 'path' is deprecated: renamed to 'url'
460 | let benchmarks = buildResult.builtArtifacts
461 | .filter { benchmark in
462 | filteredTargets.first(where: { $0.name == benchmark.path.lastComponent }) != nil ? true : false
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
463 | }
464 |
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:462:82: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
460 | let benchmarks = buildResult.builtArtifacts
461 | .filter { benchmark in
462 | filteredTargets.first(where: { $0.name == benchmark.path.lastComponent }) != nil ? true : false
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
463 | }
464 |
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:470:88: warning: 'path' is deprecated: renamed to 'url'
468 |
469 | benchmarks.forEach { benchmark in
470 | args.append(contentsOf: ["--benchmark-executable-paths", benchmark.path.string])
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
471 | }
472 | }
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:470:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
468 |
469 | benchmarks.forEach { benchmark in
470 | args.append(contentsOf: ["--benchmark-executable-paths", benchmark.path.string])
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
471 | }
472 | }
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:480:45: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
478 | if debug > 0 {
479 | print("To debug, start \(benchmarkToolName) in LLDB using:")
480 | print("lldb \(benchmarkTool.string)")
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
481 | print("")
482 | print("Then launch \(benchmarkToolName) with:")
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:489:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
487 |
488 | var pid: pid_t = 0
489 | var status = posix_spawn(&pid, benchmarkTool.string, nil, nil, cArgs, environ)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
490 |
491 | if status == 0 {
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/77] Write sources
[20/77] Compiling _AtomicsShims.c
[21/77] Compiling _NumericsShims _NumericsShims.c
[22/77] Write sources
[26/77] Compiling _NumericsShims _NumericsShims.c
[26/77] Write sources
[33/77] Compiling SwiftRuntimeHooks shims.c
[34/77] Compiling CSystem shims.c
[35/77] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
[35/77] Compiling _AtomicsShims.c
[37/77] Compiling CSystem shims.c
[38/77] Compiling SwiftRuntimeHooks shims.c
[39/77] Write swift-version-24593BA9C3E375BF.txt
[41/176] Emitting module SystemPackage
[42/180] Emitting module Atomics
[43/182] Compiling RealModule RealFunctions.swift
[44/183] Compiling SystemPackage FileDescriptor.swift
[45/183] Compiling SystemPackage FileHelpers.swift
[46/183] Compiling Atomics IntegerOperations.swift
[47/183] Compiling Atomics Unmanaged extensions.swift
[48/183] Emitting module ArgumentParserToolInfo
[49/183] Compiling ArgumentParserToolInfo ToolInfo.swift
[50/184] Compiling RealModule Double+Real.swift
[51/184] Compiling TextTable PlainFormat.swift
[52/184] Compiling TextTable PsqlFormat.swift
[53/184] Compiling SystemPackage IORequest.swift
[55/184] Compiling SystemPackage FilePathSyntax.swift
[58/184] Compiling RealModule Real.swift
[60/184] Compiling SystemPackage FilePathTemp.swift
[61/184] Compiling SystemPackage FilePathTempPosix.swift
[62/184] Compiling SystemPackage FilePathTempWindows.swift
[63/184] Emitting module RealModule
[67/184] Compiling SystemPackage Errno.swift
[68/184] Compiling SystemPackage ErrnoWindows.swift
[69/184] Compiling SystemPackage SystemString.swift
[70/184] Compiling SystemPackage Util+StringArray.swift
[71/184] Compiling SystemPackage Util.swift
[72/184] Compiling SystemPackage UtilConsumers.swift
[73/184] Compiling RealModule AugmentedArithmetic.swift
[75/184] Compiling RealModule Float80+Real.swift
[76/184] Compiling RealModule Float16+Real.swift
[77/184] Compiling RealModule ElementaryFunctions.swift
[78/184] Compiling RealModule Float+Real.swift
[79/184] Compiling RealModule AlgebraicField.swift
[80/184] Compiling RealModule ApproximateEquality.swift
[81/184] Compiling RealModule RealFunctions.swift
[82/185] Compiling RealModule Float80+Real.swift
[83/185] Compiling RealModule Real.swift
[84/185] Compiling RealModule Float16+Real.swift
[90/185] Emitting module RealModule
[91/185] Emitting module ArgumentParserToolInfo
[92/185] Compiling ArgumentParserToolInfo ToolInfo.swift
[99/186] Compiling RealModule RelaxedArithmetic.swift
[112/253] Compiling Atomics ManagedAtomic.swift
[113/253] Compiling Atomics ManagedAtomicLazyReference.swift
[114/255] Compiling BenchmarkShared Command+Helpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[115/255] Emitting module BenchmarkShared
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[116/256] Compiling Atomics UnsafeAtomic.swift
[117/256] Compiling Atomics UnsafeAtomicLazyReference.swift
[118/256] Compiling Atomics AtomicMemoryOrderings.swift
[119/256] Compiling Atomics DoubleWord.swift
[120/256] Compiling Atomics AtomicStorage.swift
[121/256] Compiling Atomics AtomicValue.swift
[122/256] Compiling BenchmarkShared Command+Helpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[123/256] Emitting module BenchmarkShared
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[125/257] Compiling ComplexModule Polar.swift
[126/258] Compiling ComplexModule Complex+Hashable.swift
[127/258] Compiling ComplexModule Complex+IntegerLiteral.swift
[128/258] Compiling ComplexModule Complex+Numeric.swift
[130/258] Compiling ComplexModule Complex+StringConvertible.swift
[131/258] Compiling ComplexModule Complex.swift
[136/258] Compiling Atomics IntegerOperations.swift
[137/258] Compiling SystemPackage Syscalls.swift
[138/258] Compiling SystemPackage WindowsSyscallAdapters.swift
[139/258] Compiling SystemPackage MachPort.swift
[140/258] Compiling SystemPackage PlatformString.swift
[141/258] Compiling Atomics Unmanaged extensions.swift
[142/258] Compiling SystemPackage RawIORequest.swift
[143/258] Compiling SystemPackage Backcompat.swift
[144/258] Compiling SystemPackage CInterop.swift
[145/258] Compiling SystemPackage Constants.swift
[146/258] Compiling SystemPackage Exports.swift
[147/258] Compiling SystemPackage Mocking.swift
[148/258] Compiling SystemPackage RawBuffer.swift
[149/270] Compiling ComplexModule Scale.swift
[151/270] Compiling Atomics AtomicInteger.swift
[152/270] Compiling Atomics AtomicOptionalWrappable.swift
[153/270] Compiling Atomics AtomicReference.swift
[156/308] Compiling ArgumentParser BashCompletionsGenerator.swift
[157/308] Compiling ArgumentParser CompletionsGenerator.swift
[158/308] Emitting module TextTable
[159/309] Compiling ArgumentParser ArgumentVisibility.swift
[160/309] Compiling ArgumentParser CompletionKind.swift
[161/309] Compiling TextTable String+Util.swift
[162/309] Compiling TextTable RstFormat.swift
[163/309] Compiling TextTable SimpleFormat.swift
[164/309] Compiling ArgumentParser FishCompletionsGenerator.swift
[165/309] Compiling ArgumentParser ZshCompletionsGenerator.swift
[166/309] Compiling ArgumentParser Argument.swift
[167/309] Compiling ArgumentParser ArgumentHelp.swift
[168/309] Compiling ArgumentParser CommandConfiguration.swift
[169/309] Compiling ArgumentParser CommandGroup.swift
[170/309] Compiling ArgumentParser EnumerableFlag.swift
[171/309] Compiling ArgumentParser ExpressibleByArgument.swift
[174/313] Compiling ComplexModule Complex+Numeric.swift
[175/313] Compiling ComplexModule Polar.swift
[176/352] Compiling ComplexModule Complex.swift
[177/352] Compiling ComplexModule Complex+StringConvertible.swift
[178/352] Compiling ComplexModule Scale.swift
[179/352] Compiling ArgumentParser OptionGroup.swift
[180/352] Compiling ArgumentParser AsyncParsableCommand.swift
[181/352] Compiling ArgumentParser CommandConfiguration.swift
[182/352] Compiling ArgumentParser CommandGroup.swift
[183/352] Emitting module ComplexModule
[184/353] Compiling TextTable TextTable.swift
[186/354] Emitting module SystemPackage
[187/354] Compiling ArgumentParser CommandParser.swift
[188/354] Compiling ArgumentParser InputKey.swift
[189/354] Compiling ArgumentParser InputOrigin.swift
[190/354] Compiling ArgumentParser ArgumentVisibility.swift
[191/354] Compiling ArgumentParser CompletionKind.swift
[192/359] Wrapping AST for SystemPackage for debugging
[193/359] Wrapping AST for TextTable for debugging
[195/359] Compiling ArgumentParser EnumerableFlag.swift
[196/359] Compiling ArgumentParser ExpressibleByArgument.swift
[198/361] Wrapping AST for RealModule for debugging
[200/361] Emitting module ComplexModule
[201/362] Emitting module Numerics
[202/362] Compiling Numerics Numerics.swift
[202/363] Wrapping AST for ComplexModule for debugging
[205/363] Wrapping AST for BenchmarkShared for debugging
[207/363] Emitting module ArgumentParser
[207/368] Wrapping AST for Atomics for debugging
[215/368] Compiling ArgumentParser ParsableArguments.swift
[216/368] Compiling ArgumentParser ParsableArgumentsValidation.swift
[217/368] Compiling ArgumentParser ParsableCommand.swift
[218/368] Compiling ArgumentParser ArgumentDecoder.swift
[219/368] Compiling ArgumentParser ArgumentDefinition.swift
[220/368] Compiling ArgumentParser ArgumentSet.swift
[222/370] Wrapping AST for Numerics for debugging
[224/372] Compiling Numerics Numerics.swift
[225/372] Emitting module Numerics
[226/373] Compiling ArgumentParser Name.swift
[227/373] Compiling ArgumentParser Parsed.swift
[228/373] Compiling ArgumentParser ParsedValues.swift
[229/373] Compiling ArgumentParser ParserError.swift
[230/373] Compiling ArgumentParser SplitArguments.swift
[230/373] Wrapping AST for ArgumentParserToolInfo for debugging
[240/373] Compiling ArgumentParser DumpHelpGenerator.swift
[241/373] Compiling ArgumentParser HelpCommand.swift
[242/373] Compiling ArgumentParser ArgumentHelp.swift
[246/373] Compiling ArgumentParser Flag.swift
[247/373] Compiling ArgumentParser NameSpecification.swift
[248/373] Compiling ArgumentParser Option.swift
[249/373] Compiling ArgumentParser BashCompletionsGenerator.swift
[250/373] Compiling ArgumentParser CompletionsGenerator.swift
[251/373] Compiling ArgumentParser FishCompletionsGenerator.swift
[252/373] Compiling ArgumentParser ZshCompletionsGenerator.swift
[253/373] Compiling ArgumentParser Argument.swift
[254/374] Compiling ArgumentParser CollectionExtensions.swift
[255/374] Compiling ArgumentParser Platform.swift
[256/374] Compiling ArgumentParser SequenceExtensions.swift
[257/374] Compiling ArgumentParser StringExtensions.swift
[258/374] Compiling ArgumentParser Tree.swift
[259/374] Wrapping AST for RealModule for debugging
[261/374] Wrapping AST for BenchmarkShared for debugging
[262/374] Wrapping AST for ComplexModule for debugging
[264/374] Emitting module ArgumentParser
[270/374] Wrapping AST for ArgumentParserToolInfo for debugging
[271/374] Wrapping AST for Numerics for debugging
[273/374] Emitting module Atomics
[273/376] Wrapping AST for SystemPackage for debugging
[282/377] Emitting module TextTable
[285/378] Compiling TextTable SimpleFormat.swift
[290/378] Compiling TextTable String+Util.swift
[293/378] Compiling TextTable RstFormat.swift
[298/378] Wrapping AST for Atomics for debugging
[302/378] Compiling ArgumentParser HelpGenerator.swift
[303/378] Compiling ArgumentParser MessageInfo.swift
[304/378] Compiling ArgumentParser UsageGenerator.swift
[310/378] Compiling ArgumentParser Errors.swift
[353/380] Emitting module Histogram
[354/380] Compiling Histogram Histogram.swift
/host/spi-builder-workspace/.build/checkouts/hdrhistogram-swift/Sources/Histogram/Histogram.swift:1394:25: error: cannot find 'vsnprintf' in scope
1392 | // string.
1393 | 0..<bufferSize ~= format.withCString {
1394 | Int(vsnprintf(ptr.baseAddress, bufferSize, $0, va_list))
| `- error: cannot find 'vsnprintf' in scope
1395 | }
1396 | }
[355/380] Emitting module Histogram
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
warning: couldn't find pc file for jemalloc
warning: couldn't find pc file for jemalloc
[0/1] Planning build
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:12:27: warning: 'directory' is deprecated: renamed to 'directoryURL'
10 | guard let target = target as? SwiftSourceModuleTarget else { return [] }
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
13 | guard path.lastComponent == "Benchmarks" else { return [] }
14 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:12:37: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
10 | guard let target = target as? SwiftSourceModuleTarget else { return [] }
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
13 | guard path.lastComponent == "Benchmarks" else { return [] }
14 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:13:20: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
11 | guard target.kind == .executable else { return [] }
12 | let path = target.directory.removingLastComponent()
13 | guard path.lastComponent == "Benchmarks" else { return [] }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
14 |
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:16:39: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
14 |
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
16 | let outputDirectory = context.pluginWorkDirectory
| |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
| `- note: use 'pluginWorkDirectoryURL' instead
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:17:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
15 | let tool = try context.tool(named: "BenchmarkBoilerplateGenerator")
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
19 | let outputFiles: [Path] = [swiftFile]
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:57: warning: 'path' is deprecated: renamed to 'url'
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:62: warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| `- warning: 'extension' is deprecated: Use `URL` type instead of `Path`.
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:18:91: warning: 'path' is deprecated: renamed to 'url'
16 | let outputDirectory = context.pluginWorkDirectory
17 | let swiftFile = outputDirectory.appending("__BenchmarkBoilerplate.swift")
18 | let inputFiles = target.sourceFiles.filter { $0.path.extension == "swift" }.map(\.path)
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
19 | let outputFiles: [Path] = [swiftFile]
20 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:23:35: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
21 | let commandArgs: [String] = [
22 | "--target", target.name,
23 | "--output", swiftFile.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
24 | ]
25 |
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:26:33: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
24 | ]
25 |
26 | let command: Command = .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
27 | displayName: "Generating plugin support files",
28 | executable: tool.path,
/host/spi-builder-workspace/Plugins/BenchmarkPlugin/BenchmarkSupportPlugin.swift:28:30: warning: 'path' is deprecated: renamed to 'url'
26 | let command: Command = .buildCommand(
27 | displayName: "Generating plugin support files",
28 | executable: tool.path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
29 | arguments: commandArgs,
30 | inputFiles: inputFiles,
[1/1] Compiling plugin BenchmarkPlugin
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:36:31: warning: 'directory' is deprecated: renamed to 'directoryURL'
34 |
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
37 | if path.lastComponent == "Benchmarks" {
38 | for specifiedTarget in specifiedTargets {
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:36:41: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
34 |
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
37 | if path.lastComponent == "Benchmarks" {
38 | for specifiedTarget in specifiedTargets {
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/ArgumentExtractor+Extensions.swift:37:21: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
35 | try package.targets.forEach { target in
36 | let path = target.directory.removingLastComponent()
37 | if path.lastComponent == "Benchmarks" {
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
38 | for specifiedTarget in specifiedTargets {
39 | let regex = try Regex(specifiedTarget)
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:159:56: warning: 'directory' is deprecated: renamed to 'directoryURL'
157 | benchmarkToolName,
158 | "--command", commandToPerform.rawValue,
159 | "--baseline-storage-path", context.package.directory.string,
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
160 | "--format", outputFormat.rawValue,
161 | "--grouping", grouping,
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:159:66: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
157 | benchmarkToolName,
158 | "--command", commandToPerform.rawValue,
159 | "--baseline-storage-path", context.package.directory.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
160 | "--format", outputFormat.rawValue,
161 | "--grouping", grouping,
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:399:42: warning: 'path' is deprecated: renamed to 'url'
397 |
398 | let tool = buildResult.builtArtifacts.first(where: {
399 | $0.kind == .executable && $0.path.lastComponent == benchmarkToolName
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
400 | })
401 |
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:399:47: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
397 |
398 | let tool = buildResult.builtArtifacts.first(where: {
399 | $0.kind == .executable && $0.path.lastComponent == benchmarkToolName
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
400 | })
401 |
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:406:30: warning: 'path' is deprecated: renamed to 'url'
404 | }
405 |
406 | benchmarkTool = tool.path
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
407 |
408 | let filteredTargets =
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:412:38: warning: 'directory' is deprecated: renamed to 'directoryURL'
410 | .filter { $0.kind == .executable }
411 | .filter { benchmark in
412 | let path = benchmark.directory.removingLastComponent()
| |- warning: 'directory' is deprecated: renamed to 'directoryURL'
| `- note: use 'directoryURL' instead
413 | return path.lastComponent == "Benchmarks" ? true : false
414 | }
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:412:48: warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
410 | .filter { $0.kind == .executable }
411 | .filter { benchmark in
412 | let path = benchmark.directory.removingLastComponent()
| `- warning: 'removingLastComponent()' is deprecated: Use `URL` type instead of `Path`.
413 | return path.lastComponent == "Benchmarks" ? true : false
414 | }
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:413:29: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
411 | .filter { benchmark in
412 | let path = benchmark.directory.removingLastComponent()
413 | return path.lastComponent == "Benchmarks" ? true : false
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
414 | }
415 | .filter { benchmark in
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:462:77: warning: 'path' is deprecated: renamed to 'url'
460 | let benchmarks = buildResult.builtArtifacts
461 | .filter { benchmark in
462 | filteredTargets.first(where: { $0.name == benchmark.path.lastComponent }) != nil ? true : false
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
463 | }
464 |
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:462:82: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
460 | let benchmarks = buildResult.builtArtifacts
461 | .filter { benchmark in
462 | filteredTargets.first(where: { $0.name == benchmark.path.lastComponent }) != nil ? true : false
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`.
463 | }
464 |
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:470:88: warning: 'path' is deprecated: renamed to 'url'
468 |
469 | benchmarks.forEach { benchmark in
470 | args.append(contentsOf: ["--benchmark-executable-paths", benchmark.path.string])
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
471 | }
472 | }
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:470:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
468 |
469 | benchmarks.forEach { benchmark in
470 | args.append(contentsOf: ["--benchmark-executable-paths", benchmark.path.string])
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
471 | }
472 | }
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:480:45: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
478 | if debug > 0 {
479 | print("To debug, start \(benchmarkToolName) in LLDB using:")
480 | print("lldb \(benchmarkTool.string)")
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
481 | print("")
482 | print("Then launch \(benchmarkToolName) with:")
/host/spi-builder-workspace/Plugins/BenchmarkCommandPlugin/BenchmarkCommandPlugin.swift:489:58: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
487 |
488 | var pid: pid_t = 0
489 | var status = posix_spawn(&pid, benchmarkTool.string, nil, nil, cArgs, environ)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
490 |
491 | if status == 0 {
[2/2] Compiling plugin BenchmarkCommandPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/41] Write swift-version-24593BA9C3E375BF.txt
[5/169] Compiling RealModule RealFunctions.swift
[7/171] Compiling RealModule Real.swift
[9/171] Compiling RealModule Float80+Real.swift
[10/171] Compiling BenchmarkShared Command+Helpers.swift
[11/171] Emitting module BenchmarkShared
[12/171] Compiling TextTable SimpleFormat.swift
[13/173] Compiling SystemPackage FilePermissions.swift
[14/173] Compiling SystemPackage IOCompletion.swift
[15/173] Emitting module TextTable
[16/175] Compiling RealModule RelaxedArithmetic.swift
[17/175] Compiling SystemPackage FilePathSyntax.swift
[18/175] Compiling SystemPackage FilePathTemp.swift
[19/176] Compiling RealModule RelaxedArithmetic.swift
[20/176] Compiling SystemPackage FileHelpers.swift
[21/176] Compiling SystemPackage FileOperations.swift
[22/176] Compiling TextTable String+Util.swift
[23/176] Compiling RealModule Float80+Real.swift
[24/176] Compiling TextTable RstFormat.swift
[25/176] Compiling SystemPackage FilePathString.swift
[26/176] Compiling SystemPackage Errno.swift
[27/176] Compiling SystemPackage ErrnoWindows.swift
[28/176] Compiling SystemPackage FileDescriptor.swift
[32/176] Compiling RealModule Float16+Real.swift
[34/176] Compiling SystemPackage FilePathComponents.swift
[35/176] Compiling SystemPackage FilePathParsing.swift
[36/176] Compiling TextTable SimpleFormat.swift
[39/176] Compiling TextTable RstFormat.swift
[40/176] Compiling TextTable String+Util.swift
[43/176] Compiling SystemPackage Syscalls.swift
[44/176] Compiling SystemPackage WindowsSyscallAdapters.swift
[45/176] Compiling SystemPackage MachPort.swift
[46/176] Compiling SystemPackage PlatformString.swift
[47/176] Compiling SystemPackage FilePath.swift
[48/176] Compiling SystemPackage FilePathComponentView.swift
[55/179] Emitting module RealModule
[61/185] Compiling Atomics IntegerOperations.swift
[62/185] Compiling Atomics Unmanaged extensions.swift
[64/185] Compiling TextTable TextTable.swift
[66/185] Compiling SystemPackage RawIORequest.swift
[67/185] Compiling SystemPackage Backcompat.swift
[68/185] Compiling SystemPackage CInterop.swift
[69/185] Compiling SystemPackage Constants.swift
[70/185] Compiling SystemPackage Exports.swift
[71/185] Compiling SystemPackage Mocking.swift
[72/185] Compiling SystemPackage RawBuffer.swift
[75/185] Compiling SystemPackage FilePathTempPosix.swift
[76/185] Compiling SystemPackage FilePathTempWindows.swift
[77/185] Compiling SystemPackage FilePathWindows.swift
[79/186] Compiling TextTable TextTable.swift
[96/187] Emitting module SystemPackage
[105/187] Compiling BenchmarkShared Command+Helpers.swift
[106/187] Emitting module BenchmarkShared
[107/198] Compiling Atomics IntegerConformances.swift
[108/198] Compiling Atomics PointerConformances.swift
[109/198] Emitting module TextTable
[110/198] Compiling Atomics Primitives.native.swift
[111/198] Compiling Atomics OptionalRawRepresentable.swift
[112/218] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[113/218] Compiling ComplexModule Complex+AlgebraicField.swift
[114/218] Compiling ComplexModule Complex+Codable.swift
[115/218] Compiling ComplexModule Complex+ElementaryFunctions.swift
[118/217] Compiling Atomics AtomicStorage.swift
[119/217] Compiling Atomics AtomicValue.swift
[121/219] Compiling Atomics AtomicMemoryOrderings.swift
[122/219] Compiling Atomics DoubleWord.swift
[123/219] Compiling Atomics UnsafeAtomic.swift
[124/219] Compiling Atomics UnsafeAtomicLazyReference.swift
[125/219] Compiling Atomics ManagedAtomic.swift
[126/219] Compiling Atomics ManagedAtomicLazyReference.swift
[127/219] Compiling ComplexModule Complex+Hashable.swift
[128/219] Compiling ComplexModule Complex+IntegerLiteral.swift
[129/220] Compiling ComplexModule Polar.swift
[130/221] Compiling ComplexModule Complex+StringConvertible.swift
[131/221] Compiling ComplexModule Complex+Numeric.swift
[132/221] Compiling ComplexModule Complex.swift
[133/235] Compiling ComplexModule Scale.swift
[134/235] Compiling ComplexModule Complex+IntegerLiteral.swift
[135/235] Compiling Atomics AtomicInteger.swift
[136/235] Compiling Atomics AtomicOptionalWrappable.swift
[137/235] Compiling Atomics AtomicReference.swift
[139/235] Emitting module SystemPackage
[140/235] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[141/235] Compiling ComplexModule Complex+AlgebraicField.swift
[142/235] Compiling ComplexModule Complex+Codable.swift
[143/235] Compiling ComplexModule Complex+ElementaryFunctions.swift
[144/235] Compiling ComplexModule Complex+Hashable.swift
[145/235] Compiling Atomics IntegerOperations.swift
[146/235] Compiling Atomics Unmanaged extensions.swift
[147/235] Compiling ComplexModule Complex+StringConvertible.swift
[163/236] Compiling ComplexModule Polar.swift
[164/236] Compiling ComplexModule Complex+Numeric.swift
[165/236] Compiling ComplexModule Complex.swift
[168/236] Compiling ComplexModule Scale.swift
[169/236] Compiling SystemPackage SystemString.swift
[170/236] Compiling SystemPackage Util+StringArray.swift
[171/236] Compiling SystemPackage Util.swift
[172/236] Compiling SystemPackage UtilConsumers.swift
[182/238] Emitting module ComplexModule
[186/239] Emitting module ArgumentParserToolInfo
[187/239] Compiling ArgumentParserToolInfo ToolInfo.swift
[189/240] Emitting module ArgumentParserToolInfo
[190/240] Compiling ArgumentParserToolInfo ToolInfo.swift
[193/241] Wrapping AST for RealModule for debugging
[195/241] Wrapping AST for TextTable for debugging
[196/241] Wrapping AST for SystemPackage for debugging
[197/240] Wrapping AST for RealModule for debugging
[198/240] Wrapping AST for ComplexModule for debugging
[199/240] Wrapping AST for SystemPackage for debugging
[204/242] Emitting module Atomics
[207/243] Wrapping AST for ComplexModule for debugging
[215/243] Compiling Numerics Numerics.swift
[216/243] Emitting module Numerics
[219/321] Emitting module Atomics
[220/321] Emitting module Numerics
[221/321] Compiling Numerics Numerics.swift
[221/323] Wrapping AST for Atomics for debugging
[226/326] Compiling ArgumentParser OptionGroup.swift
[227/326] Compiling ArgumentParser AsyncParsableCommand.swift
[228/326] Compiling ArgumentParser CommandConfiguration.swift
[229/326] Compiling ArgumentParser CommandGroup.swift
[230/326] Compiling ArgumentParser EnumerableFlag.swift
[231/331] Emitting module ArgumentParser
[232/331] Emitting module Histogram
[233/331] Emitting module ArgumentParser
[234/336] Emitting module Histogram
[235/336] Compiling Histogram Histogram.swift
/host/spi-builder-workspace/.build/checkouts/hdrhistogram-swift/Sources/Histogram/Histogram.swift:1394:25: error: cannot find 'vsnprintf' in scope
1392 | // string.
1393 | 0..<bufferSize ~= format.withCString {
1394 | Int(vsnprintf(ptr.baseAddress, bufferSize, $0, va_list))
| `- error: cannot find 'vsnprintf' in scope
1395 | }
1396 | }
BUILD FAILURE 6.1 android