[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] testing tjefferson08/rustcraft against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjefferson08%2Frustcraft" "/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/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-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tjefferson08/rustcraft on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tjefferson08/rustcraft 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded byteorder v1.2.3
[INFO] [stderr]   Downloaded tempfile v3.0.3
[INFO] [stderr]   Downloaded lazy_static v1.0.2
[INFO] [stderr]   Downloaded inflate v0.4.3
[INFO] [stderr]   Downloaded gif v0.10.0
[INFO] [stderr]   Downloaded num-derive v0.2.2
[INFO] [stderr]   Downloaded rayon v1.0.2
[INFO] [stderr]   Downloaded smallvec v0.6.3
[INFO] [stderr]   Downloaded quote v0.6.4
[INFO] [stderr]   Downloaded deflate v0.7.18
[INFO] [stderr]   Downloaded rustc-demangle v0.1.9
[INFO] [stderr]   Downloaded core-foundation v0.6.1
[INFO] [stderr]   Downloaded gleam v0.6.0
[INFO] [stderr]   Downloaded pkg-config v0.3.12
[INFO] [stderr]   Downloaded nix v0.11.0
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.2.6
[INFO] [stderr]   Downloaded rand v0.5.4
[INFO] [stderr]   Downloaded wayland-protocols v0.20.11
[INFO] [stderr]   Downloaded winit v0.16.2
[INFO] [stderr]   Downloaded cocoa v0.15.0
[INFO] [stderr]   Downloaded core-graphics v0.14.0
[INFO] [stderr]   Downloaded downcast-rs v1.0.3
[INFO] [stderr]   Downloaded wayland-commons v0.20.11
[INFO] [stderr]   Downloaded wayland-client v0.20.11
[INFO] [stderr]   Downloaded glutin v0.17.0
[INFO] [stderr]   Downloaded stable_deref_trait v1.1.0
[INFO] [stderr]   Downloaded lock_api v0.1.3
[INFO] [stderr]   Downloaded parking_lot v0.6.3
[INFO] [stderr]   Downloaded memmap v0.6.2
[INFO] [stderr]   Downloaded wayland-scanner v0.20.11
[INFO] [stderr]   Downloaded libloading v0.5.0
[INFO] [stderr]   Downloaded wayland-sys v0.20.11
[INFO] [stderr]   Downloaded x11-dl v2.18.1
[INFO] [stderr]   Downloaded glium v0.22.0
[INFO] [stderr]   Downloaded syn v0.14.5
[INFO] [stderr]   Downloaded backtrace v0.3.9
[INFO] [stderr]   Downloaded core-foundation-sys v0.6.1
[INFO] [stderr]   Downloaded objc v0.2.4
[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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ee0edf4936a7c3e48253aa5eb020ad9e4052813b236107356d884e30c3164c6
[INFO] running `Command { std: "docker" "start" "-a" "3ee0edf4936a7c3e48253aa5eb020ad9e4052813b236107356d884e30c3164c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ee0edf4936a7c3e48253aa5eb020ad9e4052813b236107356d884e30c3164c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ee0edf4936a7c3e48253aa5eb020ad9e4052813b236107356d884e30c3164c6", kill_on_drop: false }`
[INFO] [stdout] 3ee0edf4936a7c3e48253aa5eb020ad9e4052813b236107356d884e30c3164c6
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aa53eb34fb10693e84722be8690c633ebf37c3d5aeb015066f0805165ee92472
[INFO] running `Command { std: "docker" "start" "-a" "aa53eb34fb10693e84722be8690c633ebf37c3d5aeb015066f0805165ee92472", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.42
[INFO] [stderr]    Compiling bitflags v1.0.3
[INFO] [stderr]    Compiling cfg-if v0.1.4
[INFO] [stderr]    Compiling lazy_static v1.0.2
[INFO] [stderr]    Compiling cc v1.0.18
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]    Compiling khronos_api v2.2.0
[INFO] [stderr]    Compiling byteorder v1.2.3
[INFO] [stderr]    Compiling downcast-rs v1.0.3
[INFO] [stderr]    Compiling nix v0.11.0
[INFO] [stderr]    Compiling rand_core v0.2.1
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling stable_deref_trait v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.12
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling smallvec v0.6.3
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.1
[INFO] [stderr]    Compiling xml-rs v0.7.0
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling rayon v1.0.2
[INFO] [stderr]    Compiling log v0.4.3
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling lock_api v0.1.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]    Compiling either v1.5.0
[INFO] [stderr]    Compiling deflate v0.7.18
[INFO] [stderr]    Compiling inflate v0.4.3
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling quote v0.6.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.9
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling approx v0.1.1
[INFO] [stderr]    Compiling syn v0.14.5
[INFO] [stderr]    Compiling gif v0.10.0
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling wayland-scanner v0.20.11
[INFO] [stderr]    Compiling gl_generator v0.9.0
[INFO] [stderr]    Compiling x11-dl v2.18.1
[INFO] [stderr]    Compiling rand v0.5.4
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling memmap v0.6.2
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling wayland-client v0.20.11
[INFO] [stderr]    Compiling wayland-protocols v0.20.11
[INFO] [stderr]    Compiling libloading v0.5.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.23
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling glutin v0.17.0
[INFO] [stderr]    Compiling glium v0.22.0
[INFO] [stderr]    Compiling num-rational v0.1.42
[INFO] [stderr]    Compiling png v0.12.0
[INFO] [stderr]    Compiling dlib v0.4.1
[INFO] [stderr]    Compiling wayland-sys v0.20.11
[INFO] [stderr]    Compiling parking_lot_core v0.2.14
[INFO] [stderr]    Compiling wayland-commons v0.20.11
[INFO] [stderr]    Compiling backtrace v0.3.9
[INFO] [stderr]    Compiling tempfile v3.0.3
[INFO] [stderr]    Compiling parking_lot v0.6.3
[INFO] [stderr]    Compiling num-derive v0.2.2
[INFO] [stderr]    Compiling jpeg-decoder v0.1.15
[INFO] [stderr]    Compiling image v0.19.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.2.6
[INFO] [stderr]    Compiling winit v0.16.2
[INFO] [stderr]    Compiling rustcraft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Deg` and `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: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn update_position(&mut self, Vector3<f32>) -> ();
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3<f32>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:19:35
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn update_rotation(&mut self, Vector3<f32>) -> ();
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3<f32>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn positions(&self, &Display) -> VertexBuffer<Vertex>;
[INFO] [stdout]    |                         ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Display`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn indices(&self, &Display) -> IndexBuffer<u16>;
[INFO] [stdout]    |                       ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Display`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[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 the macro `implement_vertex` (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<Box<GameState>>,
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 |     state_stack: Vec<Box<dyn GameState>>,
[INFO] [stdout]    |                          +++
[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<Box<Model>>,
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     models: Vec<Box<dyn Model>>,
[INFO] [stdout]    |                     +++
[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]    |                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn draw(&mut self, model: &dyn Model, camera: &Camera) {
[INFO] [stdout]    |                                    +++
[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<GameState>) -> () {
[INFO] [stdout]     |                                                  ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn push_state(&mut self, game_state: Box<dyn GameState>) -> () {
[INFO] [stdout]     |                                                  +++
[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<GameState> {
[INFO] [stdout]     |                                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn current_state(&self) -> &Box<dyn GameState> {
[INFO] [stdout]     |                                         +++
[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<GameState> {
[INFO] [stdout]     |                                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn current_state_mut(&mut self) -> &mut Box<dyn GameState> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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: 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: 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: 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: 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: method `pop_state` is never used
[INFO] [stdout]    --> src/application.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Application {
[INFO] [stdout]     | ---------------- method in this implementation
[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 items `from_position` and `update_position` are never used
[INFO] [stdout]   --> src/entity.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Entity {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn from_position(pos: (f32, f32, f32)) -> Entity {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn update_position(&mut self, delta_pos: Vector3<f32>) -> () {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `process_event` is never used
[INFO] [stdout]   --> src/game_state.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait GameState {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 15 |     fn input(&self) -> ();
[INFO] [stdout] 16 |     fn process_event(&mut self, event: Event, delta_t: f32) -> ();
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_position` is never used
[INFO] [stdout]   --> src/model/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait Model {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] 18 |     fn update_position(&mut self, Vector3<f32>) -> ();
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `texture_size` and `image_size` are never read
[INFO] [stdout]   --> src/textures/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Atlas {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 17 |     texture_size: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     image_size: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `textures_per_row` is never used
[INFO] [stdout]   --> src/textures/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Atlas {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn textures_per_row(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_cursor_position` is never used
[INFO] [stdout]   --> src/window.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Window {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn reset_cursor_position(&self) -> () {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/renderer/mod.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(display: &Display, target: Frame) -> Master {
[INFO] [stdout]    |                         ^^^^^^^^                    ------ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(display: &Display, target: Frame) -> Master<'_> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.56s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "aa53eb34fb10693e84722be8690c633ebf37c3d5aeb015066f0805165ee92472", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa53eb34fb10693e84722be8690c633ebf37c3d5aeb015066f0805165ee92472", kill_on_drop: false }`
[INFO] [stdout] aa53eb34fb10693e84722be8690c633ebf37c3d5aeb015066f0805165ee92472
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4daa5866d5b3a56b8ab81242e115054a6ca8617c53c102dda2974db8d75dda59
[INFO] running `Command { std: "docker" "start" "-a" "4daa5866d5b3a56b8ab81242e115054a6ca8617c53c102dda2974db8d75dda59", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling rustcraft v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Deg` and `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: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:18:35
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn update_position(&mut self, Vector3<f32>) -> ();
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3<f32>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:19:35
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn update_rotation(&mut self, Vector3<f32>) -> ();
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3<f32>`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:20:25
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn positions(&self, &Display) -> VertexBuffer<Vertex>;
[INFO] [stdout]    |                         ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Display`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/model/mod.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn indices(&self, &Display) -> IndexBuffer<u16>;
[INFO] [stdout]    |                       ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Display`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[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 the macro `implement_vertex` (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<Box<GameState>>,
[INFO] [stdout]    |                          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 12 |     state_stack: Vec<Box<dyn GameState>>,
[INFO] [stdout]    |                          +++
[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<Box<Model>>,
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     models: Vec<Box<dyn Model>>,
[INFO] [stdout]    |                     +++
[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]    |                                    ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 |     pub fn draw(&mut self, model: &dyn Model, camera: &Camera) {
[INFO] [stdout]    |                                    +++
[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<GameState>) -> () {
[INFO] [stdout]     |                                                  ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 |     pub fn push_state(&mut self, game_state: Box<dyn GameState>) -> () {
[INFO] [stdout]     |                                                  +++
[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<GameState> {
[INFO] [stdout]     |                                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 120 |     pub fn current_state(&self) -> &Box<dyn GameState> {
[INFO] [stdout]     |                                         +++
[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<GameState> {
[INFO] [stdout]     |                                                     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn current_state_mut(&mut self) -> &mut Box<dyn GameState> {
[INFO] [stdout]     |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `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 method `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: 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: 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: 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: 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: method `pop_state` is never used
[INFO] [stdout]    --> src/application.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout]  15 | impl Application {
[INFO] [stdout]     | ---------------- method in this implementation
[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 items `from_position` and `update_position` are never used
[INFO] [stdout]   --> src/entity.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Entity {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn from_position(pos: (f32, f32, f32)) -> Entity {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn update_position(&mut self, delta_pos: Vector3<f32>) -> () {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `process_event` is never used
[INFO] [stdout]   --> src/game_state.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub trait GameState {
[INFO] [stdout]    |           --------- method in this trait
[INFO] [stdout] 15 |     fn input(&self) -> ();
[INFO] [stdout] 16 |     fn process_event(&mut self, event: Event, delta_t: f32) -> ();
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `update_position` is never used
[INFO] [stdout]   --> src/model/mod.rs:18:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait Model {
[INFO] [stdout]    |           ----- method in this trait
[INFO] [stdout] 18 |     fn update_position(&mut self, Vector3<f32>) -> ();
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `texture_size` and `image_size` are never read
[INFO] [stdout]   --> src/textures/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct Atlas {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 17 |     texture_size: u32,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 18 |     image_size: u32,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `textures_per_row` is never used
[INFO] [stdout]   --> src/textures/mod.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl Atlas {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn textures_per_row(&self) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `reset_cursor_position` is never used
[INFO] [stdout]   --> src/window.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl Window {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn reset_cursor_position(&self) -> () {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/renderer/mod.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(display: &Display, target: Frame) -> Master {
[INFO] [stdout]    |                         ^^^^^^^^                    ------ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn new(display: &Display, target: Frame) -> Master<'_> {
[INFO] [stdout]    |                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.57s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "4daa5866d5b3a56b8ab81242e115054a6ca8617c53c102dda2974db8d75dda59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4daa5866d5b3a56b8ab81242e115054a6ca8617c53c102dda2974db8d75dda59", kill_on_drop: false }`
[INFO] [stdout] 4daa5866d5b3a56b8ab81242e115054a6ca8617c53c102dda2974db8d75dda59
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c50e10e7c0bc8c8099bd44602c2afdf486225c686ca8746e4849c9066a915fdf
[INFO] running `Command { std: "docker" "start" "-a" "c50e10e7c0bc8c8099bd44602c2afdf486225c686ca8746e4849c9066a915fdf", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unused imports: `Deg` and `PerspectiveFov`
[INFO] [stderr]  --> src/model/cube.rs:4:14
[INFO] [stderr]   |
[INFO] [stderr] 4 | use cgmath::{Deg, Matrix3, Matrix4, PerspectiveFov, Rad, Vector3};
[INFO] [stderr]   |              ^^^                    ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]   --> src/model/mod.rs:18:35
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn update_position(&mut self, Vector3<f32>) -> ();
[INFO] [stderr]    |                                   ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3<f32>`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr]    = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]   --> src/model/mod.rs:19:35
[INFO] [stderr]    |
[INFO] [stderr] 19 |     fn update_rotation(&mut self, Vector3<f32>) -> ();
[INFO] [stderr]    |                                   ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3<f32>`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]   --> src/model/mod.rs:20:25
[INFO] [stderr]    |
[INFO] [stderr] 20 |     fn positions(&self, &Display) -> VertexBuffer<Vertex>;
[INFO] [stderr]    |                         ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Display`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]   --> src/model/mod.rs:21:23
[INFO] [stderr]    |
[INFO] [stderr] 21 |     fn indices(&self, &Display) -> IndexBuffer<u16>;
[INFO] [stderr]    |                       ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Display`
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]    = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stderr]   --> src/model/mod.rs:15:1
[INFO] [stderr]    |
[INFO] [stderr] 15 | implement_vertex!(Vertex, position, tex_coords);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` 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: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/application.rs:12:26
[INFO] [stderr]    |
[INFO] [stderr] 12 |     state_stack: Vec<Box<GameState>>,
[INFO] [stderr]    |                          ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 12 |     state_stack: Vec<Box<dyn GameState>>,
[INFO] [stderr]    |                          +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/game_state.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 |     models: Vec<Box<Model>>,
[INFO] [stderr]    |                     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 10 |     models: Vec<Box<dyn Model>>,
[INFO] [stderr]    |                     +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/renderer/mod.rs:41:36
[INFO] [stderr]    |
[INFO] [stderr] 41 |     pub fn draw(&mut self, model: &Model, camera: &Camera) {
[INFO] [stderr]    |                                    ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 41 |     pub fn draw(&mut self, model: &dyn Model, camera: &Camera) {
[INFO] [stderr]    |                                    +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/application.rs:112:50
[INFO] [stderr]     |
[INFO] [stderr] 112 |     pub fn push_state(&mut self, game_state: Box<GameState>) -> () {
[INFO] [stderr]     |                                                  ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 112 |     pub fn push_state(&mut self, game_state: Box<dyn GameState>) -> () {
[INFO] [stderr]     |                                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/application.rs:120:41
[INFO] [stderr]     |
[INFO] [stderr] 120 |     pub fn current_state(&self) -> &Box<GameState> {
[INFO] [stderr]     |                                         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 120 |     pub fn current_state(&self) -> &Box<dyn GameState> {
[INFO] [stderr]     |                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/application.rs:124:53
[INFO] [stderr]     |
[INFO] [stderr] 124 |     pub fn current_state_mut(&mut self) -> &mut Box<GameState> {
[INFO] [stderr]     |                                                     ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 124 |     pub fn current_state_mut(&mut self) -> &mut Box<dyn GameState> {
[INFO] [stderr]     |                                                     +++
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/shaders/mod.rs:11:65
[INFO] [stderr]    |
[INFO] [stderr] 11 |         Err(why) => panic!("couldn't open {}: {}", display, why.description()),
[INFO] [stderr]    |                                                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stderr]   --> src/shaders/mod.rs:17:65
[INFO] [stderr]    |
[INFO] [stderr] 17 |         Err(why) => panic!("couldn't read {}: {}", display, why.description()),
[INFO] [stderr]    |                                                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `events`
[INFO] [stderr]   --> src/application.rs:55:17
[INFO] [stderr]    |
[INFO] [stderr] 55 |             let events = events_loop.poll_events(|event| {
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/application.rs:51:17
[INFO] [stderr]    |
[INFO] [stderr] 51 |             let mut current_state = self.current_state_mut();
[INFO] [stderr]    |                 ----^^^^^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `speed`
[INFO] [stderr]   --> src/game_state.rs:54:13
[INFO] [stderr]    |
[INFO] [stderr] 54 |         let speed = 50.0;
[INFO] [stderr]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `delta_t`
[INFO] [stderr]   --> src/game_state.rs:53:47
[INFO] [stderr]    |
[INFO] [stderr] 53 |     fn process_event(&mut self, event: Event, delta_t: f32) -> () {
[INFO] [stderr]    |                                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `delta_t`
[INFO] [stderr]    --> src/game_state.rs:149:26
[INFO] [stderr]     |
[INFO] [stderr] 149 |     fn update(&mut self, delta_t: f32) {
[INFO] [stderr]     |                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/game_state.rs:150:13
[INFO] [stderr]     |
[INFO] [stderr] 150 |         for mut model in self.models.iter_mut() {
[INFO] [stderr]     |             ----^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `delta_t`
[INFO] [stderr]    --> src/game_state.rs:156:43
[INFO] [stderr]     |
[INFO] [stderr] 156 |     fn draw(&self, renderer: &mut Master, delta_t: f32) {
[INFO] [stderr]     |                                           ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tex_coords_right`
[INFO] [stderr]   --> src/model/cube.rs:73:13
[INFO] [stderr]    |
[INFO] [stderr] 73 |         let tex_coords_right: TextureCoordinates = atlas.texture_coords_for(0, 1);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_right`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tex_coords_left`
[INFO] [stderr]   --> src/model/cube.rs:74:13
[INFO] [stderr]    |
[INFO] [stderr] 74 |         let tex_coords_left: TextureCoordinates = atlas.texture_coords_for(0, 1);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_left`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tex_coords_top`
[INFO] [stderr]   --> src/model/cube.rs:75:13
[INFO] [stderr]    |
[INFO] [stderr] 75 |         let tex_coords_top: TextureCoordinates = atlas.texture_coords_for(0, 0);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_top`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tex_coords_bottom`
[INFO] [stderr]   --> src/model/cube.rs:76:13
[INFO] [stderr]    |
[INFO] [stderr] 76 |         let tex_coords_bottom: TextureCoordinates = atlas.texture_coords_for(0, 2);
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tex_coords_bottom`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/textures/mod.rs:36:38
[INFO] [stderr]    |
[INFO] [stderr] 36 |     pub fn texture_coords_for(&self, x: u32, y: u32) -> TextureCoordinates {
[INFO] [stderr]    |                                      ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/textures/mod.rs:36:46
[INFO] [stderr]    |
[INFO] [stderr] 36 |     pub fn texture_coords_for(&self, x: u32, y: u32) -> TextureCoordinates {
[INFO] [stderr]    |                                              ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: method `pop_state` is never used
[INFO] [stderr]    --> src/application.rs:116:12
[INFO] [stderr]     |
[INFO] [stderr]  15 | impl Application {
[INFO] [stderr]     | ---------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 116 |     pub fn pop_state(&mut self) -> () {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `from_position` and `update_position` are never used
[INFO] [stderr]   --> src/entity.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl Entity {
[INFO] [stderr]    | ----------- associated items in this implementation
[INFO] [stderr] 10 |     pub fn from_position(pos: (f32, f32, f32)) -> Entity {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     pub fn update_position(&mut self, delta_pos: Vector3<f32>) -> () {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `process_event` is never used
[INFO] [stderr]   --> src/game_state.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub trait GameState {
[INFO] [stderr]    |           --------- method in this trait
[INFO] [stderr] 15 |     fn input(&self) -> ();
[INFO] [stderr] 16 |     fn process_event(&mut self, event: Event, delta_t: f32) -> ();
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `update_position` is never used
[INFO] [stderr]   --> src/model/mod.rs:18:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub trait Model {
[INFO] [stderr]    |           ----- method in this trait
[INFO] [stderr] 18 |     fn update_position(&mut self, Vector3<f32>) -> ();
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `texture_size` and `image_size` are never read
[INFO] [stderr]   --> src/textures/mod.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct Atlas {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 17 |     texture_size: u32,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 18 |     image_size: u32,
[INFO] [stderr]    |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `textures_per_row` is never used
[INFO] [stderr]   --> src/textures/mod.rs:32:8
[INFO] [stderr]    |
[INFO] [stderr] 24 | impl Atlas {
[INFO] [stderr]    | ---------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32 |     fn textures_per_row(&self) -> u32 {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `reset_cursor_position` is never used
[INFO] [stderr]   --> src/window.rs:38:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | impl Window {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 38 |     pub fn reset_cursor_position(&self) -> () {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/renderer/mod.rs:21:25
[INFO] [stderr]    |
[INFO] [stderr] 21 |     pub fn new(display: &Display, target: Frame) -> Master {
[INFO] [stderr]    |                         ^^^^^^^^                    ------ the same lifetime is hidden here
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 21 |     pub fn new(display: &Display, target: Frame) -> Master<'_> {
[INFO] [stderr]    |                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rustcraft` (bin "rustcraft" test) generated 35 warnings (run `cargo fix --bin "rustcraft" --tests` to apply 13 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.5
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rustcraft-f42f211639489593)
[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" "c50e10e7c0bc8c8099bd44602c2afdf486225c686ca8746e4849c9066a915fdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c50e10e7c0bc8c8099bd44602c2afdf486225c686ca8746e4849c9066a915fdf", kill_on_drop: false }`
[INFO] [stdout] c50e10e7c0bc8c8099bd44602c2afdf486225c686ca8746e4849c9066a915fdf
