[INFO] cloning repository https://github.com/MythEclipse/rust-mcp-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MythEclipse/rust-mcp-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMythEclipse%2Frust-mcp-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMythEclipse%2Frust-mcp-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 246483ca849b19b6464507efb1a37036708c109c
[INFO] checking MythEclipse/rust-mcp-server against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMythEclipse%2Frust-mcp-server" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MythEclipse/rust-mcp-server
[INFO] finished tweaking git repo https://github.com/MythEclipse/rust-mcp-server
[INFO] tweaked toml for git repo https://github.com/MythEclipse/rust-mcp-server written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MythEclipse/rust-mcp-server on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MythEclipse/rust-mcp-server already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.47
[INFO] [stderr]   Downloaded rmcp-macros v0.9.1
[INFO] [stderr]   Downloaded schemars_derive v1.1.0
[INFO] [stderr]   Downloaded schemars v1.1.0
[INFO] [stderr]   Downloaded rmcp v0.9.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2d12d8bc5ff7cd8dfb4fb70cf3f74bb8b66313779a4eb04760bb59649ad7e638
[INFO] running `Command { std: "docker" "start" "-a" "2d12d8bc5ff7cd8dfb4fb70cf3f74bb8b66313779a4eb04760bb59649ad7e638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2d12d8bc5ff7cd8dfb4fb70cf3f74bb8b66313779a4eb04760bb59649ad7e638", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2d12d8bc5ff7cd8dfb4fb70cf3f74bb8b66313779a4eb04760bb59649ad7e638", kill_on_drop: false }`
[INFO] [stdout] 2d12d8bc5ff7cd8dfb4fb70cf3f74bb8b66313779a4eb04760bb59649ad7e638
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bff088f0cbfbe153d127348bd73813f91b67886860df3c26a4780f0c93849d88
[INFO] running `Command { std: "docker" "start" "-a" "bff088f0cbfbe153d127348bd73813f91b67886860df3c26a4780f0c93849d88", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling syn v2.0.111
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking socket2 v0.6.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.7
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking tempfile v3.23.0
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]    Compiling darling_core v0.21.3
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling schemars_derive v1.1.0
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v2.0.17
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking axum-core v0.5.5
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling darling_macro v0.21.3
[INFO] [stderr]    Compiling darling v0.21.3
[INFO] [stderr]    Compiling rmcp-macros v0.9.1
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking chrono v0.4.42
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking schemars v1.1.0
[INFO] [stderr]     Checking hyper v1.8.1
[INFO] [stderr]     Checking tokio-util v0.7.17
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking rmcp v0.9.1
[INFO] [stderr]     Checking hyper-util v0.1.18
[INFO] [stderr]     Checking axum v0.8.7
[INFO] [stderr]     Checking rust-mcp-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Position` is never constructed
[INFO] [stdout]  --> src/models.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Position {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Range` is never constructed
[INFO] [stdout]   --> src/models.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Range {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Diagnostic` is never constructed
[INFO] [stdout]   --> src/models.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Diagnostic {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SymbolInfo` is never constructed
[INFO] [stdout]   --> src/models.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct SymbolInfo {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReferenceLocation` is never constructed
[INFO] [stdout]   --> src/models.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ReferenceLocation {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallGraph` is never constructed
[INFO] [stdout]   --> src/models.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct CallGraph {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeUsageGraph` is never constructed
[INFO] [stdout]   --> src/models.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct TypeUsageGraph {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ModuleDependencyGraph` is never constructed
[INFO] [stdout]   --> src/models.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct ModuleDependencyGraph {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FunctionInfo` is never constructed
[INFO] [stdout]   --> src/models.rs:52:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct FunctionInfo {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StructInfo` is never constructed
[INFO] [stdout]   --> src/models.rs:63:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub struct StructInfo {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EnumInfo` is never constructed
[INFO] [stdout]   --> src/models.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct EnumInfo {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WorkspaceGraphs` is never constructed
[INFO] [stdout]   --> src/models.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct WorkspaceGraphs {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CheckFileParams` is never constructed
[INFO] [stdout]   --> src/models.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub struct CheckFileParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `IndexWorkspaceParams` is never constructed
[INFO] [stdout]   --> src/models.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 96 | pub struct IndexWorkspaceParams {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GotoDefinitionParams` is never constructed
[INFO] [stdout]    --> src/models.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub struct GotoDefinitionParams {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FindReferencesParams` is never constructed
[INFO] [stdout]    --> src/models.rs:106:12
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub struct FindReferencesParams {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SymbolCollector` is never constructed
[INFO] [stdout]  --> src/visitors.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct SymbolCollector {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ReferenceFinder` is never constructed
[INFO] [stdout]   --> src/visitors.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub struct ReferenceFinder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallGraphCollector` is never constructed
[INFO] [stdout]    --> src/visitors.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct CallGraphCollector {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `calculate_complexity` and `calculate_expr_complexity` are never used
[INFO] [stdout]    --> src/visitors.rs:193:8
[INFO] [stdout]     |
[INFO] [stdout] 192 | impl CallGraphCollector {
[INFO] [stdout]     | ----------------------- methods in this implementation
[INFO] [stdout] 193 |     fn calculate_complexity(&mut self, block: &syn::Block, complexity: &mut usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 209 |     fn calculate_expr_complexity(&mut self, expr: &syn::Expr, complexity: &mut usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TypeUsageCollector` is never constructed
[INFO] [stdout]    --> src/visitors.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | pub struct TypeUsageCollector {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ModuleDependencyCollector` is never constructed
[INFO] [stdout]    --> src/visitors.rs:312:12
[INFO] [stdout]     |
[INFO] [stdout] 312 | pub struct ModuleDependencyCollector {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_use_paths` is never used
[INFO] [stdout]    --> src/visitors.rs:328:4
[INFO] [stdout]     |
[INFO] [stdout] 328 | fn extract_use_paths(tree: &syn::UseTree, deps: &mut Vec<String>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `map` is never read
[INFO] [stdout]   --> src/cache.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct AstCache {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 11 |     map: Arc<RwLock<HashMap<String, String>>>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AstCache` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `insert`, `get`, and `get_all` are never used
[INFO] [stdout]   --> src/cache.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl AstCache {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub async fn insert(&self, path: String, code: String) {
[INFO] [stdout]    |                  ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub async fn get(&self, path: &str) -> Option<String> {
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub async fn get_all(&self) -> HashMap<String, String> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `cache` is never read
[INFO] [stdout]   --> src/cache.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct MyServer {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 39 |     pub cache: AstCache,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MyServer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_file` is never used
[INFO] [stdout]   --> src/tools/check_file.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn check_file(
[INFO] [stdout]    |              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index_workspace` is never used
[INFO] [stdout]   --> src/tools/index_workspace.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub async fn index_workspace(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `detect_unused_functions` is never used
[INFO] [stdout]    --> src/tools/index_workspace.rs:111:4
[INFO] [stdout]     |
[INFO] [stdout] 111 | fn detect_unused_functions(functions: &[FunctionInfo], call_graph: &HashMap<String, Vec<String>>) -> Vec<String> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_refactoring_suggestions` is never used
[INFO] [stdout]    --> src/tools/index_workspace.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn generate_refactoring_suggestions(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `goto_definition` is never used
[INFO] [stdout]   --> src/tools/goto_definition.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn goto_definition(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_references` is never used
[INFO] [stdout]   --> src/tools/find_references.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn find_references(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s
[INFO] running `Command { std: "docker" "inspect" "bff088f0cbfbe153d127348bd73813f91b67886860df3c26a4780f0c93849d88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bff088f0cbfbe153d127348bd73813f91b67886860df3c26a4780f0c93849d88", kill_on_drop: false }`
[INFO] [stdout] bff088f0cbfbe153d127348bd73813f91b67886860df3c26a4780f0c93849d88
