[INFO] cloning repository https://github.com/JaredArrowood/Homework-4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JaredArrowood/Homework-4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaredArrowood%2FHomework-4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaredArrowood%2FHomework-4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac8ec323fb8e5e57aa94ec3ff0dcaeebe18bc955 [INFO] checking JaredArrowood/Homework-4 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaredArrowood%2FHomework-4" "/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/JaredArrowood/Homework-4 [INFO] finished tweaking git repo https://github.com/JaredArrowood/Homework-4 [INFO] tweaked toml for git repo https://github.com/JaredArrowood/Homework-4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JaredArrowood/Homework-4 on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JaredArrowood/Homework-4 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking JaredArrowood/Homework-4 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJaredArrowood%2FHomework-4" "/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/JaredArrowood/Homework-4 [INFO] finished tweaking git repo https://github.com/JaredArrowood/Homework-4 [INFO] tweaked toml for git repo https://github.com/JaredArrowood/Homework-4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JaredArrowood/Homework-4 on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JaredArrowood/Homework-4 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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "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-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c33789109b2e0d546caa3913ba54ea7cdb57663e63748753e2c38e105017c570 [INFO] running `Command { std: "docker" "start" "-a" "c33789109b2e0d546caa3913ba54ea7cdb57663e63748753e2c38e105017c570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c33789109b2e0d546caa3913ba54ea7cdb57663e63748753e2c38e105017c570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c33789109b2e0d546caa3913ba54ea7cdb57663e63748753e2c38e105017c570", kill_on_drop: false }` [INFO] [stdout] c33789109b2e0d546caa3913ba54ea7cdb57663e63748753e2c38e105017c570 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 636f197d69f8d14faef3e6b8f35581ff4a1862047f2025e6959d3e45eea6c2ba [INFO] running `Command { std: "docker" "start" "-a" "636f197d69f8d14faef3e6b8f35581ff4a1862047f2025e6959d3e45eea6c2ba", kill_on_drop: false }` [INFO] [stderr] Checking homework4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | if(_n == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - if(_n == 0) [INFO] [stdout] 6 + if _n == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | if(_n == 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - if(_n == 1) [INFO] [stdout] 11 + if _n == 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | if(string == rev_string) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - if(string == rev_string) [INFO] [stdout] 28 + if string == rev_string [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | if(_n >= vec.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if(_n >= vec.len()) [INFO] [stdout] 39 + if _n >= vec.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | if(*count > max_count) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if(*count > max_count) [INFO] [stdout] 60 + if *count > max_count [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | if(max_count == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if(max_count == 0) [INFO] [stdout] 66 + if max_count == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | if(_arr1.len() != _arr2.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - if(_arr1.len() != _arr2.len()) [INFO] [stdout] 79 + if _arr1.len() != _arr2.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | if(_n == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 6 - if(_n == 0) [INFO] [stdout] 6 + if _n == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | if(self.entries.iter().any(|entry| entry.name == _name)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - if(self.entries.iter().any(|entry| entry.name == _name)) [INFO] [stdout] 147 + if self.entries.iter().any(|entry| entry.name == _name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | if(parts.len() != 3 || parts[0].len() != 3 || parts[1].len() != 3 || parts[2].len() != 4 || [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | !parts[2].chars().all(|c| c.is_digit(10))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 ~ if parts.len() != 3 || parts[0].len() != 3 || parts[1].len() != 3 || parts[2].len() != 4 || [INFO] [stdout] 153 | !parts[0].chars().all(|c| c.is_digit(10)) || [INFO] [stdout] 154 | !parts[1].chars().all(|c| c.is_digit(10)) || [INFO] [stdout] 155 ~ !parts[2].chars().all(|c| c.is_digit(10)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | if(_is_listed && self.entries.iter().any(|entry| entry.number == _number && entry.is_listed)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 159 - if(_is_listed && self.entries.iter().any(|entry| entry.number == _number && entry.is_listed)) [INFO] [stdout] 159 + if _is_listed && self.entries.iter().any(|entry| entry.number == _number && entry.is_listed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | if(_n == 1) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - if(_n == 1) [INFO] [stdout] 11 + if _n == 1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | if(entry.name == _name && entry.is_listed) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - if(entry.name == _name && entry.is_listed) [INFO] [stdout] 178 + if entry.name == _name && entry.is_listed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | if(string == rev_string) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 28 - if(string == rev_string) [INFO] [stdout] 28 + if string == rev_string [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | if(_n >= vec.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - if(_n >= vec.len()) [INFO] [stdout] 39 + if _n >= vec.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | if(*count > max_count) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if(*count > max_count) [INFO] [stdout] 60 + if *count > max_count [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | if(max_count == 0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 66 - if(max_count == 0) [INFO] [stdout] 66 + if max_count == 0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:79:7 [INFO] [stdout] | [INFO] [stdout] 79 | if(_arr1.len() != _arr2.len()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 79 - if(_arr1.len() != _arr2.len()) [INFO] [stdout] 79 + if _arr1.len() != _arr2.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | if(self.entries.iter().any(|entry| entry.name == _name)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - if(self.entries.iter().any(|entry| entry.name == _name)) [INFO] [stdout] 147 + if self.entries.iter().any(|entry| entry.name == _name) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | if(parts.len() != 3 || parts[0].len() != 3 || parts[1].len() != 3 || parts[2].len() != 4 || [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | !parts[2].chars().all(|c| c.is_digit(10))) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 152 ~ if parts.len() != 3 || parts[0].len() != 3 || parts[1].len() != 3 || parts[2].len() != 4 || [INFO] [stdout] 153 | !parts[0].chars().all(|c| c.is_digit(10)) || [INFO] [stdout] 154 | !parts[1].chars().all(|c| c.is_digit(10)) || [INFO] [stdout] 155 ~ !parts[2].chars().all(|c| c.is_digit(10)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | if(_is_listed && self.entries.iter().any(|entry| entry.number == _number && entry.is_listed)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 159 - if(_is_listed && self.entries.iter().any(|entry| entry.number == _number && entry.is_listed)) [INFO] [stdout] 159 + if _is_listed && self.entries.iter().any(|entry| entry.number == _number && entry.is_listed) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | if(entry.name == _name && entry.is_listed) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - if(entry.name == _name && entry.is_listed) [INFO] [stdout] 178 + if entry.name == _name && entry.is_listed [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "636f197d69f8d14faef3e6b8f35581ff4a1862047f2025e6959d3e45eea6c2ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636f197d69f8d14faef3e6b8f35581ff4a1862047f2025e6959d3e45eea6c2ba", kill_on_drop: false }` [INFO] [stdout] 636f197d69f8d14faef3e6b8f35581ff4a1862047f2025e6959d3e45eea6c2ba