[INFO] fetching crate blackjack 0.1.1... [INFO] checking blackjack-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate blackjack 0.1.1 into /workspace/builds/worker-107/source [INFO] validating manifest of crates.io crate blackjack 0.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-107/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--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-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ae9b8b802987b3a9e286ce86f5af2005f59cd70310958c19456c810fb084dca [INFO] running `Command { std: "docker" "start" "-a" "4ae9b8b802987b3a9e286ce86f5af2005f59cd70310958c19456c810fb084dca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ae9b8b802987b3a9e286ce86f5af2005f59cd70310958c19456c810fb084dca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae9b8b802987b3a9e286ce86f5af2005f59cd70310958c19456c810fb084dca", kill_on_drop: false }` [INFO] [stdout] 4ae9b8b802987b3a9e286ce86f5af2005f59cd70310958c19456c810fb084dca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07bd925517fe2278742133ad4d9c4fa0508785f95fa0ef3ed4db81bb26100384 [INFO] running `Command { std: "docker" "start" "-a" "07bd925517fe2278742133ad4d9c4fa0508785f95fa0ef3ed4db81bb26100384", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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 (/tmp/fixit) [INFO] [stderr] Migrating lib/lib.rs from 2018 edition to 2021 [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] = 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 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/tests.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] = 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 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.26s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking blackjack v0.1.1 (/tmp/fixit) [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] = 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 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: 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] = 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 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: 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 0.85s [INFO] running `Command { std: "docker" "inspect" "07bd925517fe2278742133ad4d9c4fa0508785f95fa0ef3ed4db81bb26100384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07bd925517fe2278742133ad4d9c4fa0508785f95fa0ef3ed4db81bb26100384", kill_on_drop: false }` [INFO] [stdout] 07bd925517fe2278742133ad4d9c4fa0508785f95fa0ef3ed4db81bb26100384