[INFO] cloning repository https://github.com/rummolprod999/rust_generics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rummolprod999/rust_generics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frummolprod999%2Frust_generics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frummolprod999%2Frust_generics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b8b176b1f85a90ade432385d8429cf05ed59c6a9 [INFO] checking rummolprod999/rust_generics against try#a0cd57eba5d417638d3351ba13fc414ad1a24bec for pr-134688-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frummolprod999%2Frust_generics" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rummolprod999/rust_generics on toolchain a0cd57eba5d417638d3351ba13fc414ad1a24bec [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rummolprod999/rust_generics [INFO] finished tweaking git repo https://github.com/rummolprod999/rust_generics [INFO] tweaked toml for git repo https://github.com/rummolprod999/rust_generics written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rummolprod999/rust_generics 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" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4db418aa55dfa5a3f255716bc2188c41024fda7fb6badd955667c5dac0ce3ff6 [INFO] running `Command { std: "docker" "start" "-a" "4db418aa55dfa5a3f255716bc2188c41024fda7fb6badd955667c5dac0ce3ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4db418aa55dfa5a3f255716bc2188c41024fda7fb6badd955667c5dac0ce3ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db418aa55dfa5a3f255716bc2188c41024fda7fb6badd955667c5dac0ce3ff6", kill_on_drop: false }` [INFO] [stdout] 4db418aa55dfa5a3f255716bc2188c41024fda7fb6badd955667c5dac0ce3ff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+a0cd57eba5d417638d3351ba13fc414ad1a24bec" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 943dfed3f07ee0a3e6e2a6fd1b4ac1c790774f02e3c196bcc9be5104702b467a [INFO] running `Command { std: "docker" "start" "-a" "943dfed3f07ee0a3e6e2a6fd1b4ac1c790774f02e3c196bcc9be5104702b467a", kill_on_drop: false }` [INFO] [stderr] Checking rust_generics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `n1` [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | fn has_edge(&self, n1: &G, n2: &G) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n2` [INFO] [stdout] --> src/main.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn has_edge(&self, n1: &G, n2: &G) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn edges(&self, n: &G) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n1` [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn i_has_edge(&self, n1: &T, n2: &T) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n2` [INFO] [stdout] --> src/main.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | fn i_has_edge(&self, n1: &T, n2: &T) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn i_edges(&self, n: &T) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/main.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn i_distance>(graph: &G, start: &N, end: &N) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | fn i_distance>(graph: &G, start: &N, end: &N) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | fn i_distance>(graph: &G, start: &N, end: &N) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/main.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn distance(graph: &G, start: &G::N, end: &G::N) -> u32 { 32 } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | fn distance(graph: &G, start: &G::N, end: &G::N) -> u32 { 32 } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | fn distance(graph: &G, start: &G::N, end: &G::N) -> u32 { 32 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `i_edges` is never used [INFO] [stdout] --> src/main.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | trait Graph { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 2 | fn i_has_edge(&self, _: &N, _: &N) -> bool; [INFO] [stdout] 3 | fn i_edges(&self, _: &N) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `edges` is never used [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 7 | trait GraphAssoc { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn edges(&self, _: &Self::N) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_distance` is never used [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn i_distance>(graph: &G, start: &N, end: &N) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn distance(graph: &G, start: &G::N, end: &G::N) -> u32 { 32 } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n1` [INFO] [stdout] --> src/main.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | fn has_edge(&self, n1: &G, n2: &G) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n2` [INFO] [stdout] --> src/main.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | fn has_edge(&self, n1: &G, n2: &G) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | fn edges(&self, n: &G) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n1` [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn i_has_edge(&self, n1: &T, n2: &T) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n2` [INFO] [stdout] --> src/main.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | fn i_has_edge(&self, n1: &T, n2: &T) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_n2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | fn i_edges(&self, n: &T) -> Vec { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/main.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | fn i_distance>(graph: &G, start: &N, end: &N) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | fn i_distance>(graph: &G, start: &N, end: &N) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | fn i_distance>(graph: &G, start: &N, end: &N) -> u32 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/main.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn distance(graph: &G, start: &G::N, end: &G::N) -> u32 { 32 } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/main.rs:44:39 [INFO] [stdout] | [INFO] [stdout] 44 | fn distance(graph: &G, start: &G::N, end: &G::N) -> u32 { 32 } [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> src/main.rs:44:53 [INFO] [stdout] | [INFO] [stdout] 44 | fn distance(graph: &G, start: &G::N, end: &G::N) -> u32 { 32 } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `i_edges` is never used [INFO] [stdout] --> src/main.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | trait Graph { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] 2 | fn i_has_edge(&self, _: &N, _: &N) -> bool; [INFO] [stdout] 3 | fn i_edges(&self, _: &N) -> Vec; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `edges` is never used [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 7 | trait GraphAssoc { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn edges(&self, _: &Self::N) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i_distance` is never used [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn i_distance>(graph: &G, start: &N, end: &N) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `distance` is never used [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn distance(graph: &G, start: &G::N, end: &G::N) -> u32 { 32 } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "943dfed3f07ee0a3e6e2a6fd1b4ac1c790774f02e3c196bcc9be5104702b467a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "943dfed3f07ee0a3e6e2a6fd1b4ac1c790774f02e3c196bcc9be5104702b467a", kill_on_drop: false }` [INFO] [stdout] 943dfed3f07ee0a3e6e2a6fd1b4ac1c790774f02e3c196bcc9be5104702b467a