[INFO] cloning repository https://github.com/jaztec/rust-astar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaztec/rust-astar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaztec%2Frust-astar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaztec%2Frust-astar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa2303cefb2644facc3586236c607a8546cf2ccb [INFO] checking jaztec/rust-astar against master#249cb84316401daf040832cdbb8a45e0f5ab6af8 for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaztec%2Frust-astar" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaztec/rust-astar on toolchain 249cb84316401daf040832cdbb8a45e0f5ab6af8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jaztec/rust-astar [INFO] finished tweaking git repo https://github.com/jaztec/rust-astar [INFO] tweaked toml for git repo https://github.com/jaztec/rust-astar written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jaztec/rust-astar 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" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfa9b6ade39e123bb3fe4a566b3a637b35d5ac1bdb4e0394891e937825d9ef52 [INFO] running `Command { std: "docker" "start" "-a" "cfa9b6ade39e123bb3fe4a566b3a637b35d5ac1bdb4e0394891e937825d9ef52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfa9b6ade39e123bb3fe4a566b3a637b35d5ac1bdb4e0394891e937825d9ef52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa9b6ade39e123bb3fe4a566b3a637b35d5ac1bdb4e0394891e937825d9ef52", kill_on_drop: false }` [INFO] [stdout] cfa9b6ade39e123bb3fe4a566b3a637b35d5ac1bdb4e0394891e937825d9ef52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 618186ba22c367b81a4db9ed932b847c07e411de97ec9ab214622464a84ff2be [INFO] running `Command { std: "docker" "start" "-a" "618186ba22c367b81a4db9ed932b847c07e411de97ec9ab214622464a84ff2be", kill_on_drop: false }` [INFO] [stderr] Checking astar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structures.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut dx = (x2 as f64 - x1 as f64).abs(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structures.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut dy = (y2 as f64 - y1 as f64).abs(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/structures.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | Err(err) => None [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structures.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let mut route: Vec<(u32, u32)> = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/structures.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | fn process(grid: &Grid, mut route: &Vec<(u32, u32)>, list: &BTreeMap) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/structures.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | fn process(grid: &Grid, mut route: &Vec<(u32, u32)>, list: &BTreeMap) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/structures.rs:173:54 [INFO] [stdout] | [INFO] [stdout] 173 | fn process(grid: &Grid, mut route: &Vec<(u32, u32)>, list: &BTreeMap) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structures.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | fn process(grid: &Grid, mut route: &Vec<(u32, u32)>, list: &BTreeMap) -> std::io::Result<()> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_penalty` is never used [INFO] [stdout] --> src/structures.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 38 | fn get_penalty(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_adjacent` is never used [INFO] [stdout] --> src/structures.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_adjacent(&self, cell: &Cell) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structures.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut dx = (x2 as f64 - x1 as f64).abs(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structures.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let mut dy = (y2 as f64 - y1 as f64).abs(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/structures.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | Err(err) => None [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structures.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | let mut route: Vec<(u32, u32)> = vec![]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `grid` [INFO] [stdout] --> src/structures.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | fn process(grid: &Grid, mut route: &Vec<(u32, u32)>, list: &BTreeMap) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_grid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/structures.rs:173:29 [INFO] [stdout] | [INFO] [stdout] 173 | fn process(grid: &Grid, mut route: &Vec<(u32, u32)>, list: &BTreeMap) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `list` [INFO] [stdout] --> src/structures.rs:173:54 [INFO] [stdout] | [INFO] [stdout] 173 | fn process(grid: &Grid, mut route: &Vec<(u32, u32)>, list: &BTreeMap) -> std::io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/structures.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | fn process(grid: &Grid, mut route: &Vec<(u32, u32)>, list: &BTreeMap) -> std::io::Result<()> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_penalty` is never used [INFO] [stdout] --> src/structures.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl Cell { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 38 | fn get_penalty(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_adjacent` is never used [INFO] [stdout] --> src/structures.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_adjacent(&self, cell: &Cell) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "618186ba22c367b81a4db9ed932b847c07e411de97ec9ab214622464a84ff2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "618186ba22c367b81a4db9ed932b847c07e411de97ec9ab214622464a84ff2be", kill_on_drop: false }` [INFO] [stdout] 618186ba22c367b81a4db9ed932b847c07e411de97ec9ab214622464a84ff2be