[INFO] cloning repository https://github.com/VictorRandall/RustOpengGLtest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VictorRandall/RustOpengGLtest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorRandall%2FRustOpengGLtest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorRandall%2FRustOpengGLtest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09f5c328cad033b0206dcfd3cf608eb7e3e78953 [INFO] building VictorRandall/RustOpengGLtest against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVictorRandall%2FRustOpengGLtest" "/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/VictorRandall/RustOpengGLtest [INFO] finished tweaking git repo https://github.com/VictorRandall/RustOpengGLtest [INFO] tweaked toml for git repo https://github.com/VictorRandall/RustOpengGLtest written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VictorRandall/RustOpengGLtest on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VictorRandall/RustOpengGLtest 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded crc32fast v1.3.0 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded libloading v0.7.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded darling_macro v0.13.1 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded ndk-glue v0.5.0 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded proc-macro-crate v1.1.0 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded backtrace v0.3.63 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded darling_core v0.13.1 [INFO] [stderr] Downloaded wayland-protocols v0.29.1 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded libc v0.2.104 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded nix v0.22.0 [INFO] [stderr] Downloaded wayland-client v0.29.1 [INFO] [stderr] Downloaded glium v0.31.0 [INFO] [stderr] Downloaded syn v1.0.81 [INFO] [stderr] Downloaded nom v7.1.0 [INFO] [stderr] Downloaded calloop v0.9.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.2 [INFO] [stderr] Downloaded cc v1.0.72 [INFO] [stderr] Downloaded raw-window-handle v0.4.2 [INFO] [stderr] Downloaded wayland-sys v0.29.1 [INFO] [stderr] Downloaded wayland-commons v0.29.1 [INFO] [stderr] Downloaded wayland-egl v0.29.1 [INFO] [stderr] Downloaded winit v0.26.0 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded darling v0.13.1 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded wayland-scanner v0.29.1 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded wayland-cursor v0.29.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded pkg-config v0.3.23 [INFO] [stderr] Downloaded num-iter v0.1.42 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97f75f45324b718e117bc99600310b3d28f35879b324bf39cf85cc4266b2a51f [INFO] running `Command { std: "docker" "start" "-a" "97f75f45324b718e117bc99600310b3d28f35879b324bf39cf85cc4266b2a51f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97f75f45324b718e117bc99600310b3d28f35879b324bf39cf85cc4266b2a51f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f75f45324b718e117bc99600310b3d28f35879b324bf39cf85cc4266b2a51f", kill_on_drop: false }` [INFO] [stdout] 97f75f45324b718e117bc99600310b3d28f35879b324bf39cf85cc4266b2a51f [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61b966c31ca06389c5889e2db7f8f33a15b294aac129ae2b6e7e7485970bac36 [INFO] running `Command { std: "docker" "start" "-a" "61b966c31ca06389c5889e2db7f8f33a15b294aac129ae2b6e7e7485970bac36", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.104 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling pkg-config v0.3.23 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling wayland-sys v0.29.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.29.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling wayland-client v0.29.1 [INFO] [stderr] Compiling wayland-protocols v0.29.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling winit v0.26.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling glium v0.31.0 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling wayland-commons v0.29.1 [INFO] [stderr] Compiling calloop v0.9.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.29.1 [INFO] [stderr] Compiling wayland-egl v0.29.1 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling rust_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [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: `std::file` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::file; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/input.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use glium::{glutin, Surface}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key_state` is never read [INFO] [stdout] --> src/input.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | let mut key_state = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/voxel.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | for (key, value) in &self.data{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse` [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | let mouse: bool = true; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let params = glium::DrawParameters { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `delta` is never read [INFO] [stdout] --> src/main.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | delta = (current_frame - last_frame).as_secs_f32(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sus` [INFO] [stdout] --> src/main.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | event_loop.run(move |event, sus, control_flow| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/mesh.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/mesh.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Sprite<'a>{// 2dsprite [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mesh.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> Sprite<'a>{ [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector2d` is never constructed [INFO] [stdout] --> src/math.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Vector2d{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector3d` is never constructed [INFO] [stdout] --> src/math.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Vector3d{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector4d` is never constructed [INFO] [stdout] --> src/math.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Vector4d{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/voxel.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct VoxelChunk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pos: [i16;3] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoxelChunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "61b966c31ca06389c5889e2db7f8f33a15b294aac129ae2b6e7e7485970bac36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b966c31ca06389c5889e2db7f8f33a15b294aac129ae2b6e7e7485970bac36", kill_on_drop: false }` [INFO] [stdout] 61b966c31ca06389c5889e2db7f8f33a15b294aac129ae2b6e7e7485970bac36 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96b414a6bd69b9d20d99222599845fcb00845cb217a45686e96ef11a94ad365a [INFO] running `Command { std: "docker" "start" "-a" "96b414a6bd69b9d20d99222599845fcb00845cb217a45686e96ef11a94ad365a", kill_on_drop: false }` [INFO] [stderr] Compiling rust_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Cursor` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Cursor; [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: `std::file` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::file; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/input.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use glium::{glutin, Surface}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `key_state` is never read [INFO] [stdout] --> src/input.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | let mut key_state = false; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/voxel.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | for (key, value) in &self.data{ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse` [INFO] [stdout] --> src/main.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | let mouse: bool = true; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let params = glium::DrawParameters { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `delta` is never read [INFO] [stdout] --> src/main.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | delta = (current_frame - last_frame).as_secs_f32(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sus` [INFO] [stdout] --> src/main.rs:31:33 [INFO] [stdout] | [INFO] [stdout] 31 | event_loop.run(move |event, sus, control_flow| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Point` is never constructed [INFO] [stdout] --> src/mesh.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Point { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sprite` is never constructed [INFO] [stdout] --> src/mesh.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Sprite<'a>{// 2dsprite [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/mesh.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a> Sprite<'a>{ [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 60 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector2d` is never constructed [INFO] [stdout] --> src/math.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Vector2d{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector3d` is never constructed [INFO] [stdout] --> src/math.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Vector3d{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vector4d` is never constructed [INFO] [stdout] --> src/math.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Vector4d{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pos` is never read [INFO] [stdout] --> src/voxel.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct VoxelChunk { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pos: [i16;3] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoxelChunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "96b414a6bd69b9d20d99222599845fcb00845cb217a45686e96ef11a94ad365a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96b414a6bd69b9d20d99222599845fcb00845cb217a45686e96ef11a94ad365a", kill_on_drop: false }` [INFO] [stdout] 96b414a6bd69b9d20d99222599845fcb00845cb217a45686e96ef11a94ad365a