[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#cced03bfd61a304243a34504618ecec86c17063f for pr-157082 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbakuzan%2Fyumeko" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bakuzan/yumeko on toolchain cced03bfd61a304243a34504618ecec86c17063f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bakuzan/yumeko 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" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `yumeko` (manifest) generated 1 warning [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded rand v0.5.3 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c9bf59f7a4f170acb1b5d70e3c84684305060368c6b0bf80e578f10449e6fb89 [INFO] running `Command { std: "docker" "start" "c9bf59f7a4f170acb1b5d70e3c84684305060368c6b0bf80e578f10449e6fb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c9bf59f7a4f170acb1b5d70e3c84684305060368c6b0bf80e578f10449e6fb89" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9bf59f7a4f170acb1b5d70e3c84684305060368c6b0bf80e578f10449e6fb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c9bf59f7a4f170acb1b5d70e3c84684305060368c6b0bf80e578f10449e6fb89" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `yumeko` (manifest) generated 1 warning [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking rand_core v0.2.1 [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)]` (part of `#[warn(unused)]`) 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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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)]` (part of `#[warn(unused)]`) 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] = 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] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [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 `order` is never read [INFO] [stdout] --> src/deck/card.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 18 - SUITS.into_iter() [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 - SUITS.into_iter() [INFO] [stdout] 18 + IntoIterator::into_iter(SUITS) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `order` is never read [INFO] [stdout] --> src/deck/card.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | order: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Card` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 18 - SUITS.into_iter() [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 - SUITS.into_iter() [INFO] [stdout] 18 + IntoIterator::into_iter(SUITS) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "c9bf59f7a4f170acb1b5d70e3c84684305060368c6b0bf80e578f10449e6fb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9bf59f7a4f170acb1b5d70e3c84684305060368c6b0bf80e578f10449e6fb89", kill_on_drop: false }` [INFO] [stdout] c9bf59f7a4f170acb1b5d70e3c84684305060368c6b0bf80e578f10449e6fb89