[INFO] cloning repository https://github.com/netbrah/pyrefly-mcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/netbrah/pyrefly-mcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetbrah%2Fpyrefly-mcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetbrah%2Fpyrefly-mcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d14a61ac9681a2b6210d3f04bf25047721e886da [INFO] checking netbrah/pyrefly-mcp against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetbrah%2Fpyrefly-mcp" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/netbrah/pyrefly-mcp [INFO] finished tweaking git repo https://github.com/netbrah/pyrefly-mcp [INFO] tweaked toml for git repo https://github.com/netbrah/pyrefly-mcp written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/netbrah/pyrefly-mcp on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/netbrah/pyrefly-mcp 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474 [INFO] running `Command { std: "docker" "start" "48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.55 [INFO] [stderr] Checking futures-core v0.3.33 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Checking futures-sink v0.3.33 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Checking futures-io v0.3.33 [INFO] [stderr] Checking futures-task v0.3.33 [INFO] [stderr] Compiling either v1.17.0 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling bytes v1.12.1 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Checking futures-channel v0.3.33 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fastrand v2.5.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking http-body-util v0.1.4 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling siphasher v1.0.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling malachite-nz v0.4.22 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.10 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Compiling ref-cast v1.0.26 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling thiserror v2.0.19 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling rmcp v1.8.0 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking glob v0.3.4 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rustpython-parser-vendored v0.4.0 [INFO] [stderr] Compiling pastey v0.2.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking uuid v1.24.0 [INFO] [stderr] Compiling serde_derive_internals v0.30.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling async-trait v0.1.91 [INFO] [stderr] Compiling ref-cast-impl v1.0.26 [INFO] [stderr] Compiling thiserror-impl v2.0.19 [INFO] [stderr] Compiling schemars_derive v1.2.2 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Compiling futures-macro v0.3.33 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Checking pin-project v1.1.13 [INFO] [stderr] Checking futures-util v0.3.33 [INFO] [stderr] Checking rustpython-parser-core v0.4.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking opentelemetry v0.27.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.7 [INFO] [stderr] Compiling prost-types v0.13.5 [INFO] [stderr] Checking serde v1.0.229 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Checking malachite-base v0.4.22 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling rmcp-macros v1.8.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling unicode_names2_generator v1.3.0 [INFO] [stderr] Compiling rustpython-parser v0.4.0 [INFO] [stderr] Compiling unicode_names2 v1.3.0 [INFO] [stderr] Compiling prost-build v0.13.5 [INFO] [stderr] Checking schemars v1.2.2 [INFO] [stderr] Checking futures-executor v0.3.33 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.33 [INFO] [stderr] Compiling tonic-build v0.12.3 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking tokio-stream v0.1.19 [INFO] [stderr] Compiling mcp v0.1.0 (/opt/rustwide/workdir/crates/mcp) [INFO] [stderr] Compiling oracle v0.1.0 (/opt/rustwide/workdir/crates/oracle) [INFO] [stderr] Checking opentelemetry_sdk v0.27.1 [INFO] [stderr] Checking h2 v0.4.15 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking tracing-opentelemetry v0.28.0 [INFO] [stderr] Checking hyper v1.11.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking tonic v0.12.3 [INFO] [stderr] Checking opentelemetry-proto v0.27.0 [INFO] [stderr] Checking tonic-health v0.12.3 [INFO] [stderr] Checking malachite-q v0.4.22 [INFO] [stderr] Checking opentelemetry-otlp v0.27.0 [INFO] [stderr] Checking malachite v0.4.22 [INFO] [stderr] Checking malachite-bigint v0.2.3 [INFO] [stderr] Checking rustpython-ast v0.4.0 [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> crates/oracle/src/astcalls.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct IncomingCall { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncomingCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `incoming_calls` is never used [INFO] [stdout] --> crates/oracle/src/astcalls.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn incoming_calls(files: &[(String, String, String, Vec<(u32, u32)>)]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> crates/oracle/src/hierarchy.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RelatedClass { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelatedClass` 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: field `notification_sink` is never read [INFO] [stdout] --> crates/oracle/src/lsp.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct LspClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | notification_sink: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_notification_sink` is never used [INFO] [stdout] --> crates/oracle/src/lsp.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 85 | impl LspClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn set_notification_sink(&self, sink: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `started_at` is never read [INFO] [stdout] --> crates/oracle/src/server.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct OracleState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub started_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_id`, `workspace_root`, and `created_at` are never read [INFO] [stdout] --> crates/oracle/src/session.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | pub id: String, [INFO] [stdout] 49 | pub client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub workspace_root: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub created_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text_len` is never read [INFO] [stdout] --> crates/oracle/src/session.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct OverlayState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 59 | pub version: i32, [INFO] [stdout] 60 | pub text_len: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> crates/oracle/src/astcalls.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct IncomingCall { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IncomingCall` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `incoming_calls` is never used [INFO] [stdout] --> crates/oracle/src/astcalls.rs:485:8 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn incoming_calls(files: &[(String, String, String, Vec<(u32, u32)>)]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> crates/oracle/src/hierarchy.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RelatedClass { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RelatedClass` 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: field `notification_sink` is never read [INFO] [stdout] --> crates/oracle/src/lsp.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct LspClient { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | notification_sink: Arc>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_notification_sink` is never used [INFO] [stdout] --> crates/oracle/src/lsp.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 85 | impl LspClient { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn set_notification_sink(&self, sink: Option>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_members` is never used [INFO] [stdout] --> crates/oracle/src/resolve.rs:631:4 [INFO] [stdout] | [INFO] [stdout] 631 | fn collect_members( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `started_at` is never read [INFO] [stdout] --> crates/oracle/src/server.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct OracleState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub started_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client_id`, `workspace_root`, and `created_at` are never read [INFO] [stdout] --> crates/oracle/src/session.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | pub id: String, [INFO] [stdout] 49 | pub client_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub workspace_root: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub created_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `text_len` is never read [INFO] [stdout] --> crates/oracle/src/session.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct OverlayState { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 59 | pub version: i32, [INFO] [stdout] 60 | pub text_len: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474", kill_on_drop: false }` [INFO] [stdout] 48edab3ca0214bdd056b8b7464b3e31636e81692f1d5f59fb1eafa86e1bde474