[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#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FB1Fr0st%2Fcards" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/B1Fr0st/cards on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0b266ff77819c584ad5072e0cd039479ba57298c6d054b8d16d5095e86d9e5c7
[INFO] running `Command { std: "docker" "start" "-a" "0b266ff77819c584ad5072e0cd039479ba57298c6d054b8d16d5095e86d9e5c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0b266ff77819c584ad5072e0cd039479ba57298c6d054b8d16d5095e86d9e5c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0b266ff77819c584ad5072e0cd039479ba57298c6d054b8d16d5095e86d9e5c7", kill_on_drop: false }`
[INFO] [stdout] 0b266ff77819c584ad5072e0cd039479ba57298c6d054b8d16d5095e86d9e5c7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 60633d98490a645a184e6b204bc34ad8038d834e99d46005b100e82ce19040a1
[INFO] running `Command { std: "docker" "start" "-a" "60633d98490a645a184e6b204bc34ad8038d834e99d46005b100e82ce19040a1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking strum v0.27.1
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling strum_macros v0.27.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.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[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/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/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 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[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] 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] [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] [stderr] error: could not compile `cards` (lib) due to 9 previous errors
[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] [stderr] warning: build failed, waiting for other jobs to finish...
[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" "60633d98490a645a184e6b204bc34ad8038d834e99d46005b100e82ce19040a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "60633d98490a645a184e6b204bc34ad8038d834e99d46005b100e82ce19040a1", kill_on_drop: false }`
[INFO] [stdout] 60633d98490a645a184e6b204bc34ad8038d834e99d46005b100e82ce19040a1
