[INFO] cloning repository https://github.com/Andy-0414/rust_first
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Andy-0414/rust_first" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndy-0414%2Frust_first", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndy-0414%2Frust_first'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8ec726789de4f670ad6c53d755c77f2aa624e212
[INFO] checking Andy-0414/rust_first against try#5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndy-0414%2Frust_first" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Andy-0414/rust_first
[INFO] finished tweaking git repo https://github.com/Andy-0414/rust_first
[INFO] tweaked toml for git repo https://github.com/Andy-0414/rust_first written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Andy-0414/rust_first on toolchain 5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Andy-0414/rust_first 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" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0a868da2e564bd685ff96b9f26184759762a93c92fec2c4da3b1a0c075a9ee03
[INFO] running `Command { std: "docker" "start" "-a" "0a868da2e564bd685ff96b9f26184759762a93c92fec2c4da3b1a0c075a9ee03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0a868da2e564bd685ff96b9f26184759762a93c92fec2c4da3b1a0c075a9ee03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a868da2e564bd685ff96b9f26184759762a93c92fec2c4da3b1a0c075a9ee03", kill_on_drop: false }`
[INFO] [stdout] 0a868da2e564bd685ff96b9f26184759762a93c92fec2c4da3b1a0c075a9ee03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+5ef65a4ed75279dc1b7a26cedc27293a9f4ca8db" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8456d9d2e4584c1260c7e78e582136f6dff750b8fcff31c8b341bd6e9bcc508a
[INFO] running `Command { std: "docker" "start" "-a" "8456d9d2e4584c1260c7e78e582136f6dff750b8fcff31c8b341bd6e9bcc508a", kill_on_drop: false }`
[INFO] [stderr]     Checking first_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `io` and `result`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io, result};
[INFO] [stdout]   |           ^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 |             if (currentTree.value == value) {
[INFO] [stdout]    |                ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -             if (currentTree.value == value) {
[INFO] [stdout] 23 +             if currentTree.value == value {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:27:27
[INFO] [stdout]    |
[INFO] [stdout] 27 |             nextTree = if (currentTree.value > value) {
[INFO] [stdout]    |                           ^                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -             nextTree = if (currentTree.value > value) {
[INFO] [stdout] 27 +             nextTree = if currentTree.value > value {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 |             if (currentTree.value == value) {
[INFO] [stdout]    |                ^                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 65 -             if (currentTree.value == value) {
[INFO] [stdout] 65 +             if currentTree.value == value {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:69:27
[INFO] [stdout]    |
[INFO] [stdout] 69 |             nextTree = if (currentTree.value > value) {
[INFO] [stdout]    |                           ^                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -             nextTree = if (currentTree.value > value) {
[INFO] [stdout] 69 +             nextTree = if currentTree.value > value {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search` is never used
[INFO] [stdout]   --> src/main.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl BSTNode {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn search(&mut self, value: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `currentTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut currentTree = self;
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `current_tree`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nextTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut nextTree;
[INFO] [stdout]    |                 ^^^^^^^^ help: convert the identifier to snake case: `next_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `subTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 Some(ref mut subTree) => currentTree = subTree,
[INFO] [stdout]    |                              ^^^^^^^ help: convert the identifier to snake case: `sub_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `currentTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut currentTree = self;
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `current_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nextTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut nextTree;
[INFO] [stdout]    |                 ^^^^^^^^ help: convert the identifier to snake case: `next_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `subTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:79:30
[INFO] [stdout]    |
[INFO] [stdout] 79 |                 Some(ref mut subTree) => currentTree = subTree,
[INFO] [stdout]    |                              ^^^^^^^ help: convert the identifier to snake case: `sub_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `bstTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let mut bstTree = BSTNode::new(10);
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `bst_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `io` and `result`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{io, result};
[INFO] [stdout]   |           ^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:23:16
[INFO] [stdout]    |
[INFO] [stdout] 23 |             if (currentTree.value == value) {
[INFO] [stdout]    |                ^                          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 23 -             if (currentTree.value == value) {
[INFO] [stdout] 23 +             if currentTree.value == value {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:27:27
[INFO] [stdout]    |
[INFO] [stdout] 27 |             nextTree = if (currentTree.value > value) {
[INFO] [stdout]    |                           ^                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -             nextTree = if (currentTree.value > value) {
[INFO] [stdout] 27 +             nextTree = if currentTree.value > value {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 |             if (currentTree.value == value) {
[INFO] [stdout]    |                ^                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 65 -             if (currentTree.value == value) {
[INFO] [stdout] 65 +             if currentTree.value == value {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:69:27
[INFO] [stdout]    |
[INFO] [stdout] 69 |             nextTree = if (currentTree.value > value) {
[INFO] [stdout]    |                           ^                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 69 -             nextTree = if (currentTree.value > value) {
[INFO] [stdout] 69 +             nextTree = if currentTree.value > value {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `search` is never used
[INFO] [stdout]   --> src/main.rs:60:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl BSTNode {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn search(&mut self, value: i32) -> bool {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `currentTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut currentTree = self;
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `current_tree`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nextTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut nextTree;
[INFO] [stdout]    |                 ^^^^^^^^ help: convert the identifier to snake case: `next_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `subTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:38:30
[INFO] [stdout]    |
[INFO] [stdout] 38 |                 Some(ref mut subTree) => currentTree = subTree,
[INFO] [stdout]    |                              ^^^^^^^ help: convert the identifier to snake case: `sub_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `currentTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |         let mut currentTree = self;
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: convert the identifier to snake case: `current_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `nextTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:62:17
[INFO] [stdout]    |
[INFO] [stdout] 62 |         let mut nextTree;
[INFO] [stdout]    |                 ^^^^^^^^ help: convert the identifier to snake case: `next_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `subTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:79:30
[INFO] [stdout]    |
[INFO] [stdout] 79 |                 Some(ref mut subTree) => currentTree = subTree,
[INFO] [stdout]    |                              ^^^^^^^ help: convert the identifier to snake case: `sub_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `bstTree` should have a snake case name
[INFO] [stdout]   --> src/main.rs:88:13
[INFO] [stdout]    |
[INFO] [stdout] 88 |     let mut bstTree = BSTNode::new(10);
[INFO] [stdout]    |             ^^^^^^^ help: convert the identifier to snake case: `bst_tree`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] running `Command { std: "docker" "inspect" "8456d9d2e4584c1260c7e78e582136f6dff750b8fcff31c8b341bd6e9bcc508a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8456d9d2e4584c1260c7e78e582136f6dff750b8fcff31c8b341bd6e9bcc508a", kill_on_drop: false }`
[INFO] [stdout] 8456d9d2e4584c1260c7e78e582136f6dff750b8fcff31c8b341bd6e9bcc508a
