[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 try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaumazeredo%2Ftetris-for-all" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/naumazeredo/tetris-for-all on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64435372786c49895b6542f4e51028a31a2cb925e9e8a0d82f51dec88dd52150 [INFO] running `Command { std: "docker" "start" "-a" "64435372786c49895b6542f4e51028a31a2cb925e9e8a0d82f51dec88dd52150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64435372786c49895b6542f4e51028a31a2cb925e9e8a0d82f51dec88dd52150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64435372786c49895b6542f4e51028a31a2cb925e9e8a0d82f51dec88dd52150", kill_on_drop: false }` [INFO] [stdout] 64435372786c49895b6542f4e51028a31a2cb925e9e8a0d82f51dec88dd52150 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fccfbe5d8effdf39b4dd051961b756a88b9c2b5a618fc47c67b9e86e5f5ff46e [INFO] running `Command { std: "docker" "start" "-a" "fccfbe5d8effdf39b4dd051961b756a88b9c2b5a618fc47c67b9e86e5f5ff46e", 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 version-compare v0.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling instant v0.1.12 [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 tetris-generations v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling rand_pcg v0.3.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling imgui-sys v0.8.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling imgui-opengl-renderer v0.11.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [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/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/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] 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] = 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/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] [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: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tetris-generations` (bin "tetris-generations") due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fccfbe5d8effdf39b4dd051961b756a88b9c2b5a618fc47c67b9e86e5f5ff46e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fccfbe5d8effdf39b4dd051961b756a88b9c2b5a618fc47c67b9e86e5f5ff46e", kill_on_drop: false }` [INFO] [stdout] fccfbe5d8effdf39b4dd051961b756a88b9c2b5a618fc47c67b9e86e5f5ff46e