[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#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshigshigrain%2Ftetri_engine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shigshigrain/tetri_engine on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19429862992a06068a94d5c7ef6e954ddbdc2c24624c078400d5d0ee32e7edb4 [INFO] running `Command { std: "docker" "start" "-a" "19429862992a06068a94d5c7ef6e954ddbdc2c24624c078400d5d0ee32e7edb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19429862992a06068a94d5c7ef6e954ddbdc2c24624c078400d5d0ee32e7edb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19429862992a06068a94d5c7ef6e954ddbdc2c24624c078400d5d0ee32e7edb4", kill_on_drop: false }` [INFO] [stdout] 19429862992a06068a94d5c7ef6e954ddbdc2c24624c078400d5d0ee32e7edb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59961810f4d4ebd5f0da22213aca2ca5ed3a034cf9b8e94d50537cf22284f049 [INFO] running `Command { std: "docker" "start" "-a" "59961810f4d4ebd5f0da22213aca2ca5ed3a034cf9b8e94d50537cf22284f049", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling getrandom v0.3.2 [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: enum `OperateCmd` is never used [INFO] [stdout] --> src/tetri_core.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum OperateCmd{ [INFO] [stdout] | ^^^^^^^^^^ [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: 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: 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: enum `OperateCmd` is never used [INFO] [stdout] --> src/tetri_core.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum OperateCmd{ [INFO] [stdout] | ^^^^^^^^^^ [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.68s [INFO] running `Command { std: "docker" "inspect" "59961810f4d4ebd5f0da22213aca2ca5ed3a034cf9b8e94d50537cf22284f049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59961810f4d4ebd5f0da22213aca2ca5ed3a034cf9b8e94d50537cf22284f049", kill_on_drop: false }` [INFO] [stdout] 59961810f4d4ebd5f0da22213aca2ca5ed3a034cf9b8e94d50537cf22284f049