[INFO] cloning repository https://github.com/bakuzan/yumeko [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bakuzan/yumeko" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbakuzan%2Fyumeko", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbakuzan%2Fyumeko'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a9ee552eec233eb6bca83d3b750761444a94a99 [INFO] checking bakuzan/yumeko against master#2ad4eb207b369017f5140918b5e4b0d3650b46b0 for pr-95611 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbakuzan%2Fyumeko" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bakuzan/yumeko on toolchain 2ad4eb207b369017f5140918b5e4b0d3650b46b0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bakuzan/yumeko [INFO] finished tweaking git repo https://github.com/bakuzan/yumeko [INFO] tweaked toml for git repo https://github.com/bakuzan/yumeko written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/bakuzan/yumeko already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7a7ccf6d382534b620f84df04b93fc219b0cd7e7be0cbd4b190c597c256252d [INFO] running `Command { std: "docker" "start" "-a" "d7a7ccf6d382534b620f84df04b93fc219b0cd7e7be0cbd4b190c597c256252d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7a7ccf6d382534b620f84df04b93fc219b0cd7e7be0cbd4b190c597c256252d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a7ccf6d382534b620f84df04b93fc219b0cd7e7be0cbd4b190c597c256252d", kill_on_drop: false }` [INFO] [stdout] d7a7ccf6d382534b620f84df04b93fc219b0cd7e7be0cbd4b190c597c256252d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+2ad4eb207b369017f5140918b5e4b0d3650b46b0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dd10827fbe9a6c37c215708ba5acc6d84ff59bb0dc5dedd48e4433be2064fc1 [INFO] running `Command { std: "docker" "start" "-a" "7dd10827fbe9a6c37c215708ba5acc6d84ff59bb0dc5dedd48e4433be2064fc1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking rand v0.5.3 [INFO] [stderr] Checking yumeko v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/deal/mod.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn take_a_card(cards: &Vec, hand: &mut Hand) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - pub fn take_a_card(cards: &Vec, hand: &mut Hand) -> (Vec) { [INFO] [stdout] 7 + pub fn take_a_card(cards: &Vec, hand: &mut Hand) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn play_again(round: u32, cards: Vec, callback: &Fn(Vec, u32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn play_again(round: u32, cards: Vec, callback: &Fn(Vec, u32)) { [INFO] [stdout] 48 + pub fn play_again(round: u32, cards: Vec, callback: &dyn Fn(Vec, u32)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/deal/mod.rs:7:59 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn take_a_card(cards: &Vec, hand: &mut Hand) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - pub fn take_a_card(cards: &Vec, hand: &mut Hand) -> (Vec) { [INFO] [stdout] 7 + pub fn take_a_card(cards: &Vec, hand: &mut Hand) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game/mod.rs:48:60 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn play_again(round: u32, cards: Vec, callback: &Fn(Vec, u32)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub fn play_again(round: u32, cards: Vec, callback: &Fn(Vec, u32)) { [INFO] [stdout] 48 + pub fn play_again(round: u32, cards: Vec, callback: &dyn Fn(Vec, u32)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `order` [INFO] [stdout] --> src/deck/card.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | order: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/deck/card.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `order` [INFO] [stdout] --> src/deck/card.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | order: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/deck/card.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/deck/suit.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | SUITS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 18 | SUITS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 18 | IntoIterator::into_iter(SUITS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/deck/suit.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | SUITS.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 18 | SUITS.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 18 | IntoIterator::into_iter(SUITS) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [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 2.74s [INFO] running `Command { std: "docker" "inspect" "7dd10827fbe9a6c37c215708ba5acc6d84ff59bb0dc5dedd48e4433be2064fc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd10827fbe9a6c37c215708ba5acc6d84ff59bb0dc5dedd48e4433be2064fc1", kill_on_drop: false }` [INFO] [stdout] 7dd10827fbe9a6c37c215708ba5acc6d84ff59bb0dc5dedd48e4433be2064fc1