[INFO] cloning repository https://github.com/camccar/Rust-Binary-Tree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/camccar/Rust-Binary-Tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamccar%2FRust-Binary-Tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamccar%2FRust-Binary-Tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 075cf6d6999864324671efa448c3e687996ad24c
[INFO] checking camccar/Rust-Binary-Tree against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamccar%2FRust-Binary-Tree" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/camccar/Rust-Binary-Tree
[INFO] finished tweaking git repo https://github.com/camccar/Rust-Binary-Tree
[INFO] tweaked toml for git repo https://github.com/camccar/Rust-Binary-Tree written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/camccar/Rust-Binary-Tree on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/camccar/Rust-Binary-Tree 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" "+14e4661efa5acbf985e4fe564baae04683366cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5a9c44de797dd17567623695bbde64b04180ffe06ea51f810f855b3a08fcc1e4
[INFO] running `Command { std: "docker" "start" "5a9c44de797dd17567623695bbde64b04180ffe06ea51f810f855b3a08fcc1e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a9c44de797dd17567623695bbde64b04180ffe06ea51f810f855b3a08fcc1e4" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a9c44de797dd17567623695bbde64b04180ffe06ea51f810f855b3a08fcc1e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5a9c44de797dd17567623695bbde64b04180ffe06ea51f810f855b3a08fcc1e4" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.59
[INFO] [stderr]     Checking spin v0.5.0
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.5
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking c2-chacha v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.2.0
[INFO] [stderr]     Checking getrandom v0.1.6
[INFO] [stderr]     Checking rand_core v0.5.0
[INFO] [stderr]     Checking rand v0.7.0
[INFO] [stderr]     Checking tree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Avl_Tree` should have an upper camel case name
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Avl_Tree {
[INFO] [stdout]   |            ^^^^^^^^ help: convert the identifier to upper camel case: `AvlTree`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Avl_Tree` should have an upper camel case name
[INFO] [stdout]  --> src/main.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Avl_Tree {
[INFO] [stdout]   |            ^^^^^^^^ help: convert the identifier to upper camel case: `AvlTree`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 panic!("tree not initialised. Try calling Avl_Tree::new(i32)");
[INFO] [stdout]    |                 -------------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 34 |                 return false;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/main.rs:34:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 panic!("tree not initialised. Try calling Avl_Tree::new(i32)");
[INFO] [stdout]    |                 -------------------------------------------------------------- any code following this expression is unreachable
[INFO] [stdout] 34 |                 return false;
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:174:37
[INFO] [stdout]     |
[INFO] [stdout] 174 |         fn recurse_build (n_d:&Node,mut tree:&mut Vec<Vec<i32>>,depth:i32)  {
[INFO] [stdout]     |                                     ----^^^^
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:174:37
[INFO] [stdout]     |
[INFO] [stdout] 174 |         fn recurse_build (n_d:&Node,mut tree:&mut Vec<Vec<i32>>,depth:i32)  {
[INFO] [stdout]     |                                     ----^^^^
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bool1` is never read
[INFO] [stdout]    --> src/main.rs:311:29
[INFO] [stdout]     |
[INFO] [stdout] 311 |             let mut bool1 = false;
[INFO] [stdout]     |                             ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 317 |                     bool1 = (*self.right).is_balanced();
[INFO] [stdout]     |                     ----------------------------------- `bool1` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bool2` is never read
[INFO] [stdout]    --> src/main.rs:312:29
[INFO] [stdout]     |
[INFO] [stdout] 312 |             let mut bool2 = false;
[INFO] [stdout]     |                             ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 324 |                     bool2 = (*self.left).is_balanced();
[INFO] [stdout]     |                     ---------------------------------- `bool2` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bool1` is never read
[INFO] [stdout]    --> src/main.rs:311:29
[INFO] [stdout]     |
[INFO] [stdout] 311 |             let mut bool1 = false;
[INFO] [stdout]     |                             ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 317 |                     bool1 = (*self.right).is_balanced();
[INFO] [stdout]     |                     ----------------------------------- `bool1` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `bool2` is never read
[INFO] [stdout]    --> src/main.rs:312:29
[INFO] [stdout]     |
[INFO] [stdout] 312 |             let mut bool2 = false;
[INFO] [stdout]     |                             ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 324 |                     bool2 = (*self.left).is_balanced();
[INFO] [stdout]     |                     ---------------------------------- `bool2` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let mut root = Node::new(100);
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]    --> src/main.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let mut root = Node::new(100);
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete_right` is never used
[INFO] [stdout]   --> src/main.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Avl_Tree {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn delete_right(&mut self){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_left_value` and `get_right_value` are never used
[INFO] [stdout]    --> src/main.rs:211:8
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl Node {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 211 |     fn get_left_value(&self)-> Option<i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn get_right_value(&self)-> Option<i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let mut root = Node::new(100);
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A_Tree` should have a snake case name
[INFO] [stdout]    --> src/main.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |     let mut A_Tree = Avl_Tree::new(100);
[INFO] [stdout]     |             ^^^^^^ help: convert the identifier to snake case: `a_tree`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]    --> src/main.rs:348:9
[INFO] [stdout]     |
[INFO] [stdout] 348 |     let mut root = Node::new(100);
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `delete_right` is never used
[INFO] [stdout]   --> src/main.rs:64:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl Avl_Tree {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn delete_right(&mut self){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_left_value` and `get_right_value` are never used
[INFO] [stdout]    --> src/main.rs:211:8
[INFO] [stdout]     |
[INFO] [stdout]  82 | impl Node {
[INFO] [stdout]     | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 211 |     fn get_left_value(&self)-> Option<i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn get_right_value(&self)-> Option<i32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `A_Tree` should have a snake case name
[INFO] [stdout]    --> src/main.rs:346:13
[INFO] [stdout]     |
[INFO] [stdout] 346 |     let mut A_Tree = Avl_Tree::new(100);
[INFO] [stdout]     |             ^^^^^^ help: convert the identifier to snake case: `a_tree`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.69s
[INFO] running `Command { std: "docker" "inspect" "5a9c44de797dd17567623695bbde64b04180ffe06ea51f810f855b3a08fcc1e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a9c44de797dd17567623695bbde64b04180ffe06ea51f810f855b3a08fcc1e4", kill_on_drop: false }`
[INFO] [stdout] 5a9c44de797dd17567623695bbde64b04180ffe06ea51f810f855b3a08fcc1e4
