[INFO] fetching crate blackjack 0.1.1... [INFO] building blackjack-0.1.1 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [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 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be8d30caa3a299f55db7b60e09fde396320d09d49efba8bdd5ca981d64d36777 [INFO] running `Command { std: "docker" "start" "-a" "be8d30caa3a299f55db7b60e09fde396320d09d49efba8bdd5ca981d64d36777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be8d30caa3a299f55db7b60e09fde396320d09d49efba8bdd5ca981d64d36777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be8d30caa3a299f55db7b60e09fde396320d09d49efba8bdd5ca981d64d36777", kill_on_drop: false }` [INFO] [stdout] be8d30caa3a299f55db7b60e09fde396320d09d49efba8bdd5ca981d64d36777 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a2203276a5b5c9f621d7ce8c807e0e246ccbc850dc088fb3cfcc2cb10e60e99 [INFO] running `Command { std: "docker" "start" "-a" "8a2203276a5b5c9f621d7ce8c807e0e246ccbc850dc088fb3cfcc2cb10e60e99", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling 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, [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, [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, [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "8a2203276a5b5c9f621d7ce8c807e0e246ccbc850dc088fb3cfcc2cb10e60e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2203276a5b5c9f621d7ce8c807e0e246ccbc850dc088fb3cfcc2cb10e60e99", kill_on_drop: false }` [INFO] [stdout] 8a2203276a5b5c9f621d7ce8c807e0e246ccbc850dc088fb3cfcc2cb10e60e99 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c9fd9116f5d7afeb89470a26454323b24d870a50ba82ee8bb61214e6aacf88a [INFO] running `Command { std: "docker" "start" "-a" "6c9fd9116f5d7afeb89470a26454323b24d870a50ba82ee8bb61214e6aacf88a", kill_on_drop: false }` [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, [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, [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, [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] [stderr] Compiling 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, [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, [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, [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "6c9fd9116f5d7afeb89470a26454323b24d870a50ba82ee8bb61214e6aacf88a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9fd9116f5d7afeb89470a26454323b24d870a50ba82ee8bb61214e6aacf88a", kill_on_drop: false }` [INFO] [stdout] 6c9fd9116f5d7afeb89470a26454323b24d870a50ba82ee8bb61214e6aacf88a