[INFO] cloning repository https://github.com/sidharthmrao/Search_Algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sidharthmrao/Search_Algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidharthmrao%2FSearch_Algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidharthmrao%2FSearch_Algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d0b42e8f451bea8c303990213c83a2a1d3b78655 [INFO] building sidharthmrao/Search_Algorithms against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsidharthmrao%2FSearch_Algorithms" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sidharthmrao/Search_Algorithms on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sidharthmrao/Search_Algorithms [INFO] finished tweaking git repo https://github.com/sidharthmrao/Search_Algorithms [INFO] tweaked toml for git repo https://github.com/sidharthmrao/Search_Algorithms written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sidharthmrao/Search_Algorithms 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f96bf64dbcf335f77e5d664b2d02e787eb12f7397c15634a009cee54e598e4af [INFO] running `Command { std: "docker" "start" "-a" "f96bf64dbcf335f77e5d664b2d02e787eb12f7397c15634a009cee54e598e4af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f96bf64dbcf335f77e5d664b2d02e787eb12f7397c15634a009cee54e598e4af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96bf64dbcf335f77e5d664b2d02e787eb12f7397c15634a009cee54e598e4af", kill_on_drop: false }` [INFO] [stdout] f96bf64dbcf335f77e5d664b2d02e787eb12f7397c15634a009cee54e598e4af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 258002d50db3799883e1c20c13fc7bc4bf801c974e5bec7feeb9b864dfde6b96 [INFO] running `Command { std: "docker" "start" "-a" "258002d50db3799883e1c20c13fc7bc4bf801c974e5bec7feeb9b864dfde6b96", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.144 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossterm v0.26.1 [INFO] [stderr] Compiling a-star v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChebyshevDistance`, `EuclideanCost`, `EuclideanDistance`, `ManhattanDistance`, `OctileDistance`, and `StaticCost` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{ChebyshevDistance, DiagonalDistance, EuclideanCost, EuclideanDistance, ManhattanCost, ManhattanDistance, OctileDistance, StaticCost}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::raw::time_t` [INFO] [stdout] --> src/a_star.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::System` [INFO] [stdout] --> src/a_star.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::alloc::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/heuristic.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let x = (target_node.x - node.x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - let x = (target_node.x - node.x); [INFO] [stdout] 94 + let x = target_node.x - node.x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/heuristic.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let y = (target_node.y - node.y); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - let y = (target_node.y - node.y); [INFO] [stdout] 95 + let y = target_node.y - node.y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/heuristic.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let z = (target_node.z - node.z); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - let z = (target_node.z - node.z); [INFO] [stdout] 96 + let z = target_node.z - node.z; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::style::Stylize` [INFO] [stdout] --> src/maze.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::style::Stylize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/a_star.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/node.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_path_cost(mut path: Option>) -> f32 { [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: value assigned to `node` is never read [INFO] [stdout] --> src/a_star.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | ... node = Some(&mut *Box::new(i.clone())); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/heuristic.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn cost(&self, node: &Node, other_node: &Node) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_node` [INFO] [stdout] --> src/heuristic.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | fn cost(&self, node: &Node, other_node: &Node) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/heuristic.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | fn distance(&self, node: &Node, target_node: &Node) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_node` [INFO] [stdout] --> src/heuristic.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | fn distance(&self, node: &Node, target_node: &Node) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut resp = a_star.evaluate(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut path = resp.0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut iters = resp.1; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_vec` is never used [INFO] [stdout] --> src/node.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl NodeList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn from_vec(nodes: Vec) -> NodeList { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.60s [INFO] running `Command { std: "docker" "inspect" "258002d50db3799883e1c20c13fc7bc4bf801c974e5bec7feeb9b864dfde6b96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258002d50db3799883e1c20c13fc7bc4bf801c974e5bec7feeb9b864dfde6b96", kill_on_drop: false }` [INFO] [stdout] 258002d50db3799883e1c20c13fc7bc4bf801c974e5bec7feeb9b864dfde6b96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccde191c26297f8dba574e4a6e9506c057479531105a08fd7be2e70d4294df2f [INFO] running `Command { std: "docker" "start" "-a" "ccde191c26297f8dba574e4a6e9506c057479531105a08fd7be2e70d4294df2f", kill_on_drop: false }` [INFO] [stderr] Compiling a-star v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChebyshevDistance`, `EuclideanCost`, `EuclideanDistance`, `ManhattanDistance`, `OctileDistance`, and `StaticCost` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{ChebyshevDistance, DiagonalDistance, EuclideanCost, EuclideanDistance, ManhattanCost, ManhattanDistance, OctileDistance, StaticCost}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::unix::raw::time_t` [INFO] [stdout] --> src/a_star.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::System` [INFO] [stdout] --> src/a_star.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::alloc::System; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/heuristic.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let x = (target_node.x - node.x); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - let x = (target_node.x - node.x); [INFO] [stdout] 94 + let x = target_node.x - node.x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/heuristic.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let y = (target_node.y - node.y); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 95 - let y = (target_node.y - node.y); [INFO] [stdout] 95 + let y = target_node.y - node.y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/heuristic.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let z = (target_node.z - node.z); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - let z = (target_node.z - node.z); [INFO] [stdout] 96 + let z = target_node.z - node.z; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossterm::style::Stylize` [INFO] [stdout] --> src/maze.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::style::Stylize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::os::unix::raw::time_t`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/a_star.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/node.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn get_path_cost(mut path: Option>) -> f32 { [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: value assigned to `node` is never read [INFO] [stdout] --> src/a_star.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | ... node = Some(&mut *Box::new(i.clone())); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/heuristic.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | fn cost(&self, node: &Node, other_node: &Node) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_node` [INFO] [stdout] --> src/heuristic.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | fn cost(&self, node: &Node, other_node: &Node) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/heuristic.rs:104:24 [INFO] [stdout] | [INFO] [stdout] 104 | fn distance(&self, node: &Node, target_node: &Node) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_node` [INFO] [stdout] --> src/heuristic.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | fn distance(&self, node: &Node, target_node: &Node) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let mut resp = a_star.evaluate(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut path = resp.0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut iters = resp.1; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_vec` is never used [INFO] [stdout] --> src/node.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl NodeList { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn from_vec(nodes: Vec) -> NodeList { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "ccde191c26297f8dba574e4a6e9506c057479531105a08fd7be2e70d4294df2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccde191c26297f8dba574e4a6e9506c057479531105a08fd7be2e70d4294df2f", kill_on_drop: false }` [INFO] [stdout] ccde191c26297f8dba574e4a6e9506c057479531105a08fd7be2e70d4294df2f