[INFO] cloning repository https://github.com/wyhhh/snake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wyhhh/snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhhh%2Fsnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhhh%2Fsnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11f56dd02d38f264bbd71b77bbac42345b6b3f3e [INFO] checking wyhhh/snake against master#03eb45452305f2d52348279d0caa5fc1f12c438d for pr-138176 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwyhhh%2Fsnake" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wyhhh/snake on toolchain 03eb45452305f2d52348279d0caa5fc1f12c438d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wyhhh/snake [INFO] finished tweaking git repo https://github.com/wyhhh/snake [INFO] tweaked toml for git repo https://github.com/wyhhh/snake written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wyhhh/snake 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" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/wyhhh/vec_list` [INFO] [stderr] Updating git repository `https://github.com/wyhhh/wutil.git` [INFO] [stderr] Blocking waiting for file lock on package cache [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d162a73fc715b26a27c3935db728d7f3b49bb6df2444b111118de84e4299702 [INFO] running `Command { std: "docker" "start" "-a" "1d162a73fc715b26a27c3935db728d7f3b49bb6df2444b111118de84e4299702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d162a73fc715b26a27c3935db728d7f3b49bb6df2444b111118de84e4299702", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d162a73fc715b26a27c3935db728d7f3b49bb6df2444b111118de84e4299702", kill_on_drop: false }` [INFO] [stdout] 1d162a73fc715b26a27c3935db728d7f3b49bb6df2444b111118de84e4299702 [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" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+03eb45452305f2d52348279d0caa5fc1f12c438d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7c95615f055f258ba1e4139bcb73533389cee64ebfcb4fefc8fac39e0f47792 [INFO] running `Command { std: "docker" "start" "-a" "d7c95615f055f258ba1e4139bcb73533389cee64ebfcb4fefc8fac39e0f47792", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking vec_list v0.1.0 (https://github.com/wyhhh/vec_list#e9373438) [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking wutil v0.1.0 (https://github.com/wyhhh/wutil.git#cfb80506) [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | write!(f, "N/A") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "N/A" }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("N/A"))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | / write!( [INFO] [stdout] 64 | | f, [INFO] [stdout] 65 | | "{:.width$?}%", [INFO] [stdout] 66 | | self.0.rate(self.1), [INFO] [stdout] 67 | | width = self.2 as usize [INFO] [stdout] 68 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{:.width$?}%", self.0.rate(self.1), width = self.2 as usize }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! [INFO] [stdout] ("{:.width$?}%", self.0.rate(self.1), width = self.2 as usize))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | write!(f, "{:?}", self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{:?}", self }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("{:?}", self))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | write!(f, "N/A") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "N/A" }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("N/A"))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | / write!( [INFO] [stdout] 93 | | f, [INFO] [stdout] 94 | | "{:.width$?}%", [INFO] [stdout] 95 | | 100.0 - self.0.rate(self.1), [INFO] [stdout] 96 | | width = self.2 as usize [INFO] [stdout] 97 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{:.width$?}%", 100.0 - self.0.rate(self.1), width = self.2 as usize }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! [INFO] [stdout] ("{:.width$?}%", 100.0 - self.0.rate(self.1), width = self.2 as usize))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] note: trace_macro [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/wutil-f2effaecaba364e7/cfb8050/src/util.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | write!(f, "{:?}", self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expanding `write! { f, "{:?}", self }` [INFO] [stdout] = note: to `f.write_fmt($crate :: format_args! ("{:?}", self))` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking snake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | init_static_array!(Snake::zerod(), size_of::(), SNAKES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `init_static_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/main.rs:58:72 [INFO] [stdout] | [INFO] [stdout] 58 | pub static mut BOARD: [[Tiers; WIDTH as usize]; HEIGHT as usize] = init_static_array!( [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 59 | | Tiers { tiers: vec_list![] }, [INFO] [stdout] 60 | | size_of::(), [INFO] [stdout] 61 | | HEIGHT as usize * WIDTH as usize [INFO] [stdout] 62 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `init_static_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | init_static_array!(Snake::zerod(), size_of::(), SNAKES); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `init_static_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/main.rs:58:72 [INFO] [stdout] | [INFO] [stdout] 58 | pub static mut BOARD: [[Tiers; WIDTH as usize]; HEIGHT as usize] = init_static_array!( [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 59 | | Tiers { tiers: vec_list![] }, [INFO] [stdout] 60 | | size_of::(), [INFO] [stdout] 61 | | HEIGHT as usize * WIDTH as usize [INFO] [stdout] 62 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `init_static_array` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | let mut flower_tier = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_laugh_head` is never used [INFO] [stdout] --> src/main.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl Tier { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | fn is_laugh_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / crossterm::execute! { [INFO] [stdout] 17 | | stdout(), [INFO] [stdout] 18 | | cursor::Hide, [INFO] [stdout] 19 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crossterm::execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:354:29 [INFO] [stdout] | [INFO] [stdout] 354 | for row in unsafe { board::BOARD.iter() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / BOARD [INFO] [stdout] 69 | | .get_unchecked_mut(y as usize) [INFO] [stdout] | |__________________________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | let mut flower_tier = [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_laugh_head` is never used [INFO] [stdout] --> src/main.rs:192:8 [INFO] [stdout] | [INFO] [stdout] 151 | impl Tier { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | fn is_laugh_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / crossterm::execute! { [INFO] [stdout] 17 | | stdout(), [INFO] [stdout] 18 | | cursor::Hide, [INFO] [stdout] 19 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `crossterm::execute` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:354:29 [INFO] [stdout] | [INFO] [stdout] 354 | for row in unsafe { board::BOARD.iter() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | / BOARD [INFO] [stdout] 69 | | .get_unchecked_mut(y as usize) [INFO] [stdout] | |__________________________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.54s [INFO] running `Command { std: "docker" "inspect" "d7c95615f055f258ba1e4139bcb73533389cee64ebfcb4fefc8fac39e0f47792", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7c95615f055f258ba1e4139bcb73533389cee64ebfcb4fefc8fac39e0f47792", kill_on_drop: false }` [INFO] [stdout] d7c95615f055f258ba1e4139bcb73533389cee64ebfcb4fefc8fac39e0f47792