[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] 42d9e1732d998ea3156ec69cb011781bdc0b9f74 [INFO] building naumazeredo/tetris-for-all against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaumazeredo%2Ftetris-for-all" "/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/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/naumazeredo/tetris-for-all on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/naumazeredo/tetris-for-all 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.0 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded chlorine v1.0.10 [INFO] [stderr] Downloaded enum_dispatch v0.3.8 [INFO] [stderr] Downloaded imgui v0.8.2 [INFO] [stderr] Downloaded rand_pcg v0.3.1 [INFO] [stderr] Downloaded imgui-opengl-renderer v0.11.1 [INFO] [stderr] Downloaded imgui-sys v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65fe5bb05a49809597dd7ef7c2961758582208a2c4c503aa3a1ed491c5a0fed3 [INFO] running `Command { std: "docker" "start" "-a" "65fe5bb05a49809597dd7ef7c2961758582208a2c4c503aa3a1ed491c5a0fed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65fe5bb05a49809597dd7ef7c2961758582208a2c4c503aa3a1ed491c5a0fed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65fe5bb05a49809597dd7ef7c2961758582208a2c4c503aa3a1ed491c5a0fed3", kill_on_drop: false }` [INFO] [stdout] 65fe5bb05a49809597dd7ef7c2961758582208a2c4c503aa3a1ed491c5a0fed3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f1716ee9f8663c08589c0406addcb3ba6d7d7f5f16e0097038f3052e94a38a3 [INFO] running `Command { std: "docker" "start" "-a" "8f1716ee9f8663c08589c0406addcb3ba6d7d7f5f16e0097038f3052e94a38a3", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling chlorine v1.0.10 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling tetris-generations v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling imgui-sys v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling imgui-opengl-renderer v0.11.1 [INFO] [stderr] Compiling imdraw_derive v0.1.0 (/opt/rustwide/workdir/imdraw_derive) [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Compiling imgui v0.8.2 [INFO] [stdout] warning: unused import: `imgui_sdl2::*` [INFO] [stdout] --> src/app/imgui_wrapper/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use imgui_sdl2::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serialization::*` [INFO] [stdout] --> src/app/network/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use serialization::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/app/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | utils::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec3::Vec3` [INFO] [stdout] --> src/linalg/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `network::*` [INFO] [stdout] --> src/game/tetris_game/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub use network::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `int_log` has been stable since 1.67.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(int_log)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `maybe_uninit_uninit_array` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(maybe_uninit_uninit_array)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log2` found for type `i128` in the current scope [INFO] [stdout] --> src/app/network/serialization/mod.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | if min == max { 0 } else { ((max - min).log2() + 1) as usize } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `ilog2` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | if min == max { 0 } else { ((max - min).ilog2() + 1) as usize } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `uninit_array` found for union `MaybeUninit` in the current scope [INFO] [stdout] --> src/app/network/serialization/deserialize.rs:268:82 [INFO] [stdout] | [INFO] [stdout] 268 | let mut data: [std::mem::MaybeUninit; N] = std::mem::MaybeUninit::uninit_array(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `MaybeUninit<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `MaybeUninit<_>` consider using one of the following associated functions: [INFO] [stdout] MaybeUninit::::new [INFO] [stdout] MaybeUninit::::uninit [INFO] [stdout] MaybeUninit::::zeroed [INFO] [stdout] --> /rustc/c7f6aa2869acdbf014d094c6e427e554e160b6db/library/core/src/mem/maybe_uninit.rs:307:5 [INFO] [stdout] help: there is an associated function `uninit` with a similar name [INFO] [stdout] | [INFO] [stdout] 268 - let mut data: [std::mem::MaybeUninit; N] = std::mem::MaybeUninit::uninit_array(); [INFO] [stdout] 268 + let mut data: [std::mem::MaybeUninit; N] = std::mem::MaybeUninit::uninit(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/app/network/serialization/deserialize.rs:272:47 [INFO] [stdout] | [INFO] [stdout] 272 | unsafe { std::ptr::write(elem.as_mut_ptr(), v); } [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/id_manager.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let mut id = &mut self.ids[index]; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/ui/input.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | let mut state = self.ui_system.states.get_mut(&id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/ui/mod.rs:462:13 [INFO] [stdout] | [INFO] [stdout] 462 | let mut state = self.ui_system.states.get_mut(&id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/ui/mod.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | let mut state = self.ui_system.states.get_mut(&id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/ui/mod.rs:549:13 [INFO] [stdout] | [INFO] [stdout] 549 | let mut state = self.ui_system.states.get_mut(&line.widget_id).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris-generations` (bin "tetris-generations") due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8f1716ee9f8663c08589c0406addcb3ba6d7d7f5f16e0097038f3052e94a38a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1716ee9f8663c08589c0406addcb3ba6d7d7f5f16e0097038f3052e94a38a3", kill_on_drop: false }` [INFO] [stdout] 8f1716ee9f8663c08589c0406addcb3ba6d7d7f5f16e0097038f3052e94a38a3