[INFO] cloning repository https://github.com/Asera/rustris [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Asera/rustris" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsera%2Frustris", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsera%2Frustris'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e07307ac764516bb24a11bb89ecf2f81a85ff34b [INFO] testing Asera/rustris against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsera%2Frustris" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Asera/rustris [INFO] finished tweaking git repo https://github.com/Asera/rustris [INFO] tweaked toml for git repo https://github.com/Asera/rustris written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Asera/rustris on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Asera/rustris 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded toml v0.5.7 [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded instant v0.1.8 [INFO] [stderr] Downloaded net2 v0.2.35 [INFO] [stderr] Downloaded libloading v0.6.5 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded backtrace v0.3.53 [INFO] [stderr] Downloaded nalgebra-glm v0.7.0 [INFO] [stderr] Downloaded derivative v2.1.1 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded glium_text_nxt v0.15.0 [INFO] [stderr] Downloaded object v0.21.1 [INFO] [stderr] Downloaded syn v1.0.48 [INFO] [stderr] Downloaded bytemuck v1.4.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded image v0.23.11 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded nalgebra v0.21.1 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.0 [INFO] [stderr] Downloaded paste-impl v0.1.18 [INFO] [stderr] Downloaded paste v0.1.18 [INFO] [stderr] Downloaded simba v0.1.5 [INFO] [stderr] Downloaded const_fn v0.4.2 [INFO] [stderr] Downloaded weezl v0.1.2 [INFO] [stderr] Downloaded glium v0.27.0 [INFO] [stderr] Downloaded tiff v0.6.0 [INFO] [stderr] Downloaded freetype-sys v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53f9c6c9021a7fb30e7a11bc799b8d5edea1d4c1774d1ee69fbcfcc7459eaa59 [INFO] running `Command { std: "docker" "start" "-a" "53f9c6c9021a7fb30e7a11bc799b8d5edea1d4c1774d1ee69fbcfcc7459eaa59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53f9c6c9021a7fb30e7a11bc799b8d5edea1d4c1774d1ee69fbcfcc7459eaa59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53f9c6c9021a7fb30e7a11bc799b8d5edea1d4c1774d1ee69fbcfcc7459eaa59", kill_on_drop: false }` [INFO] [stdout] 53f9c6c9021a7fb30e7a11bc799b8d5edea1d4c1774d1ee69fbcfcc7459eaa59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9f0a9781db6f5c593cd805df05d0e5b27bf044537be651012bf11532ade95c73 [INFO] running `Command { std: "docker" "start" "-a" "9f0a9781db6f5c593cd805df05d0e5b27bf044537be651012bf11532ade95c73", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling instant v0.1.8 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling freetype-sys v0.7.1 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling object v0.21.1 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling crossbeam-epoch v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling glium v0.27.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling weezl v0.1.2 [INFO] [stderr] Compiling simba v0.1.5 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling png v0.16.7 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling nalgebra v0.21.1 [INFO] [stderr] Compiling backtrace v0.3.53 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.0 [INFO] [stderr] Compiling image v0.23.11 [INFO] [stderr] Compiling nalgebra-glm v0.7.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling winit v0.22.2 [INFO] [stderr] Compiling glutin v0.24.1 [INFO] [stderr] Compiling glium_text_nxt v0.15.0 [INFO] [stderr] Compiling rustris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nalgebra::max` [INFO] [stdout] --> src/game_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/state_renderer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::texture::RawImage2d` [INFO] [stdout] --> src/state_renderer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::texture::RawImage2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision_checker::position_is_clear` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::collision_checker::position_is_clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_counter` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | frame_counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/tetronimoe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | None // Added to mark void or impossible direction state [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `get_tiles` are never used [INFO] [stdout] --> src/tetronimoe.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Figure { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 70 | pub fn init(block_type: BlockType, direction: Direction, center: Point) -> Figure { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_tiles(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 29 | implement_vertex!(Vertex, position, texture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 29 | implement_vertex!(Vertex, position, texture); [INFO] [stdout] 30 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Normal` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | display.swap_buffers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = display.swap_buffers(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/texture_bag.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn as_raw_image_2d(&self) -> RawImage2d { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn as_raw_image_2d(&self) -> RawImage2d<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "9f0a9781db6f5c593cd805df05d0e5b27bf044537be651012bf11532ade95c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0a9781db6f5c593cd805df05d0e5b27bf044537be651012bf11532ade95c73", kill_on_drop: false }` [INFO] [stdout] 9f0a9781db6f5c593cd805df05d0e5b27bf044537be651012bf11532ade95c73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d1845ce09c866ecd5a22d49679ad4c7f366d67b7c9f161ca2179a80dcd5c8254 [INFO] running `Command { std: "docker" "start" "-a" "d1845ce09c866ecd5a22d49679ad4c7f366d67b7c9f161ca2179a80dcd5c8254", kill_on_drop: false }` [INFO] [stderr] Compiling rustris v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nalgebra::max` [INFO] [stdout] --> src/game_state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nalgebra::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/state_renderer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::texture::RawImage2d` [INFO] [stdout] --> src/state_renderer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use glium::texture::RawImage2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::collision_checker::position_is_clear` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::collision_checker::position_is_clear; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_counter` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | frame_counter += 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/tetronimoe.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Direction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 10 | None // Added to mark void or impossible direction state [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `get_tiles` are never used [INFO] [stdout] --> src/tetronimoe.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Figure { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 70 | pub fn init(block_type: BlockType, direction: Direction, center: Point) -> Figure { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_tiles(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 29 | implement_vertex!(Vertex, position, texture); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | fn main() { [INFO] [stdout] | --------- move the `impl` block outside of this function `main` [INFO] [stdout] 29 | implement_vertex!(Vertex, position, texture); [INFO] [stdout] 30 | implement_vertex!(Normal, normal); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Normal` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | display.swap_buffers(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 106 | let _ = display.swap_buffers(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/texture_bag.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn as_raw_image_2d(&self) -> RawImage2d { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn as_raw_image_2d(&self) -> RawImage2d<'_, u8> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "d1845ce09c866ecd5a22d49679ad4c7f366d67b7c9f161ca2179a80dcd5c8254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1845ce09c866ecd5a22d49679ad4c7f366d67b7c9f161ca2179a80dcd5c8254", kill_on_drop: false }` [INFO] [stdout] d1845ce09c866ecd5a22d49679ad4c7f366d67b7c9f161ca2179a80dcd5c8254 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c85ddbb697744cb9e8295641df3b4865524b7697f54a9c17d48b3c844fe67032 [INFO] running `Command { std: "docker" "start" "-a" "c85ddbb697744cb9e8295641df3b4865524b7697f54a9c17d48b3c844fe67032", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `nalgebra::max` [INFO] [stderr] --> src/game_state.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use nalgebra::max; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/state_renderer.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `glium::texture::RawImage2d` [INFO] [stderr] --> src/state_renderer.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use glium::texture::RawImage2d; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::collision_checker::position_is_clear` [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | use crate::collision_checker::position_is_clear; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame_counter` [INFO] [stderr] --> src/main.rs:50:13 [INFO] [stderr] | [INFO] [stderr] 50 | frame_counter += 1; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: did you mean to capture by reference instead? [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `None` is never constructed [INFO] [stderr] --> src/tetronimoe.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Direction { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 10 | None // Added to mark void or impossible direction state [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Direction` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `init` and `get_tiles` are never used [INFO] [stderr] --> src/tetronimoe.rs:70:12 [INFO] [stderr] | [INFO] [stderr] 69 | impl Figure { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 70 | pub fn init(block_type: BlockType, direction: Direction, center: Point) -> Figure { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn get_tiles(&self) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 28 | fn main() { [INFO] [stderr] | --------- move the `impl` block outside of this function `main` [INFO] [stderr] 29 | implement_vertex!(Vertex, position, texture); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Vertex` is not local [INFO] [stderr] | `Vertex` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/main.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 28 | fn main() { [INFO] [stderr] | --------- move the `impl` block outside of this function `main` [INFO] [stderr] 29 | implement_vertex!(Vertex, position, texture); [INFO] [stderr] 30 | implement_vertex!(Normal, normal); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Normal` is not local [INFO] [stderr] | `Vertex` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:106:17 [INFO] [stderr] | [INFO] [stderr] 106 | display.swap_buffers(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 106 | let _ = display.swap_buffers(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/texture_bag.rs:16:28 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn as_raw_image_2d(&self) -> RawImage2d { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 16 | pub fn as_raw_image_2d(&self) -> RawImage2d<'_, u8> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `rustris` (bin "rustris" test) generated 11 warnings (run `cargo fix --bin "rustris" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rustris-743800c8e596bbb6) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c85ddbb697744cb9e8295641df3b4865524b7697f54a9c17d48b3c844fe67032", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c85ddbb697744cb9e8295641df3b4865524b7697f54a9c17d48b3c844fe67032", kill_on_drop: false }` [INFO] [stdout] c85ddbb697744cb9e8295641df3b4865524b7697f54a9c17d48b3c844fe67032