[INFO] cloning repository https://github.com/elamaranae/grind-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elamaranae/grind-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felamaranae%2Fgrind-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felamaranae%2Fgrind-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba6e693c3916c9609d6e1e39d7e702cf849f7a51 [INFO] building elamaranae/grind-rs 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%2Felamaranae%2Fgrind-rs" "/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/elamaranae/grind-rs 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/elamaranae/grind-rs [INFO] finished tweaking git repo https://github.com/elamaranae/grind-rs [INFO] tweaked toml for git repo https://github.com/elamaranae/grind-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/elamaranae/grind-rs 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] 31cf230ec4349f0efffcaddcbe51e18bcb7c6a6a88e0bd3a36b2d54dbd3930dd [INFO] running `Command { std: "docker" "start" "-a" "31cf230ec4349f0efffcaddcbe51e18bcb7c6a6a88e0bd3a36b2d54dbd3930dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31cf230ec4349f0efffcaddcbe51e18bcb7c6a6a88e0bd3a36b2d54dbd3930dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31cf230ec4349f0efffcaddcbe51e18bcb7c6a6a88e0bd3a36b2d54dbd3930dd", kill_on_drop: false }` [INFO] [stdout] 31cf230ec4349f0efffcaddcbe51e18bcb7c6a6a88e0bd3a36b2d54dbd3930dd [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] 8b09d8cb2ed28b11ba5ec0204db7a725afb604d906fb99284767cec70c1369f8 [INFO] running `Command { std: "docker" "start" "-a" "8b09d8cb2ed28b11ba5ec0204db7a725afb604d906fb99284767cec70c1369f8", kill_on_drop: false }` [INFO] [stderr] Compiling grind v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 53 | / loop { [INFO] [stdout] 54 | | let next_p = current_node.next_step_to_find(p); [INFO] [stdout] 55 | | let next_q = current_node.next_step_to_find(q); [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 70 | [INFO] [stdout] 71 | return 0; [INFO] [stdout] | ^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_array` is never used [INFO] [stdout] --> src/linked_list/merge_two_sorted_lists.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl List { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 22 | fn from_array(arr: &[i32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/linked_list_cycle.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/linked_list/linked_list_cycle.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/linked_list/linked_list_cycle.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `has_cycle` are never used [INFO] [stdout] --> src/linked_list/linked_list_cycle.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 27 | fn new(arr: &[i32], close: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn has_cycle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/tree/invert_binary.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct TreeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> src/tree/invert_binary.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Link(Option>>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryTree` is never constructed [INFO] [stdout] --> src/tree/invert_binary.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct BinaryTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_node`, and `invert` are never used [INFO] [stdout] --> src/tree/invert_binary.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl BinaryTree { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | fn new(arr: &[i32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn create_node(position: usize, arr: &[i32]) -> Link { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn invert(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invert` is never used [INFO] [stdout] --> src/tree/invert_binary.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Link { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 45 | fn invert(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct TreeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Link(Option>>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryTree` is never constructed [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct BinaryTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_node`, and `run` are never used [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl BinaryTree { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 32 | fn new(arr: &[Option]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn create_node(position: usize, arr: &[Option]) -> Link { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn run(&self, p: i32, q: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_step_to_find` is never used [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl Link { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 76 | fn next_step_to_find(&self, p: i32) -> Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "8b09d8cb2ed28b11ba5ec0204db7a725afb604d906fb99284767cec70c1369f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b09d8cb2ed28b11ba5ec0204db7a725afb604d906fb99284767cec70c1369f8", kill_on_drop: false }` [INFO] [stdout] 8b09d8cb2ed28b11ba5ec0204db7a725afb604d906fb99284767cec70c1369f8 [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] 8ca3e48c3184f94a15f18feb8bc62f9f1d2cf2e4f22305e0d3bc2e5997936bc1 [INFO] running `Command { std: "docker" "start" "-a" "8ca3e48c3184f94a15f18feb8bc62f9f1d2cf2e4f22305e0d3bc2e5997936bc1", kill_on_drop: false }` [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 53 | / loop { [INFO] [stdout] 54 | | let next_p = current_node.next_step_to_find(p); [INFO] [stdout] 55 | | let next_q = current_node.next_step_to_find(q); [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 70 | [INFO] [stdout] 71 | return 0; [INFO] [stdout] | ^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_array` is never used [INFO] [stdout] --> src/linked_list/merge_two_sorted_lists.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl List { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 22 | fn from_array(arr: &[i32]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/linked_list_cycle.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/linked_list/linked_list_cycle.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/linked_list/linked_list_cycle.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `has_cycle` are never used [INFO] [stdout] --> src/linked_list/linked_list_cycle.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl List { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 27 | fn new(arr: &[i32], close: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn has_cycle(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/tree/invert_binary.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct TreeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> src/tree/invert_binary.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct Link(Option>>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryTree` is never constructed [INFO] [stdout] --> src/tree/invert_binary.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct BinaryTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_node`, and `invert` are never used [INFO] [stdout] --> src/tree/invert_binary.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl BinaryTree { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | fn new(arr: &[i32]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn create_node(position: usize, arr: &[i32]) -> Link { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn invert(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invert` is never used [INFO] [stdout] --> src/tree/invert_binary.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl Link { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 45 | fn invert(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TreeNode` is never constructed [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct TreeNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Link` is never constructed [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Link(Option>>); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryTree` is never constructed [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct BinaryTree { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Direction` is never used [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_node`, and `run` are never used [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl BinaryTree { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 32 | fn new(arr: &[Option]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn create_node(position: usize, arr: &[Option]) -> Link { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn run(&self, p: i32, q: i32) -> i32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_step_to_find` is never used [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl Link { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 76 | fn next_step_to_find(&self, p: i32) -> Direction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling grind v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 53 | / loop { [INFO] [stdout] 54 | | let next_p = current_node.next_step_to_find(p); [INFO] [stdout] 55 | | let next_q = current_node.next_step_to_find(q); [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 70 | [INFO] [stdout] 71 | return 0; [INFO] [stdout] | ^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arr_2` [INFO] [stdout] --> src/tree/lowest_common_ancestor.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | let arr_2 = [ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_arr_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "8ca3e48c3184f94a15f18feb8bc62f9f1d2cf2e4f22305e0d3bc2e5997936bc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca3e48c3184f94a15f18feb8bc62f9f1d2cf2e4f22305e0d3bc2e5997936bc1", kill_on_drop: false }` [INFO] [stdout] 8ca3e48c3184f94a15f18feb8bc62f9f1d2cf2e4f22305e0d3bc2e5997936bc1