[INFO] cloning repository https://github.com/brady-kelly/codewars_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brady-kelly/codewars_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrady-kelly%2Fcodewars_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrady-kelly%2Fcodewars_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b92768c5e3d6c855468f535afc26fac597cde00
[INFO] checking brady-kelly/codewars_rust against try#7dabc88a3b6768751847baeb49983f31ac5f20e2 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrady-kelly%2Fcodewars_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/brady-kelly/codewars_rust
[INFO] finished tweaking git repo https://github.com/brady-kelly/codewars_rust
[INFO] tweaked toml for git repo https://github.com/brady-kelly/codewars_rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brady-kelly/codewars_rust on toolchain 7dabc88a3b6768751847baeb49983f31ac5f20e2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/brady-kelly/codewars_rust 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" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0271dfd2b05866ce3853911bbf61c2f3e9cc51660719cc359950cf60f5bea65d
[INFO] running `Command { std: "docker" "start" "-a" "0271dfd2b05866ce3853911bbf61c2f3e9cc51660719cc359950cf60f5bea65d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0271dfd2b05866ce3853911bbf61c2f3e9cc51660719cc359950cf60f5bea65d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0271dfd2b05866ce3853911bbf61c2f3e9cc51660719cc359950cf60f5bea65d", kill_on_drop: false }`
[INFO] [stdout] 0271dfd2b05866ce3853911bbf61c2f3e9cc51660719cc359950cf60f5bea65d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+7dabc88a3b6768751847baeb49983f31ac5f20e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 425c549596fc8e39183ed32d736b73994fbc36fd06881742bf0d57d280bf69a9
[INFO] running `Command { std: "docker" "start" "-a" "425c549596fc8e39183ed32d736b73994fbc36fd06881742bf0d57d280bf69a9", kill_on_drop: false }`
[INFO] [stderr]     Checking CodeWars v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/dominant.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |             if (!doms.contains(&arr[x])) {
[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] 13 -             if (!doms.contains(&arr[x])) {
[INFO] [stdout] 13 +             if !doms.contains(&arr[x])  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]  --> src/tests.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use super::*;
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/dominant.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 13 |             if (!doms.contains(&arr[x])) {
[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] 13 -             if (!doms.contains(&arr[x])) {
[INFO] [stdout] 13 +             if !doms.contains(&arr[x])  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cnt`
[INFO] [stdout]  --> src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let cnt = dos.len();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_cnt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/dominant.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cnt`
[INFO] [stdout]  --> src/main.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let cnt = dos.len();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_cnt`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/dominant.rs:22:4
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] running `Command { std: "docker" "inspect" "425c549596fc8e39183ed32d736b73994fbc36fd06881742bf0d57d280bf69a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "425c549596fc8e39183ed32d736b73994fbc36fd06881742bf0d57d280bf69a9", kill_on_drop: false }`
[INFO] [stdout] 425c549596fc8e39183ed32d736b73994fbc36fd06881742bf0d57d280bf69a9
