[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] testing pedrozoalencar/mcp-rust-analyzer against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrozoalencar%2Fmcp-rust-analyzer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pedrozoalencar/mcp-rust-analyzer on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonrpc-lite v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2a2c9d6815ebf58f480102af472045b4d17590d95d60b839a8eb399a13f7199 [INFO] running `Command { std: "docker" "start" "-a" "c2a2c9d6815ebf58f480102af472045b4d17590d95d60b839a8eb399a13f7199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2a2c9d6815ebf58f480102af472045b4d17590d95d60b839a8eb399a13f7199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a2c9d6815ebf58f480102af472045b4d17590d95d60b839a8eb399a13f7199", kill_on_drop: false }` [INFO] [stdout] c2a2c9d6815ebf58f480102af472045b4d17590d95d60b839a8eb399a13f7199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a716eeb10dd829ada0ddd3da5d258bb1a7cfdbfbf20c2f22d3fd2d9c54fec3b3 [INFO] running `Command { std: "docker" "start" "-a" "a716eeb10dd829ada0ddd3da5d258bb1a7cfdbfbf20c2f22d3fd2d9c54fec3b3", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling displaydoc v0.2.5 [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 auto_impl v1.3.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling pin-project v1.1.10 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [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 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 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: 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: 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, [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 06s [INFO] running `Command { std: "docker" "inspect" "a716eeb10dd829ada0ddd3da5d258bb1a7cfdbfbf20c2f22d3fd2d9c54fec3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a716eeb10dd829ada0ddd3da5d258bb1a7cfdbfbf20c2f22d3fd2d9c54fec3b3", kill_on_drop: false }` [INFO] [stdout] a716eeb10dd829ada0ddd3da5d258bb1a7cfdbfbf20c2f22d3fd2d9c54fec3b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8934332489fc4b61db288e71361e11f622e5ba66c30eff9ae0d67ee6cce131c [INFO] running `Command { std: "docker" "start" "-a" "a8934332489fc4b61db288e71361e11f622e5ba66c30eff9ae0d67ee6cce131c", 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 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: 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: 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, [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: `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: 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: 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, [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: 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] [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: `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: 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 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: 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] [stderr] error: could not compile `mcp-rust-analyzer` (lib test); 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/0d162b25edd5bf0dba9a22e83b614f1113e90474/bin/rustc --crate-name mcp_rust_analyzer --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=bf1fc6a138c77824 -C extra-filename=-38bb3d840f78adee --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-e1510cbfe26654d3.rlib --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-f59aa8fc39e30793.so --extern atty=/opt/rustwide/target/debug/deps/libatty-82c284339e8c9054.rlib --extern axum=/opt/rustwide/target/debug/deps/libaxum-882f1ad2cee9b796.rlib --extern chrono=/opt/rustwide/target/debug/deps/libchrono-b81d9dcd2ddf20c5.rlib --extern clap=/opt/rustwide/target/debug/deps/libclap-6d341c72ab130966.rlib --extern dirs=/opt/rustwide/target/debug/deps/libdirs-8f398358cbc1898b.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-6d93869840d76128.rlib --extern hyper=/opt/rustwide/target/debug/deps/libhyper-5f18d2a2d8310525.rlib --extern jsonrpc_lite=/opt/rustwide/target/debug/deps/libjsonrpc_lite-56155a6f2cc28f68.rlib --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-1779b3c5921047a6.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-32e921278d15781a.rlib --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-298244fe4dba2d59.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-6daf12c3a12dfd96.rlib --extern tokio_test=/opt/rustwide/target/debug/deps/libtokio_test-541f8d4b0e63f450.rlib --extern tower=/opt/rustwide/target/debug/deps/libtower-bf72bbdd48c93ca0.rlib --extern tower_http=/opt/rustwide/target/debug/deps/libtower_http-abb2c9add0c2459e.rlib --extern tower_lsp=/opt/rustwide/target/debug/deps/libtower_lsp-6bc7af626b0fe320.rlib --extern tracing=/opt/rustwide/target/debug/deps/libtracing-dbcbdf03f939db58.rlib --extern tracing_subscriber=/opt/rustwide/target/debug/deps/libtracing_subscriber-981a971d6ec80ca6.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a8934332489fc4b61db288e71361e11f622e5ba66c30eff9ae0d67ee6cce131c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8934332489fc4b61db288e71361e11f622e5ba66c30eff9ae0d67ee6cce131c", kill_on_drop: false }` [INFO] [stdout] a8934332489fc4b61db288e71361e11f622e5ba66c30eff9ae0d67ee6cce131c