[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 master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcamccar%2FRust-Binary-Tree" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/camccar/Rust-Binary-Tree on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/camccar/Rust-Binary-Tree already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe4a6ec7dbdb57321c0ce8b691006b74359e3b9acfde4908ebddf29bc22c0cf5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fe4a6ec7dbdb57321c0ce8b691006b74359e3b9acfde4908ebddf29bc22c0cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe4a6ec7dbdb57321c0ce8b691006b74359e3b9acfde4908ebddf29bc22c0cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4a6ec7dbdb57321c0ce8b691006b74359e3b9acfde4908ebddf29bc22c0cf5", kill_on_drop: false }` [INFO] [stdout] fe4a6ec7dbdb57321c0ce8b691006b74359e3b9acfde4908ebddf29bc22c0cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de516e995c4074ca0aa1eac98889743717ad18fb0b7afe8065ec7763179e63ff [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de516e995c4074ca0aa1eac98889743717ad18fb0b7afe8065ec7763179e63ff", kill_on_drop: false }` [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Compiling libc v0.2.59 [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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bool1` is never read [INFO] [stdout] --> src/main.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let mut bool1 = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bool2` is never read [INFO] [stdout] --> src/main.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | let mut bool2 = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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)]` 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>,depth:i32) { [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/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: associated function is never used: `delete_right` [INFO] [stdout] --> src/main.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn delete_right(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_left_value` [INFO] [stdout] --> src/main.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn get_left_value(&self)-> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_right_value` [INFO] [stdout] --> src/main.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn get_right_value(&self)-> Option { [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bool1` is never read [INFO] [stdout] --> src/main.rs:311:17 [INFO] [stdout] | [INFO] [stdout] 311 | let mut bool1 = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `bool2` is never read [INFO] [stdout] --> src/main.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | let mut bool2 = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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>,depth:i32) { [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/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: associated function is never used: `delete_right` [INFO] [stdout] --> src/main.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn delete_right(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_left_value` [INFO] [stdout] --> src/main.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | fn get_left_value(&self)-> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_right_value` [INFO] [stdout] --> src/main.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | fn get_right_value(&self)-> Option { [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.61s [INFO] running `Command { std: "docker" "inspect" "de516e995c4074ca0aa1eac98889743717ad18fb0b7afe8065ec7763179e63ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de516e995c4074ca0aa1eac98889743717ad18fb0b7afe8065ec7763179e63ff", kill_on_drop: false }` [INFO] [stdout] de516e995c4074ca0aa1eac98889743717ad18fb0b7afe8065ec7763179e63ff