[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 master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftjefferson08%2Frustcraft" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tjefferson08/rustcraft on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "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 inflate v0.4.3 [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded stable_deref_trait v1.1.0 [INFO] [stderr] Downloaded num-derive v0.2.2 [INFO] [stderr] Downloaded gif v0.10.0 [INFO] [stderr] Downloaded parking_lot v0.6.3 [INFO] [stderr] Downloaded x11-dl v2.18.1 [INFO] [stderr] Downloaded glutin v0.17.0 [INFO] [stderr] Downloaded syn v0.14.5 [INFO] [stderr] Downloaded rayon v1.0.2 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded image v0.19.0 [INFO] [stderr] Downloaded winit v0.16.2 [INFO] [stderr] Downloaded quote v0.6.4 [INFO] [stderr] Downloaded glium v0.22.0 [INFO] [stderr] Downloaded objc v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5500d127438dfc5d7d041b490a7d26edbe85c30ada589d01109eac747fc9262 [INFO] running `Command { std: "docker" "start" "-a" "d5500d127438dfc5d7d041b490a7d26edbe85c30ada589d01109eac747fc9262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5500d127438dfc5d7d041b490a7d26edbe85c30ada589d01109eac747fc9262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5500d127438dfc5d7d041b490a7d26edbe85c30ada589d01109eac747fc9262", kill_on_drop: false }` [INFO] [stdout] d5500d127438dfc5d7d041b490a7d26edbe85c30ada589d01109eac747fc9262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3fd2a0e4f3012504eac78278acc0df59b0329102750e37b1c691a1194546b83 [INFO] running `Command { std: "docker" "start" "-a" "e3fd2a0e4f3012504eac78278acc0df59b0329102750e37b1c691a1194546b83", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking cfg-if v0.1.4 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking byteorder v1.2.3 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.12 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking smallvec v0.6.3 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking lock_api v0.1.3 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking rand v0.5.4 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking inflate v0.4.3 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling wayland-scanner v0.20.11 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling x11-dl v2.18.1 [INFO] [stderr] Checking gif v0.10.0 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking num-traits v0.1.43 [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] Checking num-rational v0.1.42 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking tempfile v3.0.3 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Checking parking_lot v0.6.3 [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] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking 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) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3` [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 [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) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3` [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 [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; [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 [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; [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 [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>, [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 [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>, [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>, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | models: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3` [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 [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) -> (); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Vector3` [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 [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; [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 [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; [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 [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 [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) -> () { [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 [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) -> () { [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 { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn current_state(&self) -> &Box { [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 { [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 [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 { [INFO] [stdout] | +++ [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>, [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 [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>, [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>, [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | models: Vec>, [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: 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 [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) -> () { [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 [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) -> () { [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 { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn current_state(&self) -> &Box { [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 { [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 [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 { [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: 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: 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) -> () { [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) -> (); [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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn new(display: &Display, target: Frame) -> Master<'_> { [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) -> () { [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) -> (); [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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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 21.66s [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 1` [INFO] running `Command { std: "docker" "inspect" "e3fd2a0e4f3012504eac78278acc0df59b0329102750e37b1c691a1194546b83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3fd2a0e4f3012504eac78278acc0df59b0329102750e37b1c691a1194546b83", kill_on_drop: false }` [INFO] [stdout] e3fd2a0e4f3012504eac78278acc0df59b0329102750e37b1c691a1194546b83