[INFO] cloning repository https://github.com/carribus/roulette_logic_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carribus/roulette_logic_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Froulette_logic_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Froulette_logic_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5c4295ff4faef266728d5436f15f69a4d53b62f0
[INFO] checking carribus/roulette_logic_rs against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarribus%2Froulette_logic_rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/carribus/roulette_logic_rs
[INFO] finished tweaking git repo https://github.com/carribus/roulette_logic_rs
[INFO] tweaked toml for git repo https://github.com/carribus/roulette_logic_rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/carribus/roulette_logic_rs on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/carribus/roulette_logic_rs 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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] dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13
[INFO] running `Command { std: "docker" "start" "dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13", 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" "dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13", 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" "dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.72
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking roulette v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/roulette.rs:196:68
[INFO] [stdout]     |
[INFO] [stdout] 196 |                     RouletteBetType::Dozens(v) => calc_win(bet, || (winning_number > 0 && (winning_number-1)/12 == v - 1)), 
[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] 196 -                     RouletteBetType::Dozens(v) => calc_win(bet, || (winning_number > 0 && (winning_number-1)/12 == v - 1)), 
[INFO] [stdout] 196 +                     RouletteBetType::Dozens(v) => calc_win(bet, || winning_number > 0 && (winning_number-1)/12 == v - 1), 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/roulette.rs:203:69
[INFO] [stdout]     |
[INFO] [stdout] 203 |                     RouletteBetType::Columns(v) => calc_win(bet, || (winning_number > 0 && winning_number % 3 == v % 3)),
[INFO] [stdout]     |                                                                     ^                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 203 -                     RouletteBetType::Columns(v) => calc_win(bet, || (winning_number > 0 && winning_number % 3 == v % 3)),
[INFO] [stdout] 203 +                     RouletteBetType::Columns(v) => calc_win(bet, || winning_number > 0 && winning_number % 3 == v % 3),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/roulette.rs:196:68
[INFO] [stdout]     |
[INFO] [stdout] 196 |                     RouletteBetType::Dozens(v) => calc_win(bet, || (winning_number > 0 && (winning_number-1)/12 == v - 1)), 
[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] 196 -                     RouletteBetType::Dozens(v) => calc_win(bet, || (winning_number > 0 && (winning_number-1)/12 == v - 1)), 
[INFO] [stdout] 196 +                     RouletteBetType::Dozens(v) => calc_win(bet, || winning_number > 0 && (winning_number-1)/12 == v - 1), 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/roulette.rs:203:69
[INFO] [stdout]     |
[INFO] [stdout] 203 |                     RouletteBetType::Columns(v) => calc_win(bet, || (winning_number > 0 && winning_number % 3 == v % 3)),
[INFO] [stdout]     |                                                                     ^                                                 ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 203 -                     RouletteBetType::Columns(v) => calc_win(bet, || (winning_number > 0 && winning_number % 3 == v % 3)),
[INFO] [stdout] 203 +                     RouletteBetType::Columns(v) => calc_win(bet, || winning_number > 0 && winning_number % 3 == v % 3),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `MaxBetOnOption` is never constructed
[INFO] [stdout]  --> src/roulette.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum PlaceBetError {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 6 |     InvalidBetOption(RouletteBet),
[INFO] [stdout] 7 |     MaxBetOnOption(RouletteBet, u64),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PlaceBetError` has derived impls for the traits `Clone` and `Debug`, but these are 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: method `history` is never used
[INFO] [stdout]    --> src/roulette.rs:271:12
[INFO] [stdout]     |
[INFO] [stdout] 251 | impl Roulette {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn history(&self) -> &[u8] {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `MaxBetOnOption` is never constructed
[INFO] [stdout]  --> src/roulette.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum PlaceBetError {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 6 |     InvalidBetOption(RouletteBet),
[INFO] [stdout] 7 |     MaxBetOnOption(RouletteBet, u64),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `PlaceBetError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.43s
[INFO] running `Command { std: "docker" "inspect" "dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13", kill_on_drop: false }`
[INFO] [stdout] dc5da122e90d5c498cd0bad8bdffeed087da7b7c2ba0d592a03ab92e8c8b7a13
