[INFO] cloning repository https://github.com/tjefferson08/rustcraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tjefferson08/rustcraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjefferson08%2Frustcraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjefferson08%2Frustcraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9cd7eab7dafd803a4fbd4c2038754757c89dce3 [INFO] checking tjefferson08/rustcraft against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjefferson08%2Frustcraft" "/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/tjefferson08/rustcraft on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tjefferson08/rustcraft [INFO] finished tweaking git repo https://github.com/tjefferson08/rustcraft [INFO] tweaked toml for git repo https://github.com/tjefferson08/rustcraft written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/tjefferson08/rustcraft already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc v0.2.4 [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c43fd436188234417a8dfcdf880e7a12a674166912782486093ef566674b0af [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3c43fd436188234417a8dfcdf880e7a12a674166912782486093ef566674b0af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c43fd436188234417a8dfcdf880e7a12a674166912782486093ef566674b0af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c43fd436188234417a8dfcdf880e7a12a674166912782486093ef566674b0af", kill_on_drop: false }` [INFO] [stdout] 3c43fd436188234417a8dfcdf880e7a12a674166912782486093ef566674b0af [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9747de1cf71d0da9b735f5ff11bc5ba4b44e6feb9e23f50d54abdd0a45fa10ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9747de1cf71d0da9b735f5ff11bc5ba4b44e6feb9e23f50d54abdd0a45fa10ed", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.12 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling x11-dl v2.18.1 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Checking rayon-core v1.4.1 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling wayland-scanner v0.20.11 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Checking rayon v1.0.2 [INFO] [stderr] Checking parking_lot v0.6.3 [INFO] [stderr] Checking tempfile v3.0.3 [INFO] [stderr] Compiling wayland-client v0.20.11 [INFO] [stderr] Compiling wayland-protocols v0.20.11 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.20.11 [INFO] [stderr] Checking wayland-commons v0.20.11 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking rustcraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | state_stack: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GameState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn push_state(&mut self, game_state: Box) -> () { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn current_state(&self) -> &Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn current_state_mut(&mut self) -> &mut Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_state.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | models: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deg`, `PerspectiveFov` [INFO] [stdout] --> src/model/cube.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use cgmath::{Deg, Matrix3, Matrix4, PerspectiveFov, Rad, Vector3}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&mut self, model: &Model, camera: &Camera) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/model/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | implement_vertex!(Vertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/model/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | implement_vertex!(Vertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | state_stack: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GameState` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn push_state(&mut self, game_state: Box) -> () { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application.rs:120:41 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn current_state(&self) -> &Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/application.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn current_state_mut(&mut self) -> &mut Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_state.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | models: Vec>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deg`, `PerspectiveFov` [INFO] [stdout] --> src/model/cube.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use cgmath::{Deg, Matrix3, Matrix4, PerspectiveFov, Rad, Vector3}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/mod.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&mut self, model: &Model, camera: &Camera) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/model/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | implement_vertex!(Vertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/model/mod.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | implement_vertex!(Vertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/shaders/mod.rs:11:65 [INFO] [stdout] | [INFO] [stdout] 11 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/shaders/mod.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/application.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let events = events_loop.poll_events(|event| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/game_state.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let speed = 50.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/game_state.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | fn process_event(&mut self, event: Event, delta_t: f32) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/game_state.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | fn update(&mut self, delta_t: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/game_state.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | fn draw(&self, renderer: &mut Master, delta_t: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_coords_right` [INFO] [stdout] --> src/model/cube.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let tex_coords_right: TextureCoordinates = atlas.texture_coords_for(0, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_coords_left` [INFO] [stdout] --> src/model/cube.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let tex_coords_left: TextureCoordinates = atlas.texture_coords_for(0, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_coords_top` [INFO] [stdout] --> src/model/cube.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let tex_coords_top: TextureCoordinates = atlas.texture_coords_for(0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_coords_bottom` [INFO] [stdout] --> src/model/cube.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let tex_coords_bottom: TextureCoordinates = atlas.texture_coords_for(0, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/textures/mod.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn texture_coords_for(&self, x: u32, y: u32) -> TextureCoordinates { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/textures/mod.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn texture_coords_for(&self, x: u32, y: u32) -> TextureCoordinates { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let mut current_state = self.current_state_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_state.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | for mut model in self.models.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_state` [INFO] [stdout] --> src/application.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn pop_state(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_position` [INFO] [stdout] --> src/entity.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_position(pos: (f32, f32, f32)) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_position` [INFO] [stdout] --> src/entity.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn update_position(&mut self, delta_pos: Vector3) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_size` [INFO] [stdout] --> src/textures/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | texture_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image_size` [INFO] [stdout] --> src/textures/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | image_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `textures_per_row` [INFO] [stdout] --> src/textures/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn textures_per_row(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_cursor_position` [INFO] [stdout] --> src/window.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn reset_cursor_position(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/shaders/mod.rs:11:65 [INFO] [stdout] | [INFO] [stdout] 11 | Err(why) => panic!("couldn't open {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/shaders/mod.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | Err(why) => panic!("couldn't read {}: {}", display, why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> src/application.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let events = events_loop.poll_events(|event| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/game_state.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let speed = 50.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/game_state.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | fn process_event(&mut self, event: Event, delta_t: f32) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/game_state.rs:149:26 [INFO] [stdout] | [INFO] [stdout] 149 | fn update(&mut self, delta_t: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_t` [INFO] [stdout] --> src/game_state.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | fn draw(&self, renderer: &mut Master, delta_t: f32) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_coords_right` [INFO] [stdout] --> src/model/cube.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let tex_coords_right: TextureCoordinates = atlas.texture_coords_for(0, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_coords_left` [INFO] [stdout] --> src/model/cube.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let tex_coords_left: TextureCoordinates = atlas.texture_coords_for(0, 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_coords_top` [INFO] [stdout] --> src/model/cube.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let tex_coords_top: TextureCoordinates = atlas.texture_coords_for(0, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tex_coords_bottom` [INFO] [stdout] --> src/model/cube.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let tex_coords_bottom: TextureCoordinates = atlas.texture_coords_for(0, 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/textures/mod.rs:36:38 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn texture_coords_for(&self, x: u32, y: u32) -> TextureCoordinates { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/textures/mod.rs:36:46 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn texture_coords_for(&self, x: u32, y: u32) -> TextureCoordinates { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/application.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let mut current_state = self.current_state_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_state.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | for mut model in self.models.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_state` [INFO] [stdout] --> src/application.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn pop_state(&mut self) -> () { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_position` [INFO] [stdout] --> src/entity.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn from_position(pos: (f32, f32, f32)) -> Entity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_position` [INFO] [stdout] --> src/entity.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn update_position(&mut self, delta_pos: Vector3) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture_size` [INFO] [stdout] --> src/textures/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | texture_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `image_size` [INFO] [stdout] --> src/textures/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | image_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `textures_per_row` [INFO] [stdout] --> src/textures/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | fn textures_per_row(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset_cursor_position` [INFO] [stdout] --> src/window.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn reset_cursor_position(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "9747de1cf71d0da9b735f5ff11bc5ba4b44e6feb9e23f50d54abdd0a45fa10ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9747de1cf71d0da9b735f5ff11bc5ba4b44e6feb9e23f50d54abdd0a45fa10ed", kill_on_drop: false }` [INFO] [stdout] 9747de1cf71d0da9b735f5ff11bc5ba4b44e6feb9e23f50d54abdd0a45fa10ed