[INFO] cloning repository https://github.com/gregorholzmann/rust-playground
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gregorholzmann/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregorholzmann%2Frust-playground", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregorholzmann%2Frust-playground'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e44145369c9374ccf0e294cbae2934d301387e2
[INFO] checking gregorholzmann/rust-playground against try#5ec4d3b0c83717313176eefa7d71e9d36dc83355 for 155501-infallible-never-no-reservation
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregorholzmann%2Frust-playground" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gregorholzmann/rust-playground
[INFO] finished tweaking git repo https://github.com/gregorholzmann/rust-playground
[INFO] tweaked toml for git repo https://github.com/gregorholzmann/rust-playground written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gregorholzmann/rust-playground on toolchain 5ec4d3b0c83717313176eefa7d71e9d36dc83355
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gregorholzmann/rust-playground 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" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 49bea72e0a491d1f9579cfd5ea81b68e7cd5ae4fea89aa4f8e3ef20f815aedd9
[INFO] running `Command { std: "docker" "start" "-a" "49bea72e0a491d1f9579cfd5ea81b68e7cd5ae4fea89aa4f8e3ef20f815aedd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "49bea72e0a491d1f9579cfd5ea81b68e7cd5ae4fea89aa4f8e3ef20f815aedd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49bea72e0a491d1f9579cfd5ea81b68e7cd5ae4fea89aa4f8e3ef20f815aedd9", kill_on_drop: false }`
[INFO] [stdout] 49bea72e0a491d1f9579cfd5ea81b68e7cd5ae4fea89aa4f8e3ef20f815aedd9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+5ec4d3b0c83717313176eefa7d71e9d36dc83355" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 254123741b986e39fa06ac5355879af12372d182563366bb90225c31ca0b003b
[INFO] running `Command { std: "docker" "start" "-a" "254123741b986e39fa06ac5355879af12372d182563366bb90225c31ca0b003b", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking libc v0.2.26
[INFO] [stderr]     Checking rand v0.3.15
[INFO] [stderr]     Checking rust-playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `num_value` is never read
[INFO] [stdout]   --> src/main.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let mut num_value: u8 = 0;
[INFO] [stdout]    |                                     ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 29 |                 num_value = card.value.parse::<u8>().unwrap();
[INFO] [stdout]    |                 --------------------------------------------- `num_value` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num_value` is never read
[INFO] [stdout]   --> src/main.rs:25:37
[INFO] [stdout]    |
[INFO] [stdout] 25 |             let mut num_value: u8 = 0;
[INFO] [stdout]    |                                     ^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 29 |                 num_value = card.value.parse::<u8>().unwrap();
[INFO] [stdout]    |                 --------------------------------------------- `num_value` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |     for x in 0..number_of_cards {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/main.rs:86:9
[INFO] [stdout]    |
[INFO] [stdout] 86 |     for x in 0..number_of_cards {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:101:51
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn end_game(player_hand: Hand, dealer_hand: Hand, mut deck: &mut Vec<Card>) {
[INFO] [stdout]     |                                                   ----^^^^
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:101:51
[INFO] [stdout]     |
[INFO] [stdout] 101 | fn end_game(player_hand: Hand, dealer_hand: Hand, mut deck: &mut Vec<Card>) {
[INFO] [stdout]     |                                                   ----^^^^
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "254123741b986e39fa06ac5355879af12372d182563366bb90225c31ca0b003b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "254123741b986e39fa06ac5355879af12372d182563366bb90225c31ca0b003b", kill_on_drop: false }`
[INFO] [stdout] 254123741b986e39fa06ac5355879af12372d182563366bb90225c31ca0b003b
