The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Benchmark, reference main (a0d252), with Swift 6.1 for Wasm on 27 Mar 2026 10:32:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build 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:         wasm
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-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-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/HdrHistogram/hdrhistogram-swift.git
Fetching https://github.com/ordo-one/TextTable.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/35] Fetching package-jemalloc
[36/17475] Fetching package-jemalloc, swift-argument-parser
[560/18086] Fetching package-jemalloc, swift-argument-parser, hdrhistogram-swift
[1171/19906] Fetching package-jemalloc, swift-argument-parser, hdrhistogram-swift, swift-atomics
[6653/25507] Fetching package-jemalloc, swift-argument-parser, hdrhistogram-swift, swift-atomics, swift-system
[16969/25710] Fetching package-jemalloc, swift-argument-parser, hdrhistogram-swift, swift-atomics, swift-system, texttable
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Fetched https://github.com/ordo-one/TextTable.git from cache (0.71s)
Fetched https://github.com/ordo-one/package-jemalloc.git from cache (0.71s)
Fetched https://github.com/HdrHistogram/hdrhistogram-swift.git from cache (0.71s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.72s)
Computing version for https://github.com/ordo-one/package-jemalloc.git
Computed https://github.com/ordo-one/package-jemalloc.git at 1.0.0 (2.92s)
Computing version for https://github.com/HdrHistogram/hdrhistogram-swift.git
Computed https://github.com/HdrHistogram/hdrhistogram-swift.git at 0.1.4 (0.55s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.41s)
Computing version for https://github.com/ordo-one/TextTable.git
Computed https://github.com/ordo-one/TextTable.git at 0.0.2 (0.95s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.51s)
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.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.57s)
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/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/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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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
[18/77] Write sources
[24/77] Compiling _AtomicsShims.c
[25/77] Write sources
[33/77] Compiling SwiftRuntimeHooks shims.c
[35/77] Compiling CSystem shims.c
[36/77] Compiling _AtomicsShims.c
[37/77] Compiling CSystem shims.c
[38/77] Write swift-version-24593BA9C3E375BF.txt
[38/77] Compiling CLinuxOperatingSystemStats CLinuxOperatingSystemStats.c
[41/205] Emitting module SystemPackage
[43/213] Emitting module Atomics
[44/215] Compiling RealModule Float80+Real.swift
[45/215] Compiling Atomics IntegerOperations.swift
[46/215] Compiling Atomics Unmanaged extensions.swift
[47/216] Compiling SystemPackage SystemString.swift
[48/216] Compiling SystemPackage Util+StringArray.swift
[49/216] Compiling SystemPackage Util.swift
[50/216] Compiling SystemPackage UtilConsumers.swift
[51/216] Compiling RealModule Float16+Real.swift
[52/216] Compiling RealModule Real.swift
[53/216] Compiling RealModule RealFunctions.swift
[54/216] Compiling SystemPackage FilePathTemp.swift
[55/216] Compiling SystemPackage FilePathTempPosix.swift
[56/216] Compiling RealModule Real.swift
[57/216] Compiling RealModule RealFunctions.swift
[58/216] Compiling SystemPackage FilePermissions.swift
[59/216] Compiling SystemPackage IOCompletion.swift
[60/216] Compiling SystemPackage FilePathTempWindows.swift
[61/216] Compiling SystemPackage FilePathWindows.swift
[62/217] Emitting module ArgumentParserToolInfo
[63/217] Compiling ArgumentParserToolInfo ToolInfo.swift
[64/218] Compiling SystemPackage FilePath.swift
[65/218] Compiling SystemPackage FilePathComponentView.swift
[66/218] Compiling SystemPackage FilePathComponents.swift
[67/218] Compiling SystemPackage FilePathParsing.swift
[68/218] Compiling SystemPackage FilePathString.swift
[71/218] Compiling SystemPackage FilePathSyntax.swift
[74/218] Compiling SystemPackage Errno.swift
[75/218] Compiling SystemPackage ErrnoWindows.swift
[76/218] Emitting module RealModule
[81/218] Compiling SystemPackage FileOperations.swift
[83/218] Compiling SystemPackage FileDescriptor.swift
[84/218] Compiling SystemPackage FileHelpers.swift
[87/218] Compiling RealModule Float16+Real.swift
[88/218] Compiling RealModule Float80+Real.swift
[91/218] Emitting module RealModule
[94/218] Compiling RealModule RelaxedArithmetic.swift
[129/247] Compiling SystemPackage Syscalls.swift
[130/247] Compiling SystemPackage WindowsSyscallAdapters.swift
[131/247] Compiling SystemPackage MachPort.swift
[132/247] Compiling SystemPackage PlatformString.swift
[134/247] Compiling SystemPackage RawIORequest.swift
[135/247] Compiling SystemPackage Backcompat.swift
[136/247] Compiling SystemPackage CInterop.swift
[137/247] Compiling SystemPackage Constants.swift
[138/247] Compiling SystemPackage Exports.swift
[139/247] Compiling SystemPackage Mocking.swift
[140/247] Compiling SystemPackage RawBuffer.swift
[142/248] Compiling ComplexModule Polar.swift
[143/248] Compiling ComplexModule Complex+Numeric.swift
[144/248] Compiling ComplexModule Complex+Hashable.swift
[145/248] Compiling ComplexModule Complex+IntegerLiteral.swift
[146/248] Compiling ComplexModule Polar.swift
[147/250] 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
[148/250] 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
[151/250] 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
[152/251] Compiling ComplexModule Complex+StringConvertible.swift
[153/251] Compiling ComplexModule Complex+Numeric.swift
[154/251] Compiling ComplexModule Complex.swift
[175/252] Compiling ComplexModule Complex+Codable.swift
[176/252] Compiling ComplexModule Complex+ElementaryFunctions.swift
[177/252] Compiling ComplexModule Complex+StringConvertible.swift
[178/252] Compiling ComplexModule Complex.swift
[179/252] 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
[185/253] Compiling TextTable String+Util.swift
[186/254] Emitting module TextTable
[187/254] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[188/254] Compiling ComplexModule Complex+AlgebraicField.swift
[191/254] Compiling TextTable RstFormat.swift
[194/254] Compiling TextTable SimpleFormat.swift
[195/261] Compiling ComplexModule Scale.swift
[196/266] Compiling Atomics IntegerConformances.swift
[197/266] Compiling Atomics PointerConformances.swift
[198/266] Compiling ComplexModule Scale.swift
[199/273] Compiling TextTable SimpleFormat.swift
[199/275] Wrapping AST for RealModule for debugging
[201/275] Compiling Atomics Primitives.native.swift
[202/275] Compiling Atomics OptionalRawRepresentable.swift
[203/293] Emitting module TextTable
[204/295] Compiling ArgumentParser Errors.swift
[205/295] Compiling ArgumentParser Flag.swift
[206/313] Emitting module ComplexModule
[207/314] Compiling TextTable String+Util.swift
[208/314] Compiling ArgumentParser OptionGroup.swift
[209/314] Compiling ArgumentParser AsyncParsableCommand.swift
[210/314] Compiling ArgumentParser NameSpecification.swift
[211/314] Compiling ArgumentParser Option.swift
[212/314] Compiling TextTable RstFormat.swift
[212/314] Wrapping AST for SystemPackage for debugging
[214/314] Emitting module ComplexModule
[217/314] Compiling ArgumentParser ArgumentVisibility.swift
[218/314] Compiling ArgumentParser CompletionKind.swift
[219/315] Emitting module ArgumentParserToolInfo
[221/315] Compiling ArgumentParser Argument.swift
[222/315] Compiling ArgumentParser ArgumentHelp.swift
[223/317] Compiling ArgumentParser BashCompletionsGenerator.swift
[224/317] Compiling ArgumentParser CompletionsGenerator.swift
[225/317] Compiling ArgumentParser FishCompletionsGenerator.swift
[226/317] Compiling ArgumentParser ZshCompletionsGenerator.swift
[227/317] Compiling ArgumentParser CommandGroup.swift
[228/317] Compiling ArgumentParser EnumerableFlag.swift
[228/317] Wrapping AST for BenchmarkShared for debugging
[230/317] Compiling TextTable TextTable.swift
[232/319] Wrapping AST for Atomics for debugging
[235/321] Wrapping AST for ComplexModule for debugging
[239/322] Compiling ArgumentParser CommandConfiguration.swift
[240/323] Compiling Numerics Numerics.swift
[241/323] Emitting module Numerics
[241/323] Wrapping AST for ArgumentParserToolInfo for debugging
[242/324] Wrapping AST for SystemPackage for debugging
[243/324] Wrapping AST for TextTable for debugging
[245/324] Emitting module Numerics
[246/324] Compiling Numerics Numerics.swift
[247/324] Compiling Atomics IntegerOperations.swift
[248/324] Compiling Atomics Unmanaged extensions.swift
[248/324] Wrapping AST for TextTable for debugging
[255/325] Wrapping AST for RealModule for debugging
[256/330] Wrapping AST for ComplexModule for debugging
[258/330] Wrapping AST for BenchmarkShared for debugging
[260/330] Compiling ArgumentParserToolInfo ToolInfo.swift
[260/330] Wrapping AST for Numerics for debugging
[263/336] Wrapping AST for ArgumentParserToolInfo for debugging
[265/373] Compiling ArgumentParser ArgumentVisibility.swift
[266/373] Compiling ArgumentParser CompletionKind.swift
[267/373] Compiling ArgumentParser Errors.swift
[268/373] Compiling ArgumentParser Flag.swift
[269/373] Compiling ArgumentParser NameSpecification.swift
[270/373] Compiling ArgumentParser Option.swift
[271/373] Compiling ArgumentParser ArgumentDefinition.swift
[272/373] Compiling ArgumentParser ArgumentSet.swift
[273/373] Compiling ArgumentParser CommandParser.swift
[274/373] Compiling ArgumentParser InputKey.swift
[275/373] Compiling ArgumentParser InputOrigin.swift
[276/373] Compiling ArgumentParser CollectionExtensions.swift
[277/373] Compiling ArgumentParser Platform.swift
[278/373] Compiling ArgumentParser SequenceExtensions.swift
[279/373] Compiling ArgumentParser StringExtensions.swift
[280/373] Compiling ArgumentParser Tree.swift
[281/373] Emitting module ArgumentParser
[282/373] Compiling ArgumentParser ArgumentHelp.swift
[283/373] Compiling ArgumentParser OptionGroup.swift
[284/373] Compiling ArgumentParser AsyncParsableCommand.swift
[285/373] Compiling ArgumentParser CommandConfiguration.swift
[286/373] Compiling ArgumentParser CommandGroup.swift
[287/373] Compiling ArgumentParser EnumerableFlag.swift
[288/373] Emitting module Histogram
[289/373] 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 |             }
[298/373] Emitting module Histogram
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-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/159] Emitting module BenchmarkShared
[6/159] Compiling RealModule RealFunctions.swift
[7/160] Compiling RealModule RelaxedArithmetic.swift
[8/160] Compiling RealModule Float80+Real.swift
[9/160] Compiling RealModule Real.swift
[10/160] Compiling RealModule RealFunctions.swift
[11/161] Compiling BenchmarkShared Command+Helpers.swift
[13/162] Compiling SystemPackage FilePathTemp.swift
[14/162] Compiling SystemPackage FilePathTempPosix.swift
[15/164] Emitting module BenchmarkShared
[16/165] Compiling RealModule Real.swift
[18/165] Compiling SystemPackage FilePathTempWindows.swift
[19/165] Compiling SystemPackage Errno.swift
[20/165] Compiling SystemPackage ErrnoWindows.swift
[21/165] Compiling SystemPackage FileDescriptor.swift
[22/165] Compiling SystemPackage FileHelpers.swift
[23/165] Compiling SystemPackage FileOperations.swift
[24/164] Compiling SystemPackage FilePath.swift
[25/164] Compiling SystemPackage FilePathComponentView.swift
[26/164] Compiling RealModule Float16+Real.swift
[27/164] Compiling RealModule RelaxedArithmetic.swift
[28/164] Compiling RealModule Float16+Real.swift
[29/164] Compiling SystemPackage FilePathString.swift
[30/164] Compiling SystemPackage FilePathSyntax.swift
[31/164] Compiling SystemPackage FilePathComponents.swift
[32/164] Compiling SystemPackage FilePathParsing.swift
[33/164] Compiling RealModule Float80+Real.swift
[36/164] Compiling TextTable RstFormat.swift
[37/164] Compiling TextTable String+Util.swift
[38/164] Compiling TextTable SimpleFormat.swift
[44/164] Compiling SystemPackage Syscalls.swift
[45/164] Compiling SystemPackage WindowsSyscallAdapters.swift
[46/164] Compiling SystemPackage MachPort.swift
[47/164] Compiling SystemPackage PlatformString.swift
[48/168] Compiling SystemPackage Constants.swift
[49/168] Compiling SystemPackage Exports.swift
[50/168] Compiling SystemPackage Mocking.swift
[51/168] Compiling Atomics IntegerOperations.swift
[52/168] Compiling Atomics Unmanaged extensions.swift
[53/168] Compiling SystemPackage FilePermissions.swift
[54/168] Compiling SystemPackage IOCompletion.swift
[55/168] Compiling SystemPackage IORequest.swift
[56/168] Compiling SystemPackage IORing.swift
[57/168] Compiling SystemPackage RawIORequest.swift
[58/168] Compiling SystemPackage Backcompat.swift
[59/168] Compiling SystemPackage CInterop.swift
[64/172] Emitting module TextTable
[65/172] Emitting module RealModule
[73/203] Compiling Atomics AtomicBool.swift
[74/203] Compiling Atomics AtomicMemoryOrderings.swift
[75/203] Compiling Atomics DoubleWord.swift
[76/203] Emitting module RealModule
[77/204] Emitting module TextTable
[79/207] Compiling Atomics AtomicStorage.swift
[80/207] Compiling Atomics AtomicValue.swift
[81/207] Compiling Atomics OptionalRawRepresentable.swift
[82/207] Compiling Atomics RawRepresentable.swift
[83/207] Compiling Atomics UnsafeAtomic.swift
[84/207] Compiling Atomics UnsafeAtomicLazyReference.swift
[85/207] Compiling Atomics AtomicInteger.swift
[86/207] Compiling Atomics AtomicOptionalWrappable.swift
[87/207] Emitting module SystemPackage
[90/207] Compiling TextTable TextTable.swift
[91/207] Compiling Atomics Primitives.native.swift
[93/207] Compiling Atomics ManagedAtomic.swift
[94/207] Compiling Atomics ManagedAtomicLazyReference.swift
[95/207] Compiling TextTable SimpleFormat.swift
[96/207] Compiling TextTable RstFormat.swift
[97/207] Compiling TextTable String+Util.swift
[100/212] Compiling Atomics Unmanaged extensions.swift
[107/212] Compiling Atomics IntegerOperations.swift
[114/214] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[115/214] Compiling ComplexModule Complex+AlgebraicField.swift
[122/220] Compiling TextTable TextTable.swift
[123/220] Compiling Atomics AtomicReference.swift
[130/220] Compiling ComplexModule Complex+Codable.swift
[131/220] Compiling ComplexModule Complex+ElementaryFunctions.swift
[132/220] Compiling ComplexModule Complex+Hashable.swift
[133/231] Emitting module ArgumentParserToolInfo
[134/231] Compiling ArgumentParserToolInfo ToolInfo.swift
[135/232] Compiling ComplexModule Complex+Codable.swift
[136/232] Compiling ComplexModule Complex+ElementaryFunctions.swift
[137/232] Compiling ComplexModule Complex+Numeric.swift
[138/232] Compiling ComplexModule Complex.swift
[139/232] Compiling ComplexModule Polar.swift
[140/232] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[141/232] Compiling ComplexModule Complex+AlgebraicField.swift
[142/232] Compiling ComplexModule Complex+StringConvertible.swift
[143/232] Compiling ComplexModule Complex+Hashable.swift
[144/232] Compiling ComplexModule Complex+IntegerLiteral.swift
[154/234] Compiling SystemPackage SystemString.swift
[155/234] Compiling SystemPackage Util+StringArray.swift
[156/234] Compiling SystemPackage Util.swift
[157/234] Compiling SystemPackage UtilConsumers.swift
[163/235] Compiling ComplexModule Complex+StringConvertible.swift
[164/235] Compiling ComplexModule Polar.swift
[165/234] Compiling ComplexModule Scale.swift
[180/234] Emitting module SystemPackage
[181/234] Compiling ComplexModule Complex.swift
[182/234] Compiling ComplexModule Complex+Numeric.swift
[183/234] Emitting module ComplexModule
[185/238] Wrapping AST for RealModule for debugging
[187/238] Compiling ComplexModule Scale.swift
[190/239] Emitting module Atomics
[190/266] Wrapping AST for SystemPackage for debugging
[192/276] Compiling ArgumentParser BashCompletionsGenerator.swift
[193/276] Compiling ArgumentParser CompletionsGenerator.swift
[194/276] Compiling ArgumentParser FishCompletionsGenerator.swift
[195/276] Compiling ArgumentParser ZshCompletionsGenerator.swift
[196/276] Compiling ArgumentParser Argument.swift
[197/276] Compiling ArgumentParser ArgumentHelp.swift
[197/277] Wrapping AST for RealModule for debugging
[198/277] Wrapping AST for ComplexModule for debugging
[200/277] Emitting module ComplexModule
[201/277] Emitting module Atomics
[206/279] Wrapping AST for SystemPackage for debugging
[209/280] Compiling ArgumentParser OptionGroup.swift
[210/280] Compiling ArgumentParser AsyncParsableCommand.swift
[211/280] Compiling ArgumentParser CommandConfiguration.swift
[212/280] Compiling ArgumentParser CommandGroup.swift
[213/280] Compiling ArgumentParser EnumerableFlag.swift
[213/285] Wrapping AST for Atomics for debugging
[215/285] Emitting module Numerics
[216/285] Compiling Numerics Numerics.swift
[216/286] Wrapping AST for ComplexModule for debugging
[223/288] Emitting module ArgumentParserToolInfo
[224/288] Compiling ArgumentParserToolInfo ToolInfo.swift
[225/291] Emitting module Numerics
[226/291] Compiling Numerics Numerics.swift
[227/292] Wrapping AST for Atomics for debugging
[230/291] Compiling ArgumentParser ArgumentVisibility.swift
[231/291] Compiling ArgumentParser CompletionKind.swift
[232/291] Compiling ArgumentParser Errors.swift
[233/291] Compiling ArgumentParser Flag.swift
[234/291] Compiling ArgumentParser NameSpecification.swift
[235/291] Compiling ArgumentParser Option.swift
[236/290] Emitting module ArgumentParser
[237/330] Compiling ArgumentParser ArgumentVisibility.swift
[238/330] Compiling ArgumentParser CompletionKind.swift
[239/330] Compiling ArgumentParser Errors.swift
[240/330] Compiling ArgumentParser Flag.swift
[241/330] Compiling ArgumentParser NameSpecification.swift
[242/330] Compiling ArgumentParser Option.swift
[243/330] Compiling ArgumentParser CollectionExtensions.swift
[244/330] Compiling ArgumentParser Platform.swift
[245/330] Compiling ArgumentParser SequenceExtensions.swift
[246/330] Compiling ArgumentParser StringExtensions.swift
[247/330] Compiling ArgumentParser Tree.swift
[248/330] Compiling ArgumentParser OptionGroup.swift
[249/330] Compiling ArgumentParser AsyncParsableCommand.swift
[250/330] Compiling ArgumentParser CommandConfiguration.swift
[251/330] Compiling ArgumentParser CommandGroup.swift
[252/330] Compiling ArgumentParser EnumerableFlag.swift
[253/335] Emitting module Histogram
[254/335] 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 |             }
[255/335] Compiling ArgumentParser ExpressibleByArgument.swift
[256/335] Compiling ArgumentParser ParsableArguments.swift
[257/335] Compiling ArgumentParser ParsableArgumentsValidation.swift
[258/335] Compiling ArgumentParser ParsableCommand.swift
[259/335] Compiling ArgumentParser ArgumentDecoder.swift
[260/335] Compiling ArgumentParser Name.swift
[261/335] Compiling ArgumentParser Parsed.swift
[262/335] Compiling ArgumentParser ParsedValues.swift
[263/335] Compiling ArgumentParser ParserError.swift
[264/335] Compiling ArgumentParser SplitArguments.swift
[265/335] Emitting module Histogram
BUILD FAILURE 6.1 wasm