Build Information
Failed to build Benchmark, reference 1.31.0 (69bde1), with Swift 6.1 for Android on 3 Mar 2026 20:20:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ordo-one/package-benchmark.git
Reference: 1.31.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ordo-one/package-benchmark
* tag 1.31.0 -> FETCH_HEAD
HEAD is now at 69bde19 fix(minor): malloc counter regression (#351)
Cloned https://github.com/ordo-one/package-benchmark.git
Revision (git rev-parse @):
69bde19b29c4365e5a23179add8df4f93c76566c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ordo-one/package-benchmark.git at 1.31.0
========================================
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-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images: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 finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/ordo-one/package-jemalloc.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-atomics.git
[1/611] Fetching hdrhistogram-swift
[612/646] Fetching hdrhistogram-swift, package-jemalloc
[647/2466] Fetching hdrhistogram-swift, package-jemalloc, swift-atomics
[1940/19648] Fetching hdrhistogram-swift, package-jemalloc, swift-atomics, swift-argument-parser
[2068/25249] Fetching hdrhistogram-swift, package-jemalloc, swift-atomics, swift-argument-parser, swift-system
[12708/25452] Fetching hdrhistogram-swift, package-jemalloc, swift-atomics, swift-argument-parser, swift-system, texttable
Fetched https://github.com/apple/swift-atomics.git from cache (0.47s)
[11297/23632] Fetching hdrhistogram-swift, package-jemalloc, swift-argument-parser, swift-system, texttable
[16729/23429] Fetching hdrhistogram-swift, package-jemalloc, swift-argument-parser, swift-system
Fetched https://github.com/ordo-one/TextTable.git from cache (0.54s)
Fetched https://github.com/apple/swift-system.git from cache (0.55s)
[11987/17828] Fetching hdrhistogram-swift, package-jemalloc, swift-argument-parser
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.84s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.84s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.85s)
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.04s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.4 (1.96s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.65s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (1.39s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.53s)
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.53s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.59s)
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-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/TextTable.git
Working copy of https://github.com/ordo-one/TextTable.git resolved at 0.0.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.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
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
[16/77] Compiling _NumericsShims _NumericsShims.c
[17/77] Write sources
[19/77] Compiling _NumericsShims _NumericsShims.c
[20/77] Write sources
[24/77] Compiling _AtomicsShims.c
[25/77] Write sources
[28/77] Compiling SwiftRuntimeHooks shims.c
[28/77] Write sources
[34/77] Compiling SwiftRuntimeHooks shims.c
[35/77] Compiling CSystem shims.c
[37/77] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
[38/77] Compiling _AtomicsShims.c
[38/77] Write swift-version-24593BA9C3E375BF.txt
[41/176] Emitting module ArgumentParserToolInfo
[42/176] Emitting module TextTable
[43/177] Emitting module Atomics
[44/179] Compiling Atomics IntegerOperations.swift
[45/179] Compiling Atomics Unmanaged extensions.swift
[46/179] Compiling RealModule RealFunctions.swift
[47/180] Compiling RealModule AlgebraicField.swift
[48/180] Compiling RealModule ApproximateEquality.swift
[49/180] Compiling RealModule AugmentedArithmetic.swift
[50/180] Compiling RealModule Double+Real.swift
[51/180] Compiling RealModule ElementaryFunctions.swift
[52/184] Compiling RealModule Float80+Real.swift
[53/184] Compiling Atomics UnsafeAtomic.swift
[54/184] Compiling Atomics UnsafeAtomicLazyReference.swift
[55/185] Emitting module ArgumentParserToolInfo
[56/185] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/185] Compiling RealModule RelaxedArithmetic.swift
[58/185] Compiling Atomics ManagedAtomic.swift
[59/185] Compiling Atomics ManagedAtomicLazyReference.swift
[60/185] Compiling Atomics AtomicStorage.swift
[61/185] Compiling Atomics AtomicValue.swift
[62/185] Compiling RealModule Float16+Real.swift
[64/185] Compiling RealModule Float+Real.swift
[65/185] Compiling Atomics AtomicMemoryOrderings.swift
[66/185] Compiling Atomics DoubleWord.swift
[67/186] Compiling RealModule Float80+Real.swift
[68/186] Compiling RealModule Real.swift
[69/186] Compiling ArgumentParserToolInfo ToolInfo.swift
[70/186] Compiling TextTable OrgFormat.swift
[71/186] Compiling TextTable PipeFormat.swift
[72/187] Compiling Atomics AtomicReference.swift
[73/187] Compiling RealModule RealFunctions.swift
[76/187] Compiling RealModule Real.swift
[81/187] Emitting module RealModule
[84/187] Compiling RealModule Float16+Real.swift
[89/188] Emitting module SystemPackage
[93/189] Emitting module RealModule
[98/189] Compiling RealModule RelaxedArithmetic.swift
[101/236] Compiling ComplexModule Complex+StringConvertible.swift
[102/237] Compiling ComplexModule Complex+Numeric.swift
[103/237] 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
[104/255] Compiling Atomics RawRepresentable.swift
[105/255] Compiling Atomics AtomicBool.swift
[106/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
[107/256] Compiling ComplexModule Complex.swift
[108/256] Compiling ComplexModule Polar.swift
[109/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
[110/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
[112/257] Compiling ComplexModule Scale.swift
[114/257] Compiling Atomics Primitives.native.swift
[115/257] Compiling Atomics OptionalRawRepresentable.swift
[116/257] Compiling Atomics IntegerConformances.swift
[117/257] Compiling Atomics PointerConformances.swift
[118/257] Compiling SystemPackage SystemString.swift
[119/257] Compiling SystemPackage Util+StringArray.swift
[120/257] Compiling SystemPackage Util.swift
[121/257] Compiling SystemPackage UtilConsumers.swift
[123/257] Compiling Atomics AtomicInteger.swift
[124/257] Compiling Atomics AtomicOptionalWrappable.swift
[125/257] Compiling Atomics AtomicReference.swift
[126/257] Compiling Atomics AtomicStorage.swift
[127/257] Compiling Atomics AtomicValue.swift
[128/257] Compiling Atomics AtomicMemoryOrderings.swift
[129/257] Compiling Atomics DoubleWord.swift
[130/257] Compiling Atomics ManagedAtomic.swift
[131/257] Compiling Atomics ManagedAtomicLazyReference.swift
[132/257] Compiling Atomics UnsafeAtomic.swift
[133/257] Compiling Atomics UnsafeAtomicLazyReference.swift
[134/257] Compiling SystemPackage IORequest.swift
[135/257] Compiling SystemPackage IORing.swift
[136/257] Compiling SystemPackage RawIORequest.swift
[137/257] Compiling SystemPackage Backcompat.swift
[138/257] Compiling SystemPackage CInterop.swift
[139/257] Compiling SystemPackage Constants.swift
[140/257] Compiling SystemPackage Exports.swift
[141/257] Compiling SystemPackage Mocking.swift
[142/257] Compiling SystemPackage RawBuffer.swift
[143/257] Compiling SystemPackage Syscalls.swift
[144/257] Compiling SystemPackage WindowsSyscallAdapters.swift
[145/257] Compiling SystemPackage MachPort.swift
[146/257] Compiling SystemPackage PlatformString.swift
[151/273] Compiling ComplexModule Complex+Hashable.swift
[152/273] Compiling ComplexModule Complex+IntegerLiteral.swift
[153/291] Compiling ArgumentParser CommandGroup.swift
[154/291] Compiling ArgumentParser EnumerableFlag.swift
[155/291] Compiling ArgumentParser AsyncParsableCommand.swift
[156/291] Compiling ArgumentParser CommandConfiguration.swift
[158/313] Compiling TextTable RstFormat.swift
[159/313] Compiling TextTable SimpleFormat.swift
[160/313] Compiling TextTable String+Util.swift
[161/313] Compiling ArgumentParser Option.swift
[162/313] Compiling ArgumentParser OptionGroup.swift
[163/313] Compiling ArgumentParser Flag.swift
[164/313] Compiling ArgumentParser NameSpecification.swift
[165/313] Compiling TextTable TextTable.swift
[166/313] Compiling ComplexModule Polar.swift
[167/314] Compiling ComplexModule Complex+StringConvertible.swift
[172/314] Compiling ArgumentParser BashCompletionsGenerator.swift
[173/314] Compiling ArgumentParser CompletionsGenerator.swift
[174/314] Compiling ArgumentParser FishCompletionsGenerator.swift
[175/314] Compiling ArgumentParser ZshCompletionsGenerator.swift
[176/314] Compiling ArgumentParser ArgumentVisibility.swift
[177/314] Compiling ArgumentParser CompletionKind.swift
[178/315] Compiling ComplexModule Scale.swift
[180/315] Compiling ArgumentParser Argument.swift
[181/315] Compiling ArgumentParser ArgumentHelp.swift
[182/353] Compiling ComplexModule Complex+Numeric.swift
[183/353] Compiling ComplexModule Complex.swift
[184/353] Compiling ArgumentParser ArgumentVisibility.swift
[185/353] Compiling ArgumentParser CompletionKind.swift
[186/353] Compiling ArgumentParser Errors.swift
[187/353] Emitting module SystemPackage
[187/353] Wrapping AST for SystemPackage for debugging
[189/353] Compiling ArgumentParser OptionGroup.swift
[190/353] Compiling ArgumentParser AsyncParsableCommand.swift
[191/353] Compiling ArgumentParser CommandConfiguration.swift
[192/353] Compiling ArgumentParser CommandGroup.swift
[193/353] Compiling ArgumentParser EnumerableFlag.swift
[194/358] Compiling ArgumentParser ExpressibleByArgument.swift
[195/358] Compiling ArgumentParser ParsableArguments.swift
[195/358] Wrapping AST for TextTable for debugging
[197/358] Emitting module ComplexModule
[197/359] Wrapping AST for RealModule for debugging
[200/359] Compiling ArgumentParser FishCompletionsGenerator.swift
[201/359] Compiling ArgumentParser ZshCompletionsGenerator.swift
[202/359] Compiling ArgumentParser BashCompletionsGenerator.swift
[203/359] Compiling ArgumentParser CompletionsGenerator.swift
[203/359] Wrapping AST for BenchmarkShared for debugging
[205/359] Emitting module ArgumentParser
[205/359] Wrapping AST for Atomics for debugging
[207/359] Emitting module ComplexModule
[212/360] Compiling ArgumentParser Argument.swift
[213/360] Compiling ArgumentParser ArgumentHelp.swift
[217/360] Compiling ArgumentParser Flag.swift
[217/362] Wrapping AST for ComplexModule for debugging
[220/362] Compiling Numerics Numerics.swift
[221/362] Emitting module Numerics
[221/363] Wrapping AST for ArgumentParserToolInfo for debugging
[222/363] Wrapping AST for RealModule for debugging
[225/363] Compiling ArgumentParser MessageInfo.swift
[226/363] Compiling ArgumentParser UsageGenerator.swift
[227/363] Compiling ArgumentParser Name.swift
[228/363] Compiling ArgumentParser Parsed.swift
[233/363] Compiling ArgumentParser NameSpecification.swift
[234/363] Compiling ArgumentParser Option.swift
[234/363] Wrapping AST for ComplexModule for debugging
[235/363] Wrapping AST for BenchmarkShared for debugging
[237/365] Compiling ArgumentParser CollectionExtensions.swift
[238/365] Compiling ArgumentParser Platform.swift
[239/365] Compiling ArgumentParser SequenceExtensions.swift
[240/365] Compiling ArgumentParser StringExtensions.swift
[241/365] Compiling ArgumentParser Tree.swift
[241/365] Wrapping AST for Numerics for debugging
[249/367] Compiling Numerics Numerics.swift
[250/367] Emitting module Numerics
[251/367] Compiling ArgumentParser ArgumentDefinition.swift
[252/367] Compiling ArgumentParser ArgumentSet.swift
[253/367] Compiling ArgumentParser CommandParser.swift
[254/367] Compiling ArgumentParser InputKey.swift
[255/367] Compiling ArgumentParser InputOrigin.swift
[256/367] Compiling ArgumentParser DumpHelpGenerator.swift
[257/367] Compiling ArgumentParser HelpCommand.swift
[258/367] Compiling ArgumentParser HelpGenerator.swift
[260/367] Compiling ArgumentParser ParsableArgumentsValidation.swift
[261/367] Compiling ArgumentParser ParsableCommand.swift
[262/367] Compiling ArgumentParser ArgumentDecoder.swift
[268/374] Wrapping AST for ArgumentParserToolInfo for debugging
[271/374] Wrapping AST for Numerics for debugging
[272/374] Wrapping AST for SystemPackage for debugging
[274/374] Emitting module Atomics
[288/377] Compiling ArgumentParser ParsedValues.swift
[289/377] Compiling ArgumentParser ParserError.swift
[290/377] Compiling ArgumentParser SplitArguments.swift
[292/377] Emitting module ArgumentParser
[306/377] Emitting module TextTable
[311/378] Compiling TextTable String+Util.swift
[312/378] Compiling TextTable RstFormat.swift
[315/378] Compiling TextTable SimpleFormat.swift
[316/378] Emitting module Histogram
[316/378] Wrapping AST for Atomics for debugging
[334/379] Compiling ArgumentParser CollectionExtensions.swift
[335/379] Compiling ArgumentParser Platform.swift
[336/379] Compiling ArgumentParser SequenceExtensions.swift
[337/379] Compiling ArgumentParser StringExtensions.swift
[338/379] Compiling ArgumentParser Tree.swift
[339/379] Compiling TextTable TextTable.swift
[356/381] 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 | }
[356/381] Wrapping AST for TextTable for debugging
[356/381] Wrapping AST for ArgumentParser for debugging
[357/381] Emitting module Histogram
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/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/122] Compiling BenchmarkShared Command+Helpers.swift
[6/153] Compiling RealModule RealFunctions.swift
[7/154] Emitting module BenchmarkShared
[8/154] Compiling BenchmarkShared Command+Helpers.swift
[9/154] Emitting module BenchmarkShared
[10/155] Emitting module TextTable
[11/157] Compiling RealModule Float80+Real.swift
[12/157] Compiling RealModule RealFunctions.swift
[14/158] Compiling SystemPackage FilePathString.swift
[15/158] Compiling SystemPackage IORing.swift
[16/158] Compiling SystemPackage RawIORequest.swift
[17/158] Compiling SystemPackage Backcompat.swift
[19/157] Compiling RealModule Real.swift
[21/157] Compiling TextTable RstFormat.swift
[22/157] Compiling RealModule RelaxedArithmetic.swift
[23/156] Compiling TextTable SimpleFormat.swift
[24/157] Compiling TextTable String+Util.swift
[25/157] Compiling SystemPackage FilePath.swift
[26/157] Compiling SystemPackage FilePathComponentView.swift
[29/157] Compiling TextTable RstFormat.swift
[30/157] Compiling TextTable SimpleFormat.swift
[31/157] Compiling TextTable String+Util.swift
[34/157] Emitting module TextTable
[39/157] Compiling RealModule RelaxedArithmetic.swift
[40/157] Compiling SystemPackage Syscalls.swift
[41/157] Compiling SystemPackage WindowsSyscallAdapters.swift
[42/157] Compiling SystemPackage MachPort.swift
[43/157] Compiling SystemPackage PlatformString.swift
[44/161] Compiling RealModule Float16+Real.swift
[45/161] Compiling RealModule Float80+Real.swift
[48/161] Compiling RealModule Float16+Real.swift
[51/161] Compiling SystemPackage FilePathComponents.swift
[52/161] Compiling SystemPackage FilePathParsing.swift
[61/201] Compiling TextTable TextTable.swift
[62/201] Emitting module RealModule
[64/203] Compiling Atomics AtomicMemoryOrderings.swift
[65/203] Compiling Atomics DoubleWord.swift
[66/205] Compiling Atomics ManagedAtomic.swift
[67/205] Compiling Atomics ManagedAtomicLazyReference.swift
[68/207] Compiling Atomics AtomicBool.swift
[69/207] Compiling Atomics AtomicInteger.swift
[70/207] Compiling Atomics AtomicOptionalWrappable.swift
[71/207] Compiling Atomics AtomicReference.swift
[73/207] Compiling Atomics UnsafeAtomic.swift
[74/207] Compiling Atomics UnsafeAtomicLazyReference.swift
[75/207] Compiling Atomics IntegerOperations.swift
[77/207] Compiling TextTable TextTable.swift
[83/207] Compiling Atomics AtomicStorage.swift
[84/207] Compiling Atomics AtomicValue.swift
[100/207] Compiling Atomics Unmanaged extensions.swift
[101/207] Compiling SystemPackage FilePathTemp.swift
[102/207] Compiling SystemPackage FilePathTempPosix.swift
[105/209] Compiling Atomics Primitives.native.swift
[106/209] Compiling Atomics OptionalRawRepresentable.swift
[112/211] Emitting module SystemPackage
[125/234] Compiling ComplexModule Complex.swift
[126/235] Compiling ComplexModule Complex+Numeric.swift
[127/235] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[128/235] Compiling ComplexModule Complex+AlgebraicField.swift
[129/235] Compiling ComplexModule Complex+StringConvertible.swift
[130/235] Compiling ComplexModule Complex+Hashable.swift
[131/235] Compiling ComplexModule Complex+IntegerLiteral.swift
[132/236] Compiling ComplexModule Polar.swift
[135/236] Compiling ComplexModule Scale.swift
[137/236] Compiling ComplexModule Complex+Numeric.swift
[138/236] Compiling ComplexModule Complex+StringConvertible.swift
[139/236] Compiling ComplexModule Complex.swift
[140/236] Compiling ComplexModule Polar.swift
[141/236] Emitting module ArgumentParserToolInfo
[142/236] Compiling ArgumentParserToolInfo ToolInfo.swift
[143/237] Compiling SystemPackage SystemString.swift
[144/237] Compiling SystemPackage Util+StringArray.swift
[145/237] Compiling SystemPackage Util.swift
[146/237] Compiling SystemPackage UtilConsumers.swift
[150/237] Compiling SystemPackage FilePathTempWindows.swift
[158/237] Compiling ComplexModule Complex+Codable.swift
[159/237] Compiling ComplexModule Complex+ElementaryFunctions.swift
[161/237] Compiling SystemPackage FilePathWindows.swift
[162/237] Compiling SystemPackage FilePermissions.swift
[163/237] Compiling SystemPackage IOCompletion.swift
[164/237] Compiling SystemPackage IORequest.swift
[180/238] Emitting module ArgumentParserToolInfo
[181/238] Compiling ArgumentParserToolInfo ToolInfo.swift
[183/239] Wrapping AST for RealModule for debugging
[186/238] Emitting module ComplexModule
[189/239] Emitting module Atomics
[189/239] Wrapping AST for SystemPackage for debugging
[190/239] Wrapping AST for TextTable for debugging
[191/239] Wrapping AST for SystemPackage for debugging
[194/277] Emitting module ComplexModule
[195/277] Compiling ArgumentParser EnumerableFlag.swift
[196/277] Compiling ArgumentParser BashCompletionsGenerator.swift
[197/277] Compiling ArgumentParser CommandConfiguration.swift
[198/277] Compiling ArgumentParser CommandGroup.swift
[202/278] Compiling ArgumentParser OptionGroup.swift
[203/278] Compiling ArgumentParser AsyncParsableCommand.swift
[204/279] Wrapping AST for RealModule for debugging
[205/279] Wrapping AST for ComplexModule for debugging
[209/282] Emitting module Atomics
[210/319] Compiling Numerics Numerics.swift
[211/319] Compiling ArgumentParser ZshCompletionsGenerator.swift
[212/319] Compiling ArgumentParser Argument.swift
[213/319] Compiling ArgumentParser ArgumentHelp.swift
[214/319] Compiling ArgumentParser BashCompletionsGenerator.swift
[215/319] Compiling ArgumentParser CompletionsGenerator.swift
[216/319] Compiling ArgumentParser FishCompletionsGenerator.swift
[217/320] Emitting module Numerics
[218/321] Wrapping AST for ComplexModule for debugging
[219/321] Wrapping AST for Atomics for debugging
[223/322] Compiling Numerics Numerics.swift
[224/322] Emitting module Numerics
[225/325] Compiling ArgumentParser ArgumentSet.swift
[226/325] Compiling ArgumentParser CommandParser.swift
[227/325] Compiling ArgumentParser InputKey.swift
[228/325] Compiling ArgumentParser InputOrigin.swift
[229/325] Compiling ArgumentParser ArgumentVisibility.swift
[231/331] Emitting module ArgumentParser
[232/331] Emitting module Histogram
[233/331] Emitting module ArgumentParser
[234/336] Compiling ArgumentParser CollectionExtensions.swift
[235/336] Compiling ArgumentParser Platform.swift
[236/336] Compiling ArgumentParser SequenceExtensions.swift
[237/336] Compiling ArgumentParser StringExtensions.swift
[238/336] Compiling ArgumentParser Tree.swift
[239/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 | }
[240/336] Compiling ArgumentParser DumpHelpGenerator.swift
[241/336] Compiling ArgumentParser HelpCommand.swift
[242/336] Compiling ArgumentParser HelpGenerator.swift
[243/336] Compiling ArgumentParser MessageInfo.swift
[244/336] Compiling ArgumentParser UsageGenerator.swift
[246/336] Compiling ArgumentParser CompletionKind.swift
[247/336] Compiling ArgumentParser Errors.swift
[248/336] Compiling ArgumentParser Flag.swift
[249/336] Compiling ArgumentParser NameSpecification.swift
[250/336] Compiling ArgumentParser Option.swift
[252/336] Compiling ArgumentParser Name.swift
[253/336] Compiling ArgumentParser Parsed.swift
[254/336] Compiling ArgumentParser ParsedValues.swift
[255/336] Compiling ArgumentParser ParserError.swift
[256/336] Compiling ArgumentParser SplitArguments.swift
[257/336] Compiling ArgumentParser ExpressibleByArgument.swift
[258/336] Compiling ArgumentParser ParsableArguments.swift
[259/336] Compiling ArgumentParser ParsableArgumentsValidation.swift
[260/336] Compiling ArgumentParser ParsableCommand.swift
[261/336] Compiling ArgumentParser ArgumentDecoder.swift
[262/336] Compiling ArgumentParser ArgumentDefinition.swift
[273/336] Emitting module Histogram
BUILD FAILURE 6.1 android