[INFO] fetching crate rust-analyzer-mcp 0.2.0... [INFO] building rust-analyzer-mcp-0.2.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate rust-analyzer-mcp 0.2.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rust-analyzer-mcp 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rust-analyzer-mcp 0.2.0 [INFO] tweaked toml for crates.io crate rust-analyzer-mcp 0.2.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-analyzer-mcp 0.2.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-analyzer-mcp 0.2.0 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f157c170af668937ed287f6ecfdb4372319159650a09de4a965955ba480488f7 [INFO] running `Command { std: "docker" "start" "-a" "f157c170af668937ed287f6ecfdb4372319159650a09de4a965955ba480488f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f157c170af668937ed287f6ecfdb4372319159650a09de4a965955ba480488f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f157c170af668937ed287f6ecfdb4372319159650a09de4a965955ba480488f7", kill_on_drop: false }` [INFO] [stdout] f157c170af668937ed287f6ecfdb4372319159650a09de4a965955ba480488f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47045ce48fddf17556183b237d9044ad7f9b5d677e67665956a30ff2fae53cb [INFO] running `Command { std: "docker" "start" "-a" "d47045ce48fddf17556183b237d9044ad7f9b5d677e67665956a30ff2fae53cb", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rust-analyzer-mcp v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.19s [INFO] running `Command { std: "docker" "inspect" "d47045ce48fddf17556183b237d9044ad7f9b5d677e67665956a30ff2fae53cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47045ce48fddf17556183b237d9044ad7f9b5d677e67665956a30ff2fae53cb", kill_on_drop: false }` [INFO] [stdout] d47045ce48fddf17556183b237d9044ad7f9b5d677e67665956a30ff2fae53cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5109601a96718566c3d3e85c16933e0b7af14eedda363d91316c98ca5b2fd3ff [INFO] running `Command { std: "docker" "start" "-a" "5109601a96718566c3d3e85c16933e0b7af14eedda363d91316c98ca5b2fd3ff", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling float-cmp v0.10.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling borrow-or-share v0.2.2 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling vsimd v0.8.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling outref v0.5.2 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling which v6.0.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling arbitrary v1.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [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 v1.47.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling test-log-macros v0.2.18 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling test-log v0.2.18 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.23.0 [INFO] [stderr] Compiling mockall v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling referencing v0.25.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling deadpool v0.12.2 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling serde_test v1.0.177 [INFO] [stderr] Compiling rust-analyzer-mcp v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling wiremock v0.6.5 [INFO] [stderr] Compiling jsonschema v0.25.1 [INFO] [stdout] error[E0432]: unresolved import `test_support` [INFO] [stdout] --> tests/stress/concurrent_requests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_support::{is_ci, timeouts, IpcClient}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_support`, use `cargo add test_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_support` [INFO] [stdout] --> tests/integration/diagnostics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use test_support::IpcClient; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_support`, use `cargo add test_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_support` [INFO] [stdout] --> tests/integration/mcp_server_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use test_support::{is_ci, timeouts, IpcClient}; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_support`, use `cargo add test_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let temp_client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 209 | let workspace_path = temp_client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `temp_client` an explicit type [INFO] [stdout] | [INFO] [stdout] 208 | let temp_client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let temp_client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 12 | let workspace_path = temp_client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `temp_client` an explicit type [INFO] [stdout] | [INFO] [stdout] 11 | let temp_client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | .call_tool("rust_analyzer_symbols", json!({"file_path": main_path_str})) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 218 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | let temp_client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 239 | let workspace_path = temp_client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `temp_client` an explicit type [INFO] [stdout] | [INFO] [stdout] 238 | let temp_client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:247:13 [INFO] [stdout] | [INFO] [stdout] 247 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 248 | let response = client [INFO] [stdout] 249 | .call_tool("rust_analyzer_symbols", json!({"file_path": main_path_str})) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 247 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | assert!(response.get("content").is_some()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 248 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 260 | let response = client [INFO] [stdout] 261 | .call_tool("rust_analyzer_symbols", json!({"file_path": main_path_str})) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 259 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | assert!(response.get("content").is_some()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 260 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `test_support` [INFO] [stdout] --> tests/integration/mcp_server_test.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let second_project = test_support::IsolatedProject::new()?; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `test_support` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `test_support`, use `cargo add test_support` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | client.call_tool(tool, args).await [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 51 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | let temp_client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 273 | let workspace_path = temp_client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `temp_client` an explicit type [INFO] [stdout] | [INFO] [stdout] 272 | let temp_client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:299:54 [INFO] [stdout] | [INFO] [stdout] 299 | let futures = files.iter().cycle().take(20).map(|file| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 300 | let file = file.clone(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 299 | let futures = files.iter().cycle().take(20).map(|file: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:302:17 [INFO] [stdout] | [INFO] [stdout] 302 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 303 | client [INFO] [stdout] 304 | .call_tool("rust_analyzer_symbols", json!({"file_path": file})) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 302 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | client.call_tool(tool, args).await [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 63 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:77:21 [INFO] [stdout] | [INFO] [stdout] 77 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 78 | client.call_tool(tool, args).await [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 77 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let temp_client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | let workspace_path = temp_client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `temp_client` an explicit type [INFO] [stdout] | [INFO] [stdout] 98 | let temp_client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | .call_tool("rust_analyzer_symbols", json!({"file_path": main_path_str})) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 105 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | assert!(response.get("content").is_some()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 111 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | let temp_client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 136 | let workspace_path = temp_client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `temp_client` an explicit type [INFO] [stdout] | [INFO] [stdout] 135 | let temp_client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | assert!(response.get("content").is_some()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 220 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | let Some(content) = response.get("content") else { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 221 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:238:31 [INFO] [stdout] | [INFO] [stdout] 238 | let Some(text_str) = text.as_str() else { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/stress/concurrent_requests.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | .call_tool("rust_analyzer_symbols", json!({"file_path": main_path_str})) [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 147 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | let Some(content) = response.get("content") else { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 268 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | if !content.is_array() || content[0].is_null() { [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:291:31 [INFO] [stdout] | [INFO] [stdout] 291 | let Some(text_str) = text.as_str() else { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:312:9 [INFO] [stdout] | [INFO] [stdout] 312 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | let Some(content) = response.get("content") else { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 312 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 331 | if text.as_str() == Some("null") { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | let Some(content) = response.get("content") else { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 345 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | if text.as_str() == Some("null") { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 389 | let Some(content) = response.get("content") else { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 378 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 397 | let Some(text_str) = text.as_str() else { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | let Some(content) = response.get("content") else { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 421 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:438:31 [INFO] [stdout] | [INFO] [stdout] 438 | let Some(text_str) = text.as_str() else { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | let Some(content) = response.get("content") else { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 450 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:467:31 [INFO] [stdout] | [INFO] [stdout] 467 | let Some(text_str) = text.as_str() else { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 502 | let Some(content) = response.get("content") else { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 489 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:510:31 [INFO] [stdout] | [INFO] [stdout] 510 | let Some(text_str) = text.as_str() else { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/diagnostics.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut client = IpcClient::get_or_create("test-project-diagnostics").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | let workspace_path = client.workspace_path(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 23 | let mut client: /* Type */ = IpcClient::get_or_create("test-project-diagnostics").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/diagnostics.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let mut client = IpcClient::get_or_create("test-project-diagnostics").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 105 | let workspace_path = client.workspace_path(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 104 | let mut client: /* Type */ = IpcClient::get_or_create("test-project-diagnostics").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-analyzer-mcp` (test "stress_tests") due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/diagnostics.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 175 | let mut client = IpcClient::get_or_create("test-project-diagnostics").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 176 | let workspace_path = client.workspace_path(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 175 | let mut client: /* Type */ = IpcClient::get_or_create("test-project-diagnostics").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/diagnostics.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | .call_tool( [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 244 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result` [INFO] [stdout] --> tests/integration/diagnostics.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | e.to_string().contains("No such file") || e.to_string().contains("not found"), [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 247 | let response: Result<_, E> = client [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/diagnostics.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | let mut client = IpcClient::get_or_create("test-project-diagnostics").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 284 | let workspace_path = client.workspace_path(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 283 | let mut client: /* Type */ = IpcClient::get_or_create("test-project-diagnostics").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | let response = client.send_request("tools/list", None).await?; [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 10 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let response = client.send_request("tools/list", None).await?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | assert!(response.get("tools").is_some()); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 14 | let response: /* Type */ = client.send_request("tools/list", None).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | let workspace_path = client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 31 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | .call_tool( [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | let response = client [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | if let Some(content) = response.get("content") { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `response` an explicit type [INFO] [stdout] | [INFO] [stdout] 107 | let response: /* Type */ = client [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 120 | text.as_str().unwrap_or("").contains("changed") [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 133 | let workspace_path = client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 132 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:147:44 [INFO] [stdout] | [INFO] [stdout] 147 | "file_path": file_path.to_str().unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/integration/mcp_server_test.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | if let Some(content) = response.get("content") { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 143 | let result: Result<_, E> = client [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:157:51 [INFO] [stdout] | [INFO] [stdout] 157 | serde_json::from_str(text.as_str().unwrap_or("[]")).unwrap_or_default(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let mut client = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 174 | let workspace_path = client.workspace_path().to_path_buf(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `client` an explicit type [INFO] [stdout] | [INFO] [stdout] 173 | let mut client: /* Type */ = IpcClient::get_or_create("test-project").await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/integration/mcp_server_test.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let result = client [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | if let Some(content) = response.get("content") { [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 186 | let result: Result<_, E> = client [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration/mcp_server_test.rs:202:51 [INFO] [stdout] | [INFO] [stdout] 202 | serde_json::from_str(text.as_str().unwrap_or("[]")).unwrap_or_default(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-analyzer-mcp` (test "integration_tests") due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "5109601a96718566c3d3e85c16933e0b7af14eedda363d91316c98ca5b2fd3ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5109601a96718566c3d3e85c16933e0b7af14eedda363d91316c98ca5b2fd3ff", kill_on_drop: false }` [INFO] [stdout] 5109601a96718566c3d3e85c16933e0b7af14eedda363d91316c98ca5b2fd3ff