[INFO] cloning repository https://github.com/pedrozoalencar/mcp-rust-analyzer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedrozoalencar/mcp-rust-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrozoalencar%2Fmcp-rust-analyzer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrozoalencar%2Fmcp-rust-analyzer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3e28ade2ebd7d64ccff84af3b43ddd76b2496017
[INFO] building pedrozoalencar/mcp-rust-analyzer against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrozoalencar%2Fmcp-rust-analyzer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pedrozoalencar/mcp-rust-analyzer
[INFO] finished tweaking git repo https://github.com/pedrozoalencar/mcp-rust-analyzer
[INFO] tweaked toml for git repo https://github.com/pedrozoalencar/mcp-rust-analyzer written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pedrozoalencar/mcp-rust-analyzer on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pedrozoalencar/mcp-rust-analyzer 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tower-lsp-macros v0.9.0
[INFO] [stderr]   Downloaded jsonrpc-lite v0.6.0
[INFO] [stderr]   Downloaded tower-lsp v0.20.0
[INFO] [stderr]   Downloaded auto_impl v1.3.0
[INFO] [stderr]   Downloaded lsp-types v0.94.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5da4893abb8a473a29e04e5fe00822b5047b926f84b234285ed46bb9e3a7eb35
[INFO] running `Command { std: "docker" "start" "-a" "5da4893abb8a473a29e04e5fe00822b5047b926f84b234285ed46bb9e3a7eb35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5da4893abb8a473a29e04e5fe00822b5047b926f84b234285ed46bb9e3a7eb35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5da4893abb8a473a29e04e5fe00822b5047b926f84b234285ed46bb9e3a7eb35", kill_on_drop: false }`
[INFO] [stdout] 5da4893abb8a473a29e04e5fe00822b5047b926f84b234285ed46bb9e3a7eb35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9987ac4885dad0705a01af4f1fe361fbb5806044b350214c918f14190c823d76
[INFO] running `Command { std: "docker" "start" "-a" "9987ac4885dad0705a01af4f1fe361fbb5806044b350214c918f14190c823d76", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling dirs v5.0.1
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling dashmap v5.5.3
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling clap_derive v4.5.40
[INFO] [stderr]    Compiling tower-lsp-macros v0.9.0
[INFO] [stderr]    Compiling auto_impl v1.3.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.11.2
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling clap v4.5.40
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling lsp-types v0.94.1
[INFO] [stderr]    Compiling jsonrpc-lite v0.6.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling hyper-util v0.1.14
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling tower-lsp v0.20.0
[INFO] [stderr]    Compiling mcp-rust-analyzer v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `child`
[INFO] [stdout]    --> src/http_client.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let child = cmd.spawn()
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_child`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stdout]    --> src/http_client.rs:144:17
[INFO] [stdout]     |
[INFO] [stdout] 144 |             use std::os::unix::process::CommandExt;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestData` is never constructed
[INFO] [stdout]   --> src/server.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct RequestData {
[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 `NotificationData` is never constructed
[INFO] [stdout]   --> src/server.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct NotificationData {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/analyzer.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct TextSize(u32);
[INFO] [stdout]    |            -------- ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `TextSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start` and `end` are never read
[INFO] [stdout]   --> src/analyzer.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct TextRange {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 31 |     start: TextSize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 32 |     end: TextSize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `host`, `vfs`, and `file_counter` are never read
[INFO] [stdout]   --> src/analyzer.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct RustAnalyzer {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     host: AnalysisHost,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 53 |     analysis: Analysis,
[INFO] [stdout] 54 |     vfs: Arc<Vfs>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 55 |     file_counter: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcRequest` is never constructed
[INFO] [stdout]   --> src/http_server.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct JsonRpcRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed
[INFO] [stdout]   --> src/http_server.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct JsonRpcResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s
[INFO] running `Command { std: "docker" "inspect" "9987ac4885dad0705a01af4f1fe361fbb5806044b350214c918f14190c823d76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9987ac4885dad0705a01af4f1fe361fbb5806044b350214c918f14190c823d76", kill_on_drop: false }`
[INFO] [stdout] 9987ac4885dad0705a01af4f1fe361fbb5806044b350214c918f14190c823d76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 71d50f60a149844732424fcb3c24191a03548a072d662d60e06b66c140824855
[INFO] running `Command { std: "docker" "start" "-a" "71d50f60a149844732424fcb3c24191a03548a072d662d60e06b66c140824855", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.45.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tokio-util v0.7.15
[INFO] [stderr]    Compiling hyper v1.6.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tower-lsp v0.20.0
[INFO] [stderr]    Compiling hyper-util v0.1.14
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling mcp-rust-analyzer v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `child`
[INFO] [stdout]    --> src/http_client.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let child = cmd.spawn()
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_child`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stdout]    --> src/http_client.rs:144:17
[INFO] [stdout]     |
[INFO] [stdout] 144 |             use std::os::unix::process::CommandExt;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestData` is never constructed
[INFO] [stdout]   --> src/server.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct RequestData {
[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 `NotificationData` is never constructed
[INFO] [stdout]   --> src/server.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct NotificationData {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/analyzer.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct TextSize(u32);
[INFO] [stdout]    |            -------- ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `TextSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start` and `end` are never read
[INFO] [stdout]   --> src/analyzer.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct TextRange {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 31 |     start: TextSize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 32 |     end: TextSize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `host`, `vfs`, and `file_counter` are never read
[INFO] [stdout]   --> src/analyzer.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct RustAnalyzer {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     host: AnalysisHost,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 53 |     analysis: Analysis,
[INFO] [stdout] 54 |     vfs: Arc<Vfs>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 55 |     file_counter: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcRequest` is never constructed
[INFO] [stdout]   --> src/http_server.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct JsonRpcRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed
[INFO] [stdout]   --> src/http_server.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct JsonRpcResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `child`
[INFO] [stdout]    --> src/http_client.rs:148:13
[INFO] [stdout]     |
[INFO] [stdout] 148 |         let child = cmd.spawn()
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_child`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stdout]    --> src/http_client.rs:144:17
[INFO] [stdout]     |
[INFO] [stdout] 144 |             use std::os::unix::process::CommandExt;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestData` is never constructed
[INFO] [stdout]   --> src/server.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct RequestData {
[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 `NotificationData` is never constructed
[INFO] [stdout]   --> src/server.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct NotificationData {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/analyzer.rs:27:21
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct TextSize(u32);
[INFO] [stdout]    |            -------- ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `TextSize` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start` and `end` are never read
[INFO] [stdout]   --> src/analyzer.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct TextRange {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] 31 |     start: TextSize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 32 |     end: TextSize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TextRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `host`, `vfs`, and `file_counter` are never read
[INFO] [stdout]   --> src/analyzer.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct RustAnalyzer {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 52 |     host: AnalysisHost,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 53 |     analysis: Analysis,
[INFO] [stdout] 54 |     vfs: Arc<Vfs>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 55 |     file_counter: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcRequest` is never constructed
[INFO] [stdout]   --> src/http_server.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | struct JsonRpcRequest {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JsonRpcResponse` is never constructed
[INFO] [stdout]   --> src/http_server.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | struct JsonRpcResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CommandHandler`
[INFO] [stdout]  --> tests/server_tests.rs:1:44
[INFO] [stdout]   |
[INFO] [stdout] 1 | use mcp_rust_analyzer::server::{McpServer, CommandHandler};
[INFO] [stdout]   |                                            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `birthday` is never used
[INFO] [stdout]   --> examples/demo.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Person {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     fn birthday(&mut self) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `mcp_rust_analyzer::server::CommandHandler`
[INFO] [stdout]  --> tests/completion_tests.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use mcp_rust_analyzer::server::CommandHandler;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]  --> tests/completion_tests.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let commands = CompletionCommands;
[INFO] [stdout]   |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `expected_content`
[INFO] [stdout]   --> tests/completion_tests.rs:17:24
[INFO] [stdout]    |
[INFO] [stdout] 17 |     for (snippet_name, expected_content) in test_cases {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LspClient`
[INFO] [stdout]  --> tests/simple_lsp_test.rs:2:37
[INFO] [stdout]   |
[INFO] [stdout] 2 | use mcp_rust_analyzer::lsp_client::{LspClient, LspClientConfig};
[INFO] [stdout]   |                                     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]    --> tests/mcp_response_format_tests.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |         assert!(metrics[field].as_u64().unwrap() >= 0);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 49.50s
[INFO] running `Command { std: "docker" "inspect" "71d50f60a149844732424fcb3c24191a03548a072d662d60e06b66c140824855", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "71d50f60a149844732424fcb3c24191a03548a072d662d60e06b66c140824855", kill_on_drop: false }`
[INFO] [stdout] 71d50f60a149844732424fcb3c24191a03548a072d662d60e06b66c140824855
