[INFO] cloning repository https://github.com/B1Fr0st/cards
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/B1Fr0st/cards" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FB1Fr0st%2Fcards", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FB1Fr0st%2Fcards'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 544417a2f5a1071611ffe9d6e45735b3c00032c0
[INFO] checking B1Fr0st/cards against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FB1Fr0st%2Fcards" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/B1Fr0st/cards
[INFO] finished tweaking git repo https://github.com/B1Fr0st/cards
[INFO] tweaked toml for git repo https://github.com/B1Fr0st/cards written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/B1Fr0st/cards on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/B1Fr0st/cards 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c46c3753f6fc601b219aa312448b61f68f8232a86cecd34a177b5640dc5907ec
[INFO] running `Command { std: "docker" "start" "-a" "c46c3753f6fc601b219aa312448b61f68f8232a86cecd34a177b5640dc5907ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c46c3753f6fc601b219aa312448b61f68f8232a86cecd34a177b5640dc5907ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c46c3753f6fc601b219aa312448b61f68f8232a86cecd34a177b5640dc5907ec", kill_on_drop: false }`
[INFO] [stdout] c46c3753f6fc601b219aa312448b61f68f8232a86cecd34a177b5640dc5907ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a787dc1add9c4fe825cabceca9112ee8e6ffd868b51cceb5c9a9c0b057d25d18
[INFO] running `Command { std: "docker" "start" "-a" "a787dc1add9c4fe825cabceca9112ee8e6ffd868b51cceb5c9a9c0b057d25d18", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]     Checking strum v0.27.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling strum_macros v0.27.1
[INFO] [stderr]     Checking cards v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `}`
[INFO] [stdout]   --> src/card/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     }
[INFO] [stdout]    |     ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `}`
[INFO] [stdout]   --> src/card/mod.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     }
[INFO] [stdout]    |     ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::rank::Rank`
[INFO] [stdout]  --> src/card/mod.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use self::{rank::Rank, suit::Suit};
[INFO] [stdout]   |                ^^^^^^^^^^ no `Rank` in `card::rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::card::Hand`
[INFO] [stdout]  --> src/deck.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::card::{Suit, Rank, Card, Hand};
[INFO] [stdout]   |                                     ^^^^
[INFO] [stdout]   |                                     |
[INFO] [stdout]   |                                     no `Hand` in `card`
[INFO] [stdout]   |                                     help: a similar name exists in the module: `hand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           crate::card::hand::Hand
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope
[INFO] [stdout]  --> src/card/suit.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, EnumIter, Clone, Copy, PartialEq, PartialOrd)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use strum_macros::EnumIter;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `self::rank::Rank`
[INFO] [stdout]  --> src/card/mod.rs:6:16
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use self::{rank::Rank, suit::Suit};
[INFO] [stdout]   |                ^^^^^^^^^^ no `Rank` in `card::rank`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::card::Hand`
[INFO] [stdout]  --> src/deck.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::card::{Suit, Rank, Card, Hand};
[INFO] [stdout]   |                                     ^^^^
[INFO] [stdout]   |                                     |
[INFO] [stdout]   |                                     no `Hand` in `card`
[INFO] [stdout]   |                                     help: a similar name exists in the module: `hand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           crate::card::hand::Hand
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `EnumIter` in this scope
[INFO] [stdout]  --> src/card/suit.rs:1:17
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug, EnumIter, Clone, Copy, PartialEq, PartialOrd)]
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 1 + use strum_macros::EnumIter;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Card` doesn't implement `Debug`
[INFO] [stdout]  --> src/card/hand.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(Debug)]
[INFO] [stdout]   |          ----- in this derive macro expansion
[INFO] [stdout] 3 | pub struct Hand{
[INFO] [stdout] 4 |     cards: Vec<Card>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Card`
[INFO] [stdout]   |
[INFO] [stdout]   = note: add `#[derive(Debug)]` to `Card` or manually `impl Debug for Card`
[INFO] [stdout]   = help: the trait `Debug` is implemented for `Vec<T, A>`
[INFO] [stdout] help: consider annotating `Card` with `#[derive(Debug)]`
[INFO] [stdout]  --> src/card/mod.rs:12:1
[INFO] [stdout]   |
[INFO] [stdout] 12+ #[derive(Debug)]
[INFO] [stdout] 13| pub struct Card{
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Card` doesn't implement `Debug`
[INFO] [stdout]   --> src/card/hand.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug)]
[INFO] [stdout]    |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 25 |     kicker: Card
[INFO] [stdout]    |     ^^^^^^^^^^^^ the trait `Debug` is not implemented for `Card`
[INFO] [stdout]    |
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `Card` or manually `impl Debug for Card`
[INFO] [stdout] help: consider annotating `Card` with `#[derive(Debug)]`
[INFO] [stdout]   --> src/card/mod.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 + #[derive(Debug)]
[INFO] [stdout] 13 | pub struct Card{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Card` doesn't implement `Debug`
[INFO] [stdout]  --> src/card/hand.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[derive(Debug)]
[INFO] [stdout]   |          ----- in this derive macro expansion
[INFO] [stdout] 3 | pub struct Hand{
[INFO] [stdout] 4 |     cards: Vec<Card>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Card`
[INFO] [stdout]   |
[INFO] [stdout]   = note: add `#[derive(Debug)]` to `Card` or manually `impl Debug for Card`
[INFO] [stdout]   = help: the trait `Debug` is implemented for `Vec<T, A>`
[INFO] [stdout] help: consider annotating `Card` with `#[derive(Debug)]`
[INFO] [stdout]  --> src/card/mod.rs:12:1
[INFO] [stdout]   |
[INFO] [stdout] 12+ #[derive(Debug)]
[INFO] [stdout] 13| pub struct Card{
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Card` doesn't implement `Debug`
[INFO] [stdout]   --> src/card/hand.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug)]
[INFO] [stdout]    |          ----- in this derive macro expansion
[INFO] [stdout] ...
[INFO] [stdout] 25 |     kicker: Card
[INFO] [stdout]    |     ^^^^^^^^^^^^ the trait `Debug` is not implemented for `Card`
[INFO] [stdout]    |
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `Card` or manually `impl Debug for Card`
[INFO] [stdout] help: consider annotating `Card` with `#[derive(Debug)]`
[INFO] [stdout]   --> src/card/mod.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 + #[derive(Debug)]
[INFO] [stdout] 13 | pub struct Card{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_i32` found for enum `Suit` in the current scope
[INFO] [stdout]   --> src/card/mod.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let suit_int = suit.as_i32();
[INFO] [stdout]    |                             ^^^^^^ method not found in `Suit`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/card/suit.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub enum Suit{
[INFO] [stdout]    | ------------- method `as_i32` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Card` doesn't implement `Debug`
[INFO] [stdout]   --> src/deck.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug)]
[INFO] [stdout]    |          ----- in this derive macro expansion
[INFO] [stdout]  9 | pub struct Deck{
[INFO] [stdout] 10 |     cards:VecDeque<Card>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Card`
[INFO] [stdout]    |
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `Card` or manually `impl Debug for Card`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `VecDeque<T, A>`
[INFO] [stdout] help: consider annotating `Card` with `#[derive(Debug)]`
[INFO] [stdout]   --> src/card/mod.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 + #[derive(Debug)]
[INFO] [stdout] 13 | pub struct Card{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_i32` found for enum `Suit` in the current scope
[INFO] [stdout]   --> src/card/mod.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let suit_int = suit.as_i32();
[INFO] [stdout]    |                             ^^^^^^ method not found in `Suit`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/card/suit.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub enum Suit{
[INFO] [stdout]    | ------------- method `as_i32` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `Suit` in the current scope
[INFO] [stdout]   --> src/deck.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |         for suit in Suit::iter(){
[INFO] [stdout]    |                           ^^^^ variant or associated item not found in `Suit`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/card/suit.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub enum Suit{
[INFO] [stdout]    | ------------- variant or associated item `iter` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `iter`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `IntoEnumIterator`
[INFO] [stdout]            candidate #2: `VariantIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Card` doesn't implement `Debug`
[INFO] [stdout]   --> src/deck.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | #[derive(Debug)]
[INFO] [stdout]    |          ----- in this derive macro expansion
[INFO] [stdout]  9 | pub struct Deck{
[INFO] [stdout] 10 |     cards:VecDeque<Card>
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Card`
[INFO] [stdout]    |
[INFO] [stdout]    = note: add `#[derive(Debug)]` to `Card` or manually `impl Debug for Card`
[INFO] [stdout]    = help: the trait `Debug` is implemented for `VecDeque<T, A>`
[INFO] [stdout] help: consider annotating `Card` with `#[derive(Debug)]`
[INFO] [stdout]   --> src/card/mod.rs:12:1
[INFO] [stdout]    |
[INFO] [stdout] 12 + #[derive(Debug)]
[INFO] [stdout] 13 | pub struct Card{
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cards` (lib) due to 9 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no variant or associated item named `iter` found for enum `Suit` in the current scope
[INFO] [stdout]   --> src/deck.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |         for suit in Suit::iter(){
[INFO] [stdout]    |                           ^^^^ variant or associated item not found in `Suit`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/card/suit.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub enum Suit{
[INFO] [stdout]    | ------------- variant or associated item `iter` not found for this enum
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `iter`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `IntoEnumIterator`
[INFO] [stdout]            candidate #2: `VariantIterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cards` (lib test) due to 9 previous errors
[INFO] running `Command { std: "docker" "inspect" "a787dc1add9c4fe825cabceca9112ee8e6ffd868b51cceb5c9a9c0b057d25d18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a787dc1add9c4fe825cabceca9112ee8e6ffd868b51cceb5c9a9c0b057d25d18", kill_on_drop: false }`
[INFO] [stdout] a787dc1add9c4fe825cabceca9112ee8e6ffd868b51cceb5c9a9c0b057d25d18
