[INFO] cloning repository https://github.com/shigshigrain/tetri_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shigshigrain/tetri_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshigshigrain%2Ftetri_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshigshigrain%2Ftetri_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5a12476d25259fc2b190ac34cf022390b6b3be7 [INFO] checking shigshigrain/tetri_engine against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshigshigrain%2Ftetri_engine" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shigshigrain/tetri_engine on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shigshigrain/tetri_engine [INFO] finished tweaking git repo https://github.com/shigshigrain/tetri_engine [INFO] tweaked toml for git repo https://github.com/shigshigrain/tetri_engine written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shigshigrain/tetri_engine 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 647fba2b055062a5bc075f7e9bedd5f84de455293121d21dbeb2a324f1a8be34 [INFO] running `Command { std: "docker" "start" "-a" "647fba2b055062a5bc075f7e9bedd5f84de455293121d21dbeb2a324f1a8be34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "647fba2b055062a5bc075f7e9bedd5f84de455293121d21dbeb2a324f1a8be34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647fba2b055062a5bc075f7e9bedd5f84de455293121d21dbeb2a324f1a8be34", kill_on_drop: false }` [INFO] [stdout] 647fba2b055062a5bc075f7e9bedd5f84de455293121d21dbeb2a324f1a8be34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac6512a5cd116f3fcf5bc006e46c36dcd438a1106850b5acf113fd484b94baca [INFO] running `Command { std: "docker" "start" "-a" "ac6512a5cd116f3fcf5bc006e46c36dcd438a1106850b5acf113fd484b94baca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking tetri_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mino` and `Tetri` [INFO] [stdout] --> src/main.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use tetri_core::tetri_core::{Mino, Tetri, TetriDebug, TetriManager, TetriObj}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mino` and `Tetri` [INFO] [stdout] --> src/main.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use tetri_core::tetri_core::{Mino, Tetri, TetriDebug, TetriManager, TetriObj}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mini`, `Single`, `Double`, and `Triple` are never constructed [INFO] [stdout] --> src/tetri_core.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum KindTS{ [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 22 | None, [INFO] [stdout] 23 | Mini, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Single, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Triple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KindTS` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tetri_core.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum OperateCmd{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 31 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | Hold, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | SoftDrop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | HardDrop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | RotateCCW, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | RotateFCW, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | MoveLeft, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | MoveRight, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperateCmd` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/tetri_core.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 49 | impl Tetri{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_default(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set(&mut self, rot: i8, x: i8, y: i8){ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_x(&mut self, add : i8){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn compare(&self, other : &Tetri) -> std::cmp::Ordering{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn rot_mut(&mut self) -> &mut i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn set_rot(&mut self, rot: i8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn rot(&self) -> i8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn x(&self) -> i8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn y(&self) -> i8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn id(&self) -> &Mino { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `operate` and `output_field` are never used [INFO] [stdout] --> src/tetri_core.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub trait TetriManager { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 166 | fn operate(&mut self, _cmd: &OperateCmd); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn output_field(& self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_I` is never used [INFO] [stdout] --> src/tetri_data.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub const BLC_I: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_J` is never used [INFO] [stdout] --> src/tetri_data.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const BLC_J: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_L` is never used [INFO] [stdout] --> src/tetri_data.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BLC_L: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_O` is never used [INFO] [stdout] --> src/tetri_data.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const BLC_O: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_S` is never used [INFO] [stdout] --> src/tetri_data.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub const BLC_S: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_T` is never used [INFO] [stdout] --> src/tetri_data.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub const BLC_T: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_Z` is never used [INFO] [stdout] --> src/tetri_data.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | pub const BLC_Z: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mini`, `Single`, `Double`, and `Triple` are never constructed [INFO] [stdout] --> src/tetri_core.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum KindTS{ [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 22 | None, [INFO] [stdout] 23 | Mini, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | Single, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 25 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Triple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KindTS` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/tetri_core.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum OperateCmd{ [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 31 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | Hold, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | SoftDrop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 34 | HardDrop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | RotateCCW, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | RotateFCW, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 37 | MoveLeft, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | MoveRight, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperateCmd` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/tetri_core.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 49 | impl Tetri{ [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn set_default(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn set(&mut self, rot: i8, x: i8, y: i8){ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn add_x(&mut self, add : i8){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn compare(&self, other : &Tetri) -> std::cmp::Ordering{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn rot_mut(&mut self) -> &mut i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn set_rot(&mut self, rot: i8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn rot(&self) -> i8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn x(&self) -> i8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn y(&self) -> i8 { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn id(&self) -> &Mino { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `operate` and `output_field` are never used [INFO] [stdout] --> src/tetri_core.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub trait TetriManager { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 166 | fn operate(&mut self, _cmd: &OperateCmd); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn output_field(& self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_I` is never used [INFO] [stdout] --> src/tetri_data.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | pub const BLC_I: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_J` is never used [INFO] [stdout] --> src/tetri_data.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub const BLC_J: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_L` is never used [INFO] [stdout] --> src/tetri_data.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const BLC_L: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_O` is never used [INFO] [stdout] --> src/tetri_data.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | pub const BLC_O: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_S` is never used [INFO] [stdout] --> src/tetri_data.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub const BLC_S: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_T` is never used [INFO] [stdout] --> src/tetri_data.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | pub const BLC_T: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLC_Z` is never used [INFO] [stdout] --> src/tetri_data.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | pub const BLC_Z: [[i8; 16]; 4] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.92s [INFO] running `Command { std: "docker" "inspect" "ac6512a5cd116f3fcf5bc006e46c36dcd438a1106850b5acf113fd484b94baca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6512a5cd116f3fcf5bc006e46c36dcd438a1106850b5acf113fd484b94baca", kill_on_drop: false }` [INFO] [stdout] ac6512a5cd116f3fcf5bc006e46c36dcd438a1106850b5acf113fd484b94baca