[INFO] cloning repository https://github.com/dyllandry/rust-uno
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dyllandry/rust-uno" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyllandry%2Frust-uno", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyllandry%2Frust-uno'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 91c3c56d626bebec311b40f88531ed70b85c20a7
[INFO] testing dyllandry/rust-uno against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdyllandry%2Frust-uno" "/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/dyllandry/rust-uno
[INFO] finished tweaking git repo https://github.com/dyllandry/rust-uno
[INFO] tweaked toml for git repo https://github.com/dyllandry/rust-uno written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dyllandry/rust-uno on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dyllandry/rust-uno 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "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-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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe83be1430e59161e7a6bdadbd998721738b0654968764c4585f9a604791f6ea
[INFO] running `Command { std: "docker" "start" "-a" "fe83be1430e59161e7a6bdadbd998721738b0654968764c4585f9a604791f6ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe83be1430e59161e7a6bdadbd998721738b0654968764c4585f9a604791f6ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe83be1430e59161e7a6bdadbd998721738b0654968764c4585f9a604791f6ea", kill_on_drop: false }`
[INFO] [stdout] fe83be1430e59161e7a6bdadbd998721738b0654968764c4585f9a604791f6ea
[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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8ac9c2ba15d4f47b7eb200132ba322bf952348c1bc1ea02d2fb252c6f3ea83b2
[INFO] running `Command { std: "docker" "start" "-a" "8ac9c2ba15d4f47b7eb200132ba322bf952348c1bc1ea02d2fb252c6f3ea83b2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rust-uno v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s
[INFO] running `Command { std: "docker" "inspect" "8ac9c2ba15d4f47b7eb200132ba322bf952348c1bc1ea02d2fb252c6f3ea83b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ac9c2ba15d4f47b7eb200132ba322bf952348c1bc1ea02d2fb252c6f3ea83b2", kill_on_drop: false }`
[INFO] [stdout] 8ac9c2ba15d4f47b7eb200132ba322bf952348c1bc1ea02d2fb252c6f3ea83b2
[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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 22db72b75fcf238dbb3ad1007b15ff8c95391db11db92b9e2459ee90d27bb79a
[INFO] running `Command { std: "docker" "start" "-a" "22db72b75fcf238dbb3ad1007b15ff8c95391db11db92b9e2459ee90d27bb79a", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-uno v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout]    --> src/game.rs:637:53
[INFO] [stdout]     |
[INFO] [stdout] 637 |                 strs.iter().map(|str| Card::from(str.clone())).collect()
[INFO] [stdout]     |                                                     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s
[INFO] running `Command { std: "docker" "inspect" "22db72b75fcf238dbb3ad1007b15ff8c95391db11db92b9e2459ee90d27bb79a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22db72b75fcf238dbb3ad1007b15ff8c95391db11db92b9e2459ee90d27bb79a", kill_on_drop: false }`
[INFO] [stdout] 22db72b75fcf238dbb3ad1007b15ff8c95391db11db92b9e2459ee90d27bb79a
[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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d13c8fbcadd38800cc0fe40e61d98b34fac7f8871a220ce3903be676f5451ff9
[INFO] running `Command { std: "docker" "start" "-a" "d13c8fbcadd38800cc0fe40e61d98b34fac7f8871a220ce3903be676f5451ff9", kill_on_drop: false }`
[INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type
[INFO] [stdout] 
[INFO] [stderr]    --> src/game.rs:637:53
[INFO] [stdout] running 34 tests
[INFO] [stderr]     |
[INFO] [stderr] 637 |                 strs.iter().map(|str| Card::from(str.clone())).collect()
[INFO] [stderr]     |                                                     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(suspicious_double_ref_op)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-uno` (bin "rust-uno" test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_uno-12faeb3b10f5646f)
[INFO] [stdout] test card::tests::card_equality::blue_skip_equals_blue_skip ... ok
[INFO] [stdout] test card::tests::card_equality::green_2_doesnt_equal_blue_1 ... ok
[INFO] [stdout] test card::tests::card_equality::blue_skip_doesnt_equal_red_draw_2 ... ok
[INFO] [stdout] test card::tests::from_str::create_blue_1 ... ok
[INFO] [stdout] test card::tests::card_equality::red_draw_3_equals_red_draw_3 ... ok
[INFO] [stdout] test card::tests::from_str::create_wild_yellow ... ok
[INFO] [stdout] test game::tests::automate_current_player_turn::player_draws_when_no_valid_cards_in_hand_and_plays_next_valid_card ... ok
[INFO] [stdout] test game::tests::automate_current_player_turn::player_plays_wild_card_in_hand ... ok
[INFO] [stdout] test game::tests::can_play_card::can_play_same_draw_effects ... ok
[INFO] [stdout] test game::tests::can_play_card::can_play_same_numbers ... ok
[INFO] [stdout] test game::tests::can_play_card::can_play_same_colors ... ok
[INFO] [stdout] test game::tests::can_play_card::can_play_same_turn_effects ... ok
[INFO] [stdout] test game::tests::can_play_card::can_play_wild_on_any_color ... ok
[INFO] [stdout] test game::tests::can_play_card::cant_play_different_colors ... ok
[INFO] [stdout] test game::tests::can_play_card::cant_play_different_numbers ... ok
[INFO] [stdout] test game::tests::can_play_card::cant_play_different_turn_effects ... ok
[INFO] [stdout] test game::tests::create_deck::contains_all_standard_cards ... ok
[INFO] [stdout] test game::tests::draw_cards::deals_cards_into_players_hand ... ok
[INFO] [stdout] test game::tests::draw_cards::moves_cards_from_discard_into_deck_if_deck_doesnt_have_enough ... ok
[INFO] [stdout] test game::tests::input::human_goes_after_ai_player_goes ... ok
[INFO] [stdout] test game::tests::play_card::after_player_1_plays_a_reverse_player_4_is_next ... ok
[INFO] [stdout] test game::tests::play_card_draw_effect::two_cards_move_from_the_deck_to_the_next_player_after_a_draw_2_card_is_played ... ok
[INFO] [stdout] test game::tests::uno_new::players_have_7_cards_each ... ok
[INFO] [stdout] test game::tests::draw_cards::resets_wild_card_color_when_cards_move_from_discard_to_deck ... ok
[INFO] [stdout] test game::tests::play_card::after_player_1_plays_a_skip_player_3_is_next ... ok
[INFO] [stdout] test game::tests::uno_new::players_alternate_between_human_and_ai ... ok
[INFO] [stdout] test card::tests::from_str::create_green_draw_4 ... ok
[INFO] [stdout] test game::tests::automate_current_player_turn::player_plays_valid_card_in_hand ... ok
[INFO] [stdout] test game::tests::get_next_player_index::going_backwards ... ok
[INFO] [stdout] test game::tests::get_next_player_index::going_forwards ... ok
[INFO] [stdout] test game::tests::input::next_ai_player_goes_after_human_provides_input ... ok
[INFO] [stdout] test game::tests::can_play_card::can_play_wild_on_any_number ... ok
[INFO] [stdout] test card::tests::card_equality::red_1_equals_red_1 ... ok
[INFO] [stdout] test game::tests::draw_cards::panics_if_there_arent_enough_cards_in_deck_and_discard_for_player_to_draw - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 34 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d13c8fbcadd38800cc0fe40e61d98b34fac7f8871a220ce3903be676f5451ff9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d13c8fbcadd38800cc0fe40e61d98b34fac7f8871a220ce3903be676f5451ff9", kill_on_drop: false }`
[INFO] [stdout] d13c8fbcadd38800cc0fe40e61d98b34fac7f8871a220ce3903be676f5451ff9
