[INFO] cloning repository https://github.com/Fish-o/simulatie-21
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fish-o/simulatie-21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFish-o%2Fsimulatie-21", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFish-o%2Fsimulatie-21'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e1362395febdcc6d3e411939ea39b65c3aa8ad20
[INFO] checking Fish-o/simulatie-21/e1362395febdcc6d3e411939ea39b65c3aa8ad20 against 67854e511de21d881bb16426996cd4259d44aa2e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFish-o%2Fsimulatie-21" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Fish-o/simulatie-21
[INFO] finished tweaking git repo https://github.com/Fish-o/simulatie-21
[INFO] tweaked toml for git repo https://github.com/Fish-o/simulatie-21 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Fish-o/simulatie-21 on toolchain 67854e511de21d881bb16426996cd4259d44aa2e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Fish-o/simulatie-21 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" "+67854e511de21d881bb16426996cd4259d44aa2e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded portable-atomic v0.3.19
[INFO] [stderr]   Downloaded indicatif v0.17.2
[INFO] [stderr]   Downloaded console v0.15.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c
[INFO] running `Command { std: "docker" "start" "6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c" "/opt/rustwide/cargo-home/bin/cargo" "+67854e511de21d881bb16426996cd4259d44aa2e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling portable-atomic v0.3.19
[INFO] [stderr]     Checking unicode-width v0.1.10
[INFO] [stderr]     Checking fastrand v1.8.0
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking console v0.15.3
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking dialoguer v0.10.2
[INFO] [stderr]     Checking indicatif v0.17.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking simulatie-21 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `console::style`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use console::style;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Confirm` and `Select`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dialoguer::{Confirm, Select};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `console::style`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use console::style;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Confirm` and `Select`
[INFO] [stdout]  --> src/main.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use dialoguer::{Confirm, Select};
[INFO] [stdout]   |                 ^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let mut wins_with_bought =
[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:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let mut losses_with_bought = losses_with_bought.into_iter().fold(
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/main.rs:217:7
[INFO] [stdout]     |
[INFO] [stdout] 217 |   for round in 0..rounds {
[INFO] [stdout]     |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `possible_values`
[INFO] [stdout]    --> src/main.rs:407:11
[INFO] [stdout]     |
[INFO] [stdout] 407 |       let possible_values = player.hand.possible_values();
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_possible_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:545:7
[INFO] [stdout]     |
[INFO] [stdout] 545 |   let mut bid = 1;
[INFO] [stdout]     |       ----^^^
[INFO] [stdout]     |       |
[INFO] [stdout]     |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/main.rs:544:17
[INFO] [stdout]     |
[INFO] [stdout] 544 | fn generate_bid(player: &Player) -> u32 {
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let mut wins_with_bought =
[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:161:9
[INFO] [stdout]     |
[INFO] [stdout] 161 |     let mut losses_with_bought = losses_with_bought.into_iter().fold(
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Players` and `Bank` are never constructed
[INFO] [stdout]    --> src/main.rs:623:3
[INFO] [stdout]     |
[INFO] [stdout] 621 | enum Visibility {
[INFO] [stdout]     |      ---------- variants in this enum
[INFO] [stdout] 622 |   All,
[INFO] [stdout] 623 |   Players,
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 624 |   Owner,
[INFO] [stdout] 625 |   Bank,
[INFO] [stdout]     |   ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Visibility` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `round`
[INFO] [stdout]    --> src/main.rs:217:7
[INFO] [stdout]     |
[INFO] [stdout] 217 |   for round in 0..rounds {
[INFO] [stdout]     |       ^^^^^ help: if this is intentional, prefix it with an underscore: `_round`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `possible_values`
[INFO] [stdout]    --> src/main.rs:407:11
[INFO] [stdout]     |
[INFO] [stdout] 407 |       let possible_values = player.hand.possible_values();
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_possible_values`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:545:7
[INFO] [stdout]     |
[INFO] [stdout] 545 |   let mut bid = 1;
[INFO] [stdout]     |       ----^^^
[INFO] [stdout]     |       |
[INFO] [stdout]     |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.10s
[INFO] [stdout] warning: unused variable: `player`
[INFO] [stdout]    --> src/main.rs:544:17
[INFO] [stdout]     |
[INFO] [stdout] 544 | fn generate_bid(player: &Player) -> u32 {
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Players` and `Bank` are never constructed
[INFO] [stdout]    --> src/main.rs:623:3
[INFO] [stdout]     |
[INFO] [stdout] 621 | enum Visibility {
[INFO] [stdout]     |      ---------- variants in this enum
[INFO] [stdout] 622 |   All,
[INFO] [stdout] 623 |   Players,
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 624 |   Owner,
[INFO] [stdout] 625 |   Bank,
[INFO] [stdout]     |   ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Visibility` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c", kill_on_drop: false }`
[INFO] [stdout] 6121421f8e130ffae319544e7e8015af6e07f780204a1a81a7bc2cd0cba8f68c
