[INFO] fetching crate blackjack 0.1.1...
[INFO] checking blackjack-0.1.1 against master#e59540968e0c6fc3c37d92a639b83fc8fcee5e81 for pr-114559
[INFO] extracting crate blackjack 0.1.1 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate blackjack 0.1.1 on toolchain e59540968e0c6fc3c37d92a639b83fc8fcee5e81
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate blackjack 0.1.1
[INFO] finished tweaking crates.io crate blackjack 0.1.1
[INFO] tweaked toml for crates.io crate blackjack 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate blackjack 0.1.1 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" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rand v0.3.23
[INFO] [stderr]   Downloaded libc v0.2.72
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 39c3d10c4ef6042e5adc11f887192f46a9a029c56cc48227f9f6d2fc6898a86b
[INFO] running `Command { std: "docker" "start" "-a" "39c3d10c4ef6042e5adc11f887192f46a9a029c56cc48227f9f6d2fc6898a86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "39c3d10c4ef6042e5adc11f887192f46a9a029c56cc48227f9f6d2fc6898a86b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "39c3d10c4ef6042e5adc11f887192f46a9a029c56cc48227f9f6d2fc6898a86b", kill_on_drop: false }`
[INFO] [stdout] 39c3d10c4ef6042e5adc11f887192f46a9a029c56cc48227f9f6d2fc6898a86b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5c16f4e6c37141f9fef0bc86f7a492d732943053e42aab8461035881e3f53823" "/opt/rustwide/cargo-home/bin/cargo" "+e59540968e0c6fc3c37d92a639b83fc8fcee5e81" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9329ff896dda2aa06f0a4ac5fd77fc7629154940407768ebbcf5c3ddbf78ffe5
[INFO] running `Command { std: "docker" "start" "-a" "9329ff896dda2aa06f0a4ac5fd77fc7629154940407768ebbcf5c3ddbf78ffe5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.72
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking blackjack v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: attribute should be applied to a free function, impl method or static
[INFO] [stdout]   --> lib/card.rs:37:2
[INFO] [stdout]    |
[INFO] [stdout] 37 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 38 |       #[repr(C)]
[INFO] [stdout] 39 | /     pub struct Deck {
[INFO] [stdout] 40 | |         cards: Vec<Card>,
[INFO] [stdout] 41 | |         deck_count: usize,
[INFO] [stdout] 42 | |         card_index: usize
[INFO] [stdout] 43 | |     }
[INFO] [stdout]    | |_____- not a free function, impl method or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a free function, impl method or static
[INFO] [stdout]   --> lib/player.rs:20:2
[INFO] [stdout]    |
[INFO] [stdout] 20 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 21 |       #[derive(Clone)]
[INFO] [stdout] 22 | /     pub struct Player {
[INFO] [stdout] 23 | |         name: String,
[INFO] [stdout] 24 | |         is_dealer: bool,
[INFO] [stdout] 25 | |         hands: Vec<Hand>,
[INFO] [stdout] 26 | |         balance: i32,
[INFO] [stdout] 27 | |         standing: i32
[INFO] [stdout] 28 | |     }
[INFO] [stdout]    | |_____- not a free function, impl method or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a free function, impl method or static
[INFO] [stdout]   --> lib/player.rs:30:2
[INFO] [stdout]    |
[INFO] [stdout] 30 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 31 |       #[derive(Clone)]
[INFO] [stdout] 32 | /     pub struct Hand {
[INFO] [stdout] 33 | |         cards: Vec<Card>,
[INFO] [stdout] 34 | |         can_surrender: bool,
[INFO] [stdout] 35 | |         surrendered: bool,
[INFO] [stdout] 36 | |         is_set: bool,
[INFO] [stdout] 37 | |         wager: i32
[INFO] [stdout] 38 | |     }
[INFO] [stdout]    | |_____- not a free function, impl method or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a free function, impl method or static
[INFO] [stdout]   --> lib/card.rs:37:2
[INFO] [stdout]    |
[INFO] [stdout] 37 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 38 |       #[repr(C)]
[INFO] [stdout] 39 | /     pub struct Deck {
[INFO] [stdout] 40 | |         cards: Vec<Card>,
[INFO] [stdout] 41 | |         deck_count: usize,
[INFO] [stdout] 42 | |         card_index: usize
[INFO] [stdout] 43 | |     }
[INFO] [stdout]    | |_____- not a free function, impl method or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: `#[warn(unused_attributes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a free function, impl method or static
[INFO] [stdout]   --> lib/player.rs:20:2
[INFO] [stdout]    |
[INFO] [stdout] 20 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 21 |       #[derive(Clone)]
[INFO] [stdout] 22 | /     pub struct Player {
[INFO] [stdout] 23 | |         name: String,
[INFO] [stdout] 24 | |         is_dealer: bool,
[INFO] [stdout] 25 | |         hands: Vec<Hand>,
[INFO] [stdout] 26 | |         balance: i32,
[INFO] [stdout] 27 | |         standing: i32
[INFO] [stdout] 28 | |     }
[INFO] [stdout]    | |_____- not a free function, impl method or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: attribute should be applied to a free function, impl method or static
[INFO] [stdout]   --> lib/player.rs:30:2
[INFO] [stdout]    |
[INFO] [stdout] 30 |       #[no_mangle]
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 31 |       #[derive(Clone)]
[INFO] [stdout] 32 | /     pub struct Hand {
[INFO] [stdout] 33 | |         cards: Vec<Card>,
[INFO] [stdout] 34 | |         can_surrender: bool,
[INFO] [stdout] 35 | |         surrendered: bool,
[INFO] [stdout] 36 | |         is_set: bool,
[INFO] [stdout] 37 | |         wager: i32
[INFO] [stdout] 38 | |     }
[INFO] [stdout]    | |_____- not a free function, impl method or static
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_dealer` is never read
[INFO] [stdout]   --> lib/player.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub struct Player {
[INFO] [stdout]    |                ------ field in this struct
[INFO] [stdout] 23 |         name: String,
[INFO] [stdout] 24 |         is_dealer: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Player` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `is_dealer` is never read
[INFO] [stdout]   --> lib/player.rs:24:3
[INFO] [stdout]    |
[INFO] [stdout] 22 |     pub struct Player {
[INFO] [stdout]    |                ------ field in this struct
[INFO] [stdout] 23 |         name: String,
[INFO] [stdout] 24 |         is_dealer: bool,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Player` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "9329ff896dda2aa06f0a4ac5fd77fc7629154940407768ebbcf5c3ddbf78ffe5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9329ff896dda2aa06f0a4ac5fd77fc7629154940407768ebbcf5c3ddbf78ffe5", kill_on_drop: false }`
[INFO] [stdout] 9329ff896dda2aa06f0a4ac5fd77fc7629154940407768ebbcf5c3ddbf78ffe5
