[INFO] fetching crate blackjack 0.1.1... [INFO] checking blackjack-0.1.1 against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] extracting crate blackjack 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate blackjack 0.1.1 on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", 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-0/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: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b42dbd0fdddd121e8514db09eb5416a1d3841a4ececadfd36774bc151301c42a [INFO] running `Command { std: "docker" "start" "-a" "b42dbd0fdddd121e8514db09eb5416a1d3841a4ececadfd36774bc151301c42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b42dbd0fdddd121e8514db09eb5416a1d3841a4ececadfd36774bc151301c42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42dbd0fdddd121e8514db09eb5416a1d3841a4ececadfd36774bc151301c42a", kill_on_drop: false }` [INFO] [stdout] b42dbd0fdddd121e8514db09eb5416a1d3841a4ececadfd36774bc151301c42a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 256a4f6c4198975784e10fed63975e9bf1a1da5d21b79f940e82eb6eda6d8676 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "256a4f6c4198975784e10fed63975e9bf1a1da5d21b79f940e82eb6eda6d8676", 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 function 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] | _____- [INFO] [stdout] 40 | | cards: Vec, [INFO] [stdout] 41 | | deck_count: usize, [INFO] [stdout] 42 | | card_index: usize [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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 function 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] | _____- [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 function 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 function 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] | _____- [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 function 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 function 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] | _____- [INFO] [stdout] 40 | | cards: Vec, [INFO] [stdout] 41 | | deck_count: usize, [INFO] [stdout] 42 | | card_index: usize [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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 function 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] | _____- [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 function 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 function 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] | _____- [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 function 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `Command { std: "docker" "inspect" "256a4f6c4198975784e10fed63975e9bf1a1da5d21b79f940e82eb6eda6d8676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256a4f6c4198975784e10fed63975e9bf1a1da5d21b79f940e82eb6eda6d8676", kill_on_drop: false }` [INFO] [stdout] 256a4f6c4198975784e10fed63975e9bf1a1da5d21b79f940e82eb6eda6d8676