[INFO] cloning repository https://github.com/michaelfletchercgy/poker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelfletchercgy/poker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelfletchercgy%2Fpoker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelfletchercgy%2Fpoker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 214875ba450d38eb7d56c4986ffba16554ed1c37 [INFO] testing michaelfletchercgy/poker against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelfletchercgy%2Fpoker" "/workspace/builds/worker-97/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-97/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaelfletchercgy/poker on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michaelfletchercgy/poker [INFO] finished tweaking git repo https://github.com/michaelfletchercgy/poker [INFO] tweaked toml for git repo https://github.com/michaelfletchercgy/poker written to /workspace/builds/worker-97/source/Cargo.toml [INFO] crate git repo https://github.com/michaelfletchercgy/poker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d5985a61dc999f2dfc11a313d82add089038d92020656b24c18eea60d5fab98 [INFO] running `Command { std: "docker" "start" "-a" "5d5985a61dc999f2dfc11a313d82add089038d92020656b24c18eea60d5fab98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d5985a61dc999f2dfc11a313d82add089038d92020656b24c18eea60d5fab98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d5985a61dc999f2dfc11a313d82add089038d92020656b24c18eea60d5fab98", kill_on_drop: false }` [INFO] [stdout] 5d5985a61dc999f2dfc11a313d82add089038d92020656b24c18eea60d5fab98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e02898cca4572cabb43ac8ac74ee21c53bcfb6625a5e7ba1b2641c1521c079a9 [INFO] running `Command { std: "docker" "start" "-a" "e02898cca4572cabb43ac8ac74ee21c53bcfb6625a5e7ba1b2641c1521c079a9", kill_on_drop: false }` [INFO] [stderr] Compiling poker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | panic!(format!("Unexpected card card {}", count)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 89 - panic!(format!("Unexpected card card {}", count)); [INFO] [stdout] 89 + panic!("Unexpected card card {}", count); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.79s [INFO] running `Command { std: "docker" "inspect" "e02898cca4572cabb43ac8ac74ee21c53bcfb6625a5e7ba1b2641c1521c079a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02898cca4572cabb43ac8ac74ee21c53bcfb6625a5e7ba1b2641c1521c079a9", kill_on_drop: false }` [INFO] [stdout] e02898cca4572cabb43ac8ac74ee21c53bcfb6625a5e7ba1b2641c1521c079a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7eaa182ad0505b1e947af98932aaef2ab5163235a56477d1a5815b4a206d26a1 [INFO] running `Command { std: "docker" "start" "-a" "7eaa182ad0505b1e947af98932aaef2ab5163235a56477d1a5815b4a206d26a1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | panic!(format!("Unexpected card card {}", count)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 89 - panic!(format!("Unexpected card card {}", count)); [INFO] [stdout] 89 + panic!("Unexpected card card {}", count); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling poker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:89:24 [INFO] [stdout] | [INFO] [stdout] 89 | panic!(format!("Unexpected card card {}", count)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 89 - panic!(format!("Unexpected card card {}", count)); [INFO] [stdout] 89 + panic!("Unexpected card card {}", count); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.99s [INFO] running `Command { std: "docker" "inspect" "7eaa182ad0505b1e947af98932aaef2ab5163235a56477d1a5815b4a206d26a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eaa182ad0505b1e947af98932aaef2ab5163235a56477d1a5815b4a206d26a1", kill_on_drop: false }` [INFO] [stdout] 7eaa182ad0505b1e947af98932aaef2ab5163235a56477d1a5815b4a206d26a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-97/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d48746211d9f7d08a6e179390fcc9e6a547a6af0c1a57a2cea194f023eecf752 [INFO] running `Command { std: "docker" "start" "-a" "d48746211d9f7d08a6e179390fcc9e6a547a6af0c1a57a2cea194f023eecf752", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:89:24 [INFO] [stderr] | [INFO] [stderr] 89 | panic!(format!("Unexpected card card {}", count)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 89 - panic!(format!("Unexpected card card {}", count)); [INFO] [stderr] 89 + panic!("Unexpected card card {}", count); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `poker` (lib) generated 1 warning [INFO] [stderr] warning: `poker` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/poker-5cdeff9c4c9526e1) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test cards::tests::card_from_char_err ... ok [INFO] [stdout] test cards::tests::card_from_char_ok ... ok [INFO] [stdout] test tests::hand_from_char_bad_char ... ok [INFO] [stdout] test tests::hand_from_char_wrong_length ... ok [INFO] [stdout] test tests::score_ace_high_straight ... ok [INFO] [stdout] test tests::score_five_high_straight ... ok [INFO] [stdout] test tests::score_four_of_a_king ... ok [INFO] [stdout] test tests::hand_from_char_ok ... ok [INFO] [stdout] test tests::score_high_card_ace ... ok [INFO] [stdout] test tests::score_high_card ... ok [INFO] [stdout] test tests::score_high_card_other_order ... ok [INFO] [stdout] test tests::score_pair ... ok [INFO] [stdout] test tests::score_two_pair ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/main-aa0c62e9cbb9b33d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_parse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/sample.rs (/opt/rustwide/target/debug/deps/sample-f0384c60974cd4c8) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stderr] Doc-tests poker [INFO] [stdout] test test_sample1 ... ok [INFO] [stdout] test test_sample3 ... ok [INFO] [stdout] test test_sample2 ... ok [INFO] [stdout] test test_sample4 ... ok [INFO] [stdout] test test_sample5 ... ok [INFO] [stdout] test test_sample6 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/cards.rs - cards::Card::from_char (line 29) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d48746211d9f7d08a6e179390fcc9e6a547a6af0c1a57a2cea194f023eecf752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48746211d9f7d08a6e179390fcc9e6a547a6af0c1a57a2cea194f023eecf752", kill_on_drop: false }` [INFO] [stdout] d48746211d9f7d08a6e179390fcc9e6a547a6af0c1a57a2cea194f023eecf752