[INFO] cloning repository https://github.com/askreet/blackjack-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/askreet/blackjack-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faskreet%2Fblackjack-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faskreet%2Fblackjack-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 307186ad695cf05d76d84f1d3e880da1642dcbba
[INFO] checking askreet/blackjack-rs against try#2cbf9c3ff35600794d69a7dc7ab399810a067910 for pr-129249-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faskreet%2Fblackjack-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/askreet/blackjack-rs
[INFO] finished tweaking git repo https://github.com/askreet/blackjack-rs
[INFO] tweaked toml for git repo https://github.com/askreet/blackjack-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/askreet/blackjack-rs on toolchain 2cbf9c3ff35600794d69a7dc7ab399810a067910
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/askreet/blackjack-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" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `blackjack-rs` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ae323045137e524695974e0aa4101a019e10d6c6be60c18fc96e8b3d9e07c55e
[INFO] running `Command { std: "docker" "start" "ae323045137e524695974e0aa4101a019e10d6c6be60c18fc96e8b3d9e07c55e", 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" "ae323045137e524695974e0aa4101a019e10d6c6be60c18fc96e8b3d9e07c55e" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae323045137e524695974e0aa4101a019e10d6c6be60c18fc96e8b3d9e07c55e", 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" "ae323045137e524695974e0aa4101a019e10d6c6be60c18fc96e8b3d9e07c55e" "/opt/rustwide/cargo-home/bin/cargo" "+2cbf9c3ff35600794d69a7dc7ab399810a067910" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `blackjack-rs` (manifest) generated 1 warning
[INFO] [stderr]     Checking rand_core v0.2.0
[INFO] [stderr]     Checking libc v0.2.41
[INFO] [stderr]     Checking rand v0.5.0
[INFO] [stderr]     Checking blackjack-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `card::Card`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use card::Card;
[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 import: `deck::Deck`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use deck::Deck;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `card::Card`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use card::Card;
[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 import: `deck::Deck`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use deck::Deck;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Card`, `Rank::*`, and `Suit::*`
[INFO] [stdout]   --> src/deck.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |     use card::{Card, Rank, Rank::*, Suit, Suit::*};
[INFO] [stdout]    |                ^^^^        ^^^^^^^        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Suit::*`
[INFO] [stdout]    --> src/game.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |     use card::{Rank::*, Suit::*};
[INFO] [stdout]     |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `game::Error` is more private than the item `Game::deal_hand`
[INFO] [stdout]   --> src/game.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn deal_hand(&mut self, bet: Chips) -> Result<()> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Game::deal_hand` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `game::Error` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/game.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Error {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `of` is never used
[INFO] [stdout]   --> src/deck.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Deck {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 26 |     pub fn of(cards: Vec<Card>) -> Deck {
[INFO] [stdout]    |            ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/game.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | enum Error {
[INFO] [stdout]   |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Result` is never used
[INFO] [stdout]   --> src/game.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | type Result<T> = result::Result<T, Error>;
[INFO] [stdout]    |      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `current_bet` is never read
[INFO] [stdout]   --> src/game.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Game {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub current_bet: Chips,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `deal_hand` is never used
[INFO] [stdout]   --> src/game.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Game {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn deal_hand(&mut self, bet: Chips) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `game::Error` is more private than the item `game::Game::deal_hand`
[INFO] [stdout]   --> src/game.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn deal_hand(&mut self, bet: Chips) -> Result<()> {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `game::Game::deal_hand` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `game::Error` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/game.rs:9:1
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Error {
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `NotEnoughChips` is never constructed
[INFO] [stdout]   --> src/game.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | enum Error {
[INFO] [stdout]    |      ----- variant in this enum
[INFO] [stdout] 10 |     NotEnoughChips,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` has a derived impl for the trait `Debug`, 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.22s
[INFO] running `Command { std: "docker" "inspect" "ae323045137e524695974e0aa4101a019e10d6c6be60c18fc96e8b3d9e07c55e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae323045137e524695974e0aa4101a019e10d6c6be60c18fc96e8b3d9e07c55e", kill_on_drop: false }`
[INFO] [stdout] ae323045137e524695974e0aa4101a019e10d6c6be60c18fc96e8b3d9e07c55e
