[INFO] cloning repository https://github.com/zolomohan/rust-card-dealer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zolomohan/rust-card-dealer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzolomohan%2Frust-card-dealer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzolomohan%2Frust-card-dealer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 77cf481e58e06b44199e044cd4133e9dd27b1e6d
[INFO] testing zolomohan/rust-card-dealer against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzolomohan%2Frust-card-dealer" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zolomohan/rust-card-dealer
[INFO] finished tweaking git repo https://github.com/zolomohan/rust-card-dealer
[INFO] tweaked toml for git repo https://github.com/zolomohan/rust-card-dealer written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zolomohan/rust-card-dealer on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zolomohan/rust-card-dealer 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" "+33835004928d3bf65db4d4712e1330766263b0bd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dc72fcb0ce479363cf8f9710e10bb283643a47eaef5787502242a534ef245604
[INFO] running `Command { std: "docker" "start" "-a" "dc72fcb0ce479363cf8f9710e10bb283643a47eaef5787502242a534ef245604", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc72fcb0ce479363cf8f9710e10bb283643a47eaef5787502242a534ef245604", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc72fcb0ce479363cf8f9710e10bb283643a47eaef5787502242a534ef245604", kill_on_drop: false }`
[INFO] [stdout] dc72fcb0ce479363cf8f9710e10bb283643a47eaef5787502242a534ef245604
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6faba116e0eaf93e403d25601451131401cae5560f051716c4407e99bb213a0
[INFO] running `Command { std: "docker" "start" "-a" "a6faba116e0eaf93e403d25601451131401cae5560f051716c4407e99bb213a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.87
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling card-dealer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `thread_rng`
[INFO] [stdout]  --> src/main.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{seq::SliceRandom, thread_rng};
[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/main.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |         if (num_cards > self.cards.len()) {
[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] 32 -         if (num_cards > self.cards.len()) {
[INFO] [stdout] 32 +         if num_cards > self.cards.len()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.93s
[INFO] running `Command { std: "docker" "inspect" "a6faba116e0eaf93e403d25601451131401cae5560f051716c4407e99bb213a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6faba116e0eaf93e403d25601451131401cae5560f051716c4407e99bb213a0", kill_on_drop: false }`
[INFO] [stdout] a6faba116e0eaf93e403d25601451131401cae5560f051716c4407e99bb213a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a14f2526cb91d7df6794c714ee6c3b18a1788852d8359c8aeda63771e7dcbc07
[INFO] running `Command { std: "docker" "start" "-a" "a14f2526cb91d7df6794c714ee6c3b18a1788852d8359c8aeda63771e7dcbc07", kill_on_drop: false }`
[INFO] [stderr]    Compiling card-dealer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `thread_rng`
[INFO] [stdout]  --> src/main.rs:1:30
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::{seq::SliceRandom, thread_rng};
[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/main.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |         if (num_cards > self.cards.len()) {
[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] 32 -         if (num_cards > self.cards.len()) {
[INFO] [stdout] 32 +         if num_cards > self.cards.len()  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "a14f2526cb91d7df6794c714ee6c3b18a1788852d8359c8aeda63771e7dcbc07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a14f2526cb91d7df6794c714ee6c3b18a1788852d8359c8aeda63771e7dcbc07", kill_on_drop: false }`
[INFO] [stdout] a14f2526cb91d7df6794c714ee6c3b18a1788852d8359c8aeda63771e7dcbc07
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a2219409952fedd8f3f1741cafcf6241236fce5a26906dae1ccf89154a39f090
[INFO] running `Command { std: "docker" "start" "-a" "a2219409952fedd8f3f1741cafcf6241236fce5a26906dae1ccf89154a39f090", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `thread_rng`
[INFO] [stderr]  --> src/main.rs:1:30
[INFO] [stderr]   |
[INFO] [stderr] 1 | use rand::{seq::SliceRandom, thread_rng};
[INFO] [stderr]   |                              ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/main.rs:32:12
[INFO] [stderr]    |
[INFO] [stderr] 32 |         if (num_cards > self.cards.len()) {
[INFO] [stderr]    |            ^                            ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 32 -         if (num_cards > self.cards.len()) {
[INFO] [stderr] 32 +         if num_cards > self.cards.len()  {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `card-dealer` (bin "card-dealer" test) generated 2 warnings (run `cargo fix --bin "card-dealer" -p card-dealer --tests` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/card_dealer-64ef13caee8287cd)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a2219409952fedd8f3f1741cafcf6241236fce5a26906dae1ccf89154a39f090", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2219409952fedd8f3f1741cafcf6241236fce5a26906dae1ccf89154a39f090", kill_on_drop: false }`
[INFO] [stdout] a2219409952fedd8f3f1741cafcf6241236fce5a26906dae1ccf89154a39f090
