[INFO] cloning repository https://github.com/naumazeredo/tetris-for-all [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naumazeredo/tetris-for-all" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaumazeredo%2Ftetris-for-all", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaumazeredo%2Ftetris-for-all'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa2c8d13fcc3d0649d49f300f78102bf5bc4137f [INFO] checking naumazeredo/tetris-for-all against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaumazeredo%2Ftetris-for-all" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naumazeredo/tetris-for-all on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/naumazeredo/tetris-for-all [INFO] finished tweaking git repo https://github.com/naumazeredo/tetris-for-all [INFO] tweaked toml for git repo https://github.com/naumazeredo/tetris-for-all written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/naumazeredo/tetris-for-all already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1086860c18ab937b5d44df7e72617576fb00e976d74d2333bed157a8f3db7f93 [INFO] running `Command { std: "docker" "start" "-a" "1086860c18ab937b5d44df7e72617576fb00e976d74d2333bed157a8f3db7f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1086860c18ab937b5d44df7e72617576fb00e976d74d2333bed157a8f3db7f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1086860c18ab937b5d44df7e72617576fb00e976d74d2333bed157a8f3db7f93", kill_on_drop: false }` [INFO] [stdout] 1086860c18ab937b5d44df7e72617576fb00e976d74d2333bed157a8f3db7f93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 075b59f4afc2c8a945b1ba52eb95262845dfa4651e44315a81cdbe03524c970b [INFO] running `Command { std: "docker" "start" "-a" "075b59f4afc2c8a945b1ba52eb95262845dfa4651e44315a81cdbe03524c970b", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling sdl2 v0.34.3 [INFO] [stderr] Compiling tetris-for-all v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking rand_pcg v0.3.0 [INFO] [stderr] Compiling sdl2-sys v0.34.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling imgui-sys v0.6.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling imgui-opengl-renderer v0.10.0 [INFO] [stderr] Compiling imdraw_derive v0.1.0 (/opt/rustwide/workdir/imdraw_derive) [INFO] [stderr] Compiling enum_dispatch v0.3.7 [INFO] [stderr] Checking imgui v0.6.1 [INFO] [stdout] error[E0432]: unresolved import `crate::game::piece` [INFO] [stdout] --> src/game/rules/movement.rs:119:22 [INFO] [stdout] | [INFO] [stdout] 119 | use crate::game::piece::PieceType; [INFO] [stdout] | ^^^^^ could not find `piece` in `game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/game/rules/movement.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | let playfield = Playfield::new(Vec2i::new(), playfield_grid_size); [INFO] [stdout] | ^^^^^^^^^^^^^^ ------------ ------------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game/playfield.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(pos: Vec2i, grid_size: Vec2i, has_grid: bool) -> Self { [INFO] [stdout] | ^^^ ---------- ---------------- -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `pieces::Piece` has no field named `pos` [INFO] [stdout] --> src/game/rules/movement.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | pos: Vec2i { x: playfield_grid_size.x / 2 - 2, y: 20 }, [INFO] [stdout] | ^^^ `pieces::Piece` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `type_`, `rot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/game/rules/movement.rs:133:32 [INFO] [stdout] | [INFO] [stdout] 133 | let old_blocks = piece.blocks().clone(); [INFO] [stdout] | ^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game/pieces/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn blocks(&self, rotation_system: RotationSystem) -> &'static [Vec2i] { [INFO] [stdout] | ^^^^^^ ----- ------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 4 arguments were supplied [INFO] [stdout] --> src/game/rules/movement.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | try_move_piece(&mut piece, &playfield, 0, -1); [INFO] [stdout] | ^^^^^^^^^^^^^^ ---------- ---------- - -- supplied 4 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 6 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/game/rules/movement.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn try_move_piece( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | piece: &Piece, [INFO] [stdout] | ------------- [INFO] [stdout] 17 | pos: &mut Vec2i, [INFO] [stdout] | --------------- [INFO] [stdout] 18 | playfield: &Playfield, [INFO] [stdout] | --------------------- [INFO] [stdout] 19 | dx: i32, [INFO] [stdout] | ------- [INFO] [stdout] 20 | dy: i32, [INFO] [stdout] | ------- [INFO] [stdout] 21 | / rotation_system: RotationSystem [INFO] [stdout] 22 | | ) -> bool { [INFO] [stdout] | |_ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/game/rules/movement.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | for (new, old) in piece.blocks().iter().zip(old_blocks.iter()) { [INFO] [stdout] | ^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/game/pieces/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn blocks(&self, rotation_system: RotationSystem) -> &'static [Vec2i] { [INFO] [stdout] | ^^^^^^ ----- ------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris-for-all` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "075b59f4afc2c8a945b1ba52eb95262845dfa4651e44315a81cdbe03524c970b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "075b59f4afc2c8a945b1ba52eb95262845dfa4651e44315a81cdbe03524c970b", kill_on_drop: false }` [INFO] [stdout] 075b59f4afc2c8a945b1ba52eb95262845dfa4651e44315a81cdbe03524c970b