[INFO] cloning repository https://github.com/WhiteHatTux/rust-lee-algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WhiteHatTux/rust-lee-algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhiteHatTux%2Frust-lee-algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhiteHatTux%2Frust-lee-algorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f968a8113cb9480f044eeec7072c1a716a35714 [INFO] building WhiteHatTux/rust-lee-algorithm 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%2FWhiteHatTux%2Frust-lee-algorithm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WhiteHatTux/rust-lee-algorithm 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/WhiteHatTux/rust-lee-algorithm [INFO] finished tweaking git repo https://github.com/WhiteHatTux/rust-lee-algorithm [INFO] tweaked toml for git repo https://github.com/WhiteHatTux/rust-lee-algorithm written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WhiteHatTux/rust-lee-algorithm 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 96e9dce8dbed62a813aa2c1917a4057b64eb43699ddfc6e981b206590e657f5c [INFO] running `Command { std: "docker" "start" "-a" "96e9dce8dbed62a813aa2c1917a4057b64eb43699ddfc6e981b206590e657f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96e9dce8dbed62a813aa2c1917a4057b64eb43699ddfc6e981b206590e657f5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96e9dce8dbed62a813aa2c1917a4057b64eb43699ddfc6e981b206590e657f5c", kill_on_drop: false }` [INFO] [stdout] 96e9dce8dbed62a813aa2c1917a4057b64eb43699ddfc6e981b206590e657f5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 821156fe3660c6368762c25d3b825f6b2b590ab98abc4cdf25b4ff79251d8c99 [INFO] running `Command { std: "docker" "start" "-a" "821156fe3660c6368762c25d3b825f6b2b590ab98abc4cdf25b4ff79251d8c99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling lee-algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/shortest_path.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_result_path` is never used [INFO] [stdout] --> src/shortest_path.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 12 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 13 | pub(crate) fn get_result_path(&self, mut results: Vec<(u32, u32)>) -> Vec<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_path` is never used [INFO] [stdout] --> src/shortest_path.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn find_path(maze: Vec>, start: (u32, u32), dest: (u32, u32)) -> (u32, Vec<(u32, u32)>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_for_plausibility` is never used [INFO] [stdout] --> src/shortest_path.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn check_for_plausibility(maze: &Vec>, start: (u32, u32), dest: (u32, u32)) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_new_node` is never used [INFO] [stdout] --> src/shortest_path.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn add_new_node(temp_nodes: &mut Vec>, walked: &mut Vec<(u32, u32)>, node: &Rc, optional_step: Option<(u32, u32)>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_upper` is never used [INFO] [stdout] --> src/shortest_path.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn get_upper(maze: &Vec>, position: (u32, u32)) -> Option<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_right` is never used [INFO] [stdout] --> src/shortest_path.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | fn get_right(maze: &Vec>, position: (u32, u32)) -> Option<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_down` is never used [INFO] [stdout] --> src/shortest_path.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn get_down(maze: &Vec>, position: (u32, u32)) -> Option<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_left` is never used [INFO] [stdout] --> src/shortest_path.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | fn get_left(maze: &Vec>, position: (u32, u32)) -> Option<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_if_node_walkable` is never used [INFO] [stdout] --> src/shortest_path.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | fn check_if_node_walkable(maze: &Vec>, new_y: i32, new_x: i32) -> Option<(u32, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "821156fe3660c6368762c25d3b825f6b2b590ab98abc4cdf25b4ff79251d8c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821156fe3660c6368762c25d3b825f6b2b590ab98abc4cdf25b4ff79251d8c99", kill_on_drop: false }` [INFO] [stdout] 821156fe3660c6368762c25d3b825f6b2b590ab98abc4cdf25b4ff79251d8c99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 11164fd257f069a7ae5ea6a90b2616418e74cb175803d6034644a39b2d224177 [INFO] running `Command { std: "docker" "start" "-a" "11164fd257f069a7ae5ea6a90b2616418e74cb175803d6034644a39b2d224177", kill_on_drop: false }` [INFO] [stderr] Compiling lee-algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "11164fd257f069a7ae5ea6a90b2616418e74cb175803d6034644a39b2d224177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11164fd257f069a7ae5ea6a90b2616418e74cb175803d6034644a39b2d224177", kill_on_drop: false }` [INFO] [stdout] 11164fd257f069a7ae5ea6a90b2616418e74cb175803d6034644a39b2d224177