[INFO] cloning repository https://github.com/theopus/rx-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theopus/rx-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheopus%2Frx-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheopus%2Frx-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13e4abcb8b47ed915c83fdcef0359d1c2d61593f [INFO] checking theopus/rx-engine against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheopus%2Frx-engine" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/theopus/rx-engine on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/theopus/rx-engine [INFO] finished tweaking git repo https://github.com/theopus/rx-engine [INFO] tweaked toml for git repo https://github.com/theopus/rx-engine written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/bjz/glfw-rs.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fedfc5a2311a77403ad5812fab4589297abfbc7d650367c957c2bcfd6531059 [INFO] running `Command { std: "docker" "start" "-a" "7fedfc5a2311a77403ad5812fab4589297abfbc7d650367c957c2bcfd6531059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fedfc5a2311a77403ad5812fab4589297abfbc7d650367c957c2bcfd6531059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fedfc5a2311a77403ad5812fab4589297abfbc7d650367c957c2bcfd6531059", kill_on_drop: false }` [INFO] [stdout] 7fedfc5a2311a77403ad5812fab4589297abfbc7d650367c957c2bcfd6531059 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f16354afc2c494517a753b58b63ce97d65f3beb77ed84b5ab2895b68914250c9 [INFO] running `Command { std: "docker" "start" "-a" "f16354afc2c494517a753b58b63ce97d65f3beb77ed84b5ab2895b68914250c9", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Checking tobj v0.1.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Compiling imgui-sys v0.1.0 [INFO] [stderr] Compiling glfw-sys v3.3.4 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Compiling gl v0.1.0 (/opt/rustwide/workdir/gl) [INFO] [stdout] warning: unused imports: `DebugStructGenerator`, `GlobalGenerator` [INFO] [stdout] --> gl/build.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use gl_generator::{Api, DebugStructGenerator, Fallbacks, GlobalGenerator, Profile, Registry, StructGenerator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking const-random v0.1.13 [INFO] [stderr] Checking ahash v0.2.19 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Checking shred v0.9.4 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking glfw v0.41.0 (https://github.com/bjz/glfw-rs.git#563785d4) [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking specs v0.15.1 [INFO] [stderr] Checking backend-vulkan v0.1.0 (/opt/rustwide/workdir/backend-vulkan) [INFO] [stderr] Checking imgui v0.1.0 [INFO] [stderr] Checking backend-api v0.1.0 (/opt/rustwide/workdir/backend-api) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> backend-api/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> backend-api/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> backend-api/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `env`, `fs::canonicalize` [INFO] [stdout] --> backend-api/src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::canonicalize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | PathBuf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> backend-api/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> backend-api/src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::Receiver` [INFO] [stdout] --> backend-api/src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::mpsc::Receiver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `env`, `fs::canonicalize` [INFO] [stdout] --> backend-api/src/utils.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::canonicalize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | env, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | PathBuf, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-api/src/utils.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | ... r.0.send((content1, content2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-api/src/utils.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | ... sender.send((content1, content2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-api/src/utils.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / self.pair_register.as_ref().unwrap() [INFO] [stdout] 104 | | .send((sender, String::from(first_file), String::from(second_file))); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-api/src/utils.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | self.join.take().unwrap().join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-api/src/utils.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | ... r.0.send((content1, content2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-api/src/utils.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | ... sender.send((content1, content2)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-api/src/utils.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / self.pair_register.as_ref().unwrap() [INFO] [stdout] 104 | | .send((sender, String::from(first_file), String::from(second_file))); [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-api/src/utils.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | self.join.take().unwrap().join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking backend-opengl v0.1.0 (/opt/rustwide/workdir/backend-opengl) [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> backend-opengl/src/buffer_v2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs`, `path::Path`, `sync::mpsc::Receiver` [INFO] [stdout] --> backend-opengl/src/core.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, path::Path, rc::Rc, sync::mpsc::Receiver}; [INFO] [stdout] | ^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> backend-opengl/src/core.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend as apiBackend` [INFO] [stdout] --> backend-opengl/src/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Backend as apiBackend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Backend as MyBackend` [INFO] [stdout] --> backend-opengl/src/core.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::Backend as MyBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenGlImageView` [INFO] [stdout] --> backend-opengl/src/core.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::image::{OpenGlImage, OpenGlImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/core.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | swap_buffers: Box ()>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/core.rs:144:54 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn new(gl_api: Rc, swap_buffers: Box ()>) -> OpenGLRendererApi { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ----------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 69 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let fun: Box Box> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | let fun: Box Box> = { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imgui::sys as imgui_sys` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use imgui::sys as imgui_sys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/swapchain.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) swap_buffers_fn: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/swapchain.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) swap_buffers_fn: Box Box>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/swapchain.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | swap_buffers: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use imgui::ImGui; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(imgui: &mut ImGui, window: &glfw::Window) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn handle_event(&mut self, imgui: &mut ImGui, event: &WindowEvent) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:128:69 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn frame<'a>(&mut self, window: &mut Window, imgui: &'a mut ImGui) -> imgui::Ui<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | fn set_mod(imgui: &mut ImGui, modifier: Modifiers) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> backend-opengl/src/buffer_v2.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs`, `path::Path`, `sync::mpsc::Receiver` [INFO] [stdout] --> backend-opengl/src/core.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, path::Path, rc::Rc, sync::mpsc::Receiver}; [INFO] [stdout] | ^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> backend-opengl/src/core.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend as apiBackend` [INFO] [stdout] --> backend-opengl/src/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Backend as apiBackend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Backend as MyBackend` [INFO] [stdout] --> backend-opengl/src/core.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::Backend as MyBackend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenGlImageView` [INFO] [stdout] --> backend-opengl/src/core.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::image::{OpenGlImage, OpenGlImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/core.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | swap_buffers: Box ()>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/core.rs:144:54 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn new(gl_api: Rc, swap_buffers: Box ()>) -> OpenGLRendererApi { [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut() -> ()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rc` is imported redundantly [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 4 | use std::rc::Rc; [INFO] [stdout] | ----------- the item `Rc` is already imported here [INFO] [stdout] ... [INFO] [stdout] 69 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | let fun: Box Box> = { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | let fun: Box Box> = { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imgui::sys as imgui_sys` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use imgui::sys as imgui_sys; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/swapchain.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) swap_buffers_fn: Box Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/swapchain.rs:4:49 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) swap_buffers_fn: Box Box>, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> backend-opengl/src/swapchain.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | swap_buffers: Box, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn FnMut()` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use imgui::ImGui; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(imgui: &mut ImGui, window: &glfw::Window) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:69:48 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn handle_event(&mut self, imgui: &mut ImGui, event: &WindowEvent) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:128:69 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn frame<'a>(&mut self, window: &mut Window, imgui: &'a mut ImGui) -> imgui::Ui<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `platform_glfw::imgui::ImGui`: use Context instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | fn set_mod(imgui: &mut ImGui, modifier: Modifiers) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | imgui.set_imgui_key(ImGuiKey::Tab, Key::Tab as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | imgui.set_imgui_key(ImGuiKey::LeftArrow, Key::Left as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | imgui.set_imgui_key(ImGuiKey::RightArrow, Key::Right as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | imgui.set_imgui_key(ImGuiKey::UpArrow, Key::Up as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | imgui.set_imgui_key(ImGuiKey::DownArrow, Key::Down as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | imgui.set_imgui_key(ImGuiKey::PageUp, Key::PageUp as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | imgui.set_imgui_key(ImGuiKey::PageDown, Key::PageDown as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | imgui.set_imgui_key(ImGuiKey::Home, Key::Home as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | imgui.set_imgui_key(ImGuiKey::End, Key::End as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | imgui.set_imgui_key(ImGuiKey::Delete, Key::Delete as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | imgui.set_imgui_key(ImGuiKey::Backspace, Key::Backspace as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | imgui.set_imgui_key(ImGuiKey::Enter, Key::Enter as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | imgui.set_imgui_key(ImGuiKey::Escape, Key::Escape as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | imgui.set_imgui_key(ImGuiKey::A, Key::A as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | imgui.set_imgui_key(ImGuiKey::C, Key::C as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | imgui.set_imgui_key(ImGuiKey::V, Key::V as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | imgui.set_imgui_key(ImGuiKey::X, Key::X as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | imgui.set_imgui_key(ImGuiKey::Y, Key::Y as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | imgui.set_imgui_key(ImGuiKey::Z, Key::Z as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_mouse_down`: Access Io::mouse_down directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | imgui.set_mouse_down(self.mouse_press); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_mouse_pos`: Access Io::mouse_pos directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | imgui.set_mouse_pos(w as f32, h as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_mouse_wheel`: Access Io::mouse_wheel directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | imgui.set_mouse_wheel(d as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::add_input_character`: Use Io::add_input_character instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | imgui.add_input_character(character); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key`: Access Io::keys_down directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | imgui.set_key(key as u8, true); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key`: Access Io::keys_down directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | imgui.set_key(key as u8, false); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key_ctrl`: Access Io::key_ctrl directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | imgui.set_key_ctrl(modifier.intersects(Modifiers::Control)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key_alt`: Access Io::key_alt directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | imgui.set_key_alt(modifier.intersects(Modifiers::Alt)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key_shift`: Access Io::key_shift directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | imgui.set_key_shift(modifier.intersects(Modifiers::Shift)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key_super`: Access Io::key_super directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | imgui.set_key_super(modifier.intersects(Modifiers::Super)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::>::imgui`: This function is potentially unsafe and will be removed [INFO] [stdout] --> backend-opengl/src/imgui_glfw_render.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | let scale = ui.imgui().display_framebuffer_scale(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::display_framebuffer_scale`: Access Io::display_framebuffer_scale directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw_render.rs:216:36 [INFO] [stdout] | [INFO] [stdout] 216 | let scale = ui.imgui().display_framebuffer_scale(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | imgui.set_imgui_key(ImGuiKey::Tab, Key::Tab as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | imgui.set_imgui_key(ImGuiKey::LeftArrow, Key::Left as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | imgui.set_imgui_key(ImGuiKey::RightArrow, Key::Right as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | imgui.set_imgui_key(ImGuiKey::UpArrow, Key::Up as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | imgui.set_imgui_key(ImGuiKey::DownArrow, Key::Down as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | imgui.set_imgui_key(ImGuiKey::PageUp, Key::PageUp as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | imgui.set_imgui_key(ImGuiKey::PageDown, Key::PageDown as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | imgui.set_imgui_key(ImGuiKey::Home, Key::Home as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | imgui.set_imgui_key(ImGuiKey::End, Key::End as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | imgui.set_imgui_key(ImGuiKey::Delete, Key::Delete as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | imgui.set_imgui_key(ImGuiKey::Backspace, Key::Backspace as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | imgui.set_imgui_key(ImGuiKey::Enter, Key::Enter as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | imgui.set_imgui_key(ImGuiKey::Escape, Key::Escape as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | imgui.set_imgui_key(ImGuiKey::A, Key::A as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | imgui.set_imgui_key(ImGuiKey::C, Key::C as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | imgui.set_imgui_key(ImGuiKey::V, Key::V as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | imgui.set_imgui_key(ImGuiKey::X, Key::X as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | imgui.set_imgui_key(ImGuiKey::Y, Key::Y as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_imgui_key`: Index Io::key_map with the key instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | imgui.set_imgui_key(ImGuiKey::Z, Key::Z as u8); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_mouse_down`: Access Io::mouse_down directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | imgui.set_mouse_down(self.mouse_press); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_mouse_pos`: Access Io::mouse_pos directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | imgui.set_mouse_pos(w as f32, h as f32); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_mouse_wheel`: Access Io::mouse_wheel directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:89:23 [INFO] [stdout] | [INFO] [stdout] 89 | imgui.set_mouse_wheel(d as f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::add_input_character`: Use Io::add_input_character instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:92:23 [INFO] [stdout] | [INFO] [stdout] 92 | imgui.add_input_character(character); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key`: Access Io::keys_down directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:97:27 [INFO] [stdout] | [INFO] [stdout] 97 | imgui.set_key(key as u8, true); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key`: Access Io::keys_down directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:99:27 [INFO] [stdout] | [INFO] [stdout] 99 | imgui.set_key(key as u8, false); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key_ctrl`: Access Io::key_ctrl directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 165 | imgui.set_key_ctrl(modifier.intersects(Modifiers::Control)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key_alt`: Access Io::key_alt directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:166:15 [INFO] [stdout] | [INFO] [stdout] 166 | imgui.set_key_alt(modifier.intersects(Modifiers::Alt)); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key_shift`: Access Io::key_shift directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:167:15 [INFO] [stdout] | [INFO] [stdout] 167 | imgui.set_key_shift(modifier.intersects(Modifiers::Shift)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::set_key_super`: Access Io::key_super directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:168:15 [INFO] [stdout] | [INFO] [stdout] 168 | imgui.set_key_super(modifier.intersects(Modifiers::Super)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> backend-opengl/src/pipeline.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | _ => *binding [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> backend-opengl/src/image.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(id: u32, gl: &Gl) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> backend-opengl/src/image.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(id: u32, gl: &Gl) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc` [INFO] [stdout] --> backend-opengl/src/core.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | fn allocate_descriptor_set(&self, desc: &::DescriptorSetLayout) -> ::DescriptorSet { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | let (mut window, events) = glfw.with_primary_monitor(|glfw, m| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | glfw::WindowEvent::Key(key, code, action, modfifer) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modfifer` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:108:59 [INFO] [stdout] | [INFO] [stdout] 108 | glfw::WindowEvent::Key(key, code, action, modfifer) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modfifer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocated` [INFO] [stdout] --> backend-opengl/src/memory.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | Kind::Unbinded(allocated) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocated` [INFO] [stdout] --> backend-opengl/src/memory.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | Kind::Unbinded(allocated) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocated` [INFO] [stdout] --> backend-opengl/src/memory.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | Kind::Unbinded(allocated) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | for (binding, (desc, hint)) in &pipeline_layout.layout { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hint` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | let (desc, hint) = map.get(&h.location).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_pass` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | render_pass: &OpenGlRenderPass, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framebuffer` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | framebuffer: &OpenGlFramebuffer, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::>::imgui`: This function is potentially unsafe and will be removed [INFO] [stdout] --> backend-opengl/src/imgui_glfw_render.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | let scale = ui.imgui().display_framebuffer_scale(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:435:31 [INFO] [stdout] | [INFO] [stdout] 435 | fn buffer_data(&mut self, buffer: &::Buffer, data: &[u8]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:435:75 [INFO] [stdout] | [INFO] [stdout] 435 | fn buffer_data(&mut self, buffer: &::Buffer, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc_set` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:447:100 [INFO] [stdout] | [INFO] [stdout] 447 | ...:Backend>::PipelineLayout, desc_set: &::DescriptorSet) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_index` [INFO] [stdout] --> backend-opengl/src/swapchain.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn present(&mut self, frame_index: u32) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `platform_glfw::imgui::legacy::::display_framebuffer_scale`: Access Io::display_framebuffer_scale directly instead [INFO] [stdout] --> backend-opengl/src/imgui_glfw_render.rs:216:36 [INFO] [stdout] | [INFO] [stdout] 216 | let scale = ui.imgui().display_framebuffer_scale(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut imgui_glfw = imgui_glfw_rs::ImguiGLFW::new(imgui, &*window.borrow()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut imgui_renderer = imgui_opengl_renderer::Renderer::new( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> backend-opengl/src/pipeline.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | _ => *binding [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> backend-opengl/src/image.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(id: u32, gl: &Gl) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gl` [INFO] [stdout] --> backend-opengl/src/image.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn new(id: u32, gl: &Gl) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc` [INFO] [stdout] --> backend-opengl/src/core.rs:64:39 [INFO] [stdout] | [INFO] [stdout] 64 | fn allocate_descriptor_set(&self, desc: &::DescriptorSetLayout) -> ::DescriptorSet { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | let (mut window, events) = glfw.with_primary_monitor(|glfw, m| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | glfw::WindowEvent::Key(key, code, action, modfifer) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modfifer` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:108:59 [INFO] [stdout] | [INFO] [stdout] 108 | glfw::WindowEvent::Key(key, code, action, modfifer) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modfifer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocated` [INFO] [stdout] --> backend-opengl/src/memory.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | Kind::Unbinded(allocated) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocated` [INFO] [stdout] --> backend-opengl/src/memory.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | Kind::Unbinded(allocated) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allocated` [INFO] [stdout] --> backend-opengl/src/memory.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | Kind::Unbinded(allocated) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allocated` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | for (binding, (desc, hint)) in &pipeline_layout.layout { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_desc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hint` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | let (desc, hint) = map.get(&h.location).unwrap(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render_pass` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 421 | render_pass: &OpenGlRenderPass, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_render_pass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `framebuffer` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | framebuffer: &OpenGlFramebuffer, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:435:31 [INFO] [stdout] | [INFO] [stdout] 435 | fn buffer_data(&mut self, buffer: &::Buffer, data: &[u8]) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:435:75 [INFO] [stdout] | [INFO] [stdout] 435 | fn buffer_data(&mut self, buffer: &::Buffer, data: &[u8]) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desc_set` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:447:100 [INFO] [stdout] | [INFO] [stdout] 447 | ...:Backend>::PipelineLayout, desc_set: &::DescriptorSet) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desc_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame_index` [INFO] [stdout] --> backend-opengl/src/swapchain.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn present(&mut self, frame_index: u32) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frame_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/imgui_glfw_render.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let mut draw_data = ui.render(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/imgui_glfw_render.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let mut draw_data1 = &mut *(sys::igGetDrawData() as *mut DrawData); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | let mut imgui_glfw = imgui_glfw_rs::ImguiGLFW::new(imgui, &*window.borrow()); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut imgui_renderer = imgui_opengl_renderer::Renderer::new( [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/pipeline.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let (mut len, mut name) = { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/pipeline.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | let (mut len, mut name) = { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> backend-opengl/src/pipeline.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 333 | let (desc, hint) = map.get(&h.location).unwrap(); [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] 334 | map.insert(h.location, (desc.clone(), Some(h))); [INFO] [stdout] | ^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gl` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | gl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `capacity` [INFO] [stdout] --> backend-opengl/src/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | capacity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `storage` [INFO] [stdout] --> backend-opengl/src/memory.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | storage: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cursor_pos` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | cursor_pos: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cursor` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | cursor: (ImGuiMouseCursor, Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_clipboard_text` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | pub extern "C" fn get_clipboard_text(_user_data: *mut c_void) -> *const c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_clipboard_text` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | pub extern "C" fn set_clipboard_text(_user_data: *mut c_void, text: *const c_char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DESCRIPTORS_LIMIT` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:343:1 [INFO] [stdout] | [INFO] [stdout] 343 | const DESCRIPTORS_LIMIT: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_gl_str` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn to_gl_str(src: &str) -> *const c_char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/imgui_glfw_render.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | let mut draw_data = ui.render(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/imgui_glfw_render.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | let mut draw_data1 = &mut *(sys::igGetDrawData() as *mut DrawData); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | s.send((0., event.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/pipeline.rs:214:10 [INFO] [stdout] | [INFO] [stdout] 214 | let (mut len, mut name) = { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> backend-opengl/src/pipeline.rs:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | let (mut len, mut name) = { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `map` as mutable because it is also borrowed as immutable [INFO] [stdout] --> backend-opengl/src/pipeline.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 333 | let (desc, hint) = map.get(&h.location).unwrap(); [INFO] [stdout] | --- immutable borrow occurs here [INFO] [stdout] 334 | map.insert(h.location, (desc.clone(), Some(h))); [INFO] [stdout] | ^^^ ---- immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `gl` [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | gl: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `capacity` [INFO] [stdout] --> backend-opengl/src/memory.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | capacity: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `storage` [INFO] [stdout] --> backend-opengl/src/memory.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | storage: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cursor_pos` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | cursor_pos: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cursor` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | cursor: (ImGuiMouseCursor, Option), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_clipboard_text` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:173:19 [INFO] [stdout] | [INFO] [stdout] 173 | pub extern "C" fn get_clipboard_text(_user_data: *mut c_void) -> *const c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_clipboard_text` [INFO] [stdout] --> backend-opengl/src/imgui_glfw.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | pub extern "C" fn set_clipboard_text(_user_data: *mut c_void, text: *const c_char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DESCRIPTORS_LIMIT` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:343:1 [INFO] [stdout] | [INFO] [stdout] 343 | const DESCRIPTORS_LIMIT: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_gl_str` [INFO] [stdout] --> backend-opengl/src/pipeline.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn to_gl_str(src: &str) -> *const c_char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> backend-opengl/src/platform_glfw.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | s.send((0., event.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 89 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nalgebra-glm v0.4.2 [INFO] [stderr] Checking rx_engine v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> core/src/render.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `size_of` is imported redundantly [INFO] [stdout] --> core/src/render.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::size_of; [INFO] [stdout] | ----------------- the item `size_of` is already imported here [INFO] [stdout] ... [INFO] [stdout] 178 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::Entities` [INFO] [stdout] --> core/src/ecs/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Entities; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::Read` [INFO] [stdout] --> core/src/ecs/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::Read; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::System` [INFO] [stdout] --> core/src/ecs/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::System; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ecs::components::Camera` [INFO] [stdout] --> core/src/ecs/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ecs::components::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DispatcherBuilder`, `Dispatcher`, `World` [INFO] [stdout] --> core/src/ecs/layer.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Dispatcher, DispatcherBuilder, System, World, WorldExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PlatformManager`, `RendererDevice` [INFO] [stdout] --> core/src/ecs/layer.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::backend::{PlatformManager, RendererDevice}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::Event` [INFO] [stdout] --> core/src/ecs/layer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::api::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render::Renderer` [INFO] [stdout] --> core/src/ecs/layer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> core/src/ecs/layer.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | type SystemData = (Read<'a, DeltaTime>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DispatcherBuilder`, `Dispatcher`, `WorldExt`, `World` [INFO] [stdout] --> core/src/ecs/system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Dispatcher, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | DispatcherBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | World, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | WorldExt, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ecs::ActiveCamera` [INFO] [stdout] --> core/src/ecs/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::ecs::ActiveCamera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> core/src/loader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> core/src/render.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `size_of` is imported redundantly [INFO] [stdout] --> core/src/render.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::size_of; [INFO] [stdout] | ----------------- the item `size_of` is already imported here [INFO] [stdout] ... [INFO] [stdout] 178 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::Entities` [INFO] [stdout] --> core/src/ecs/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use specs::Entities; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::Read` [INFO] [stdout] --> core/src/ecs/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::Read; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::System` [INFO] [stdout] --> core/src/ecs/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::System; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ecs::components::Camera` [INFO] [stdout] --> core/src/ecs/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ecs::components::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DispatcherBuilder`, `Dispatcher`, `World` [INFO] [stdout] --> core/src/ecs/layer.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Dispatcher, DispatcherBuilder, System, World, WorldExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PlatformManager`, `RendererDevice` [INFO] [stdout] --> core/src/ecs/layer.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::backend::{PlatformManager, RendererDevice}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api::Event` [INFO] [stdout] --> core/src/ecs/layer.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::api::Event; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::render::Renderer` [INFO] [stdout] --> core/src/ecs/layer.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::render::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> core/src/ecs/layer.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | type SystemData = (Read<'a, DeltaTime>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DispatcherBuilder`, `Dispatcher`, `WorldExt`, `World` [INFO] [stdout] --> core/src/ecs/system.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | Dispatcher, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | DispatcherBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | World, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | WorldExt, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ecs::ActiveCamera` [INFO] [stdout] --> core/src/ecs/mod.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | use crate::ecs::ActiveCamera; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufRead` [INFO] [stdout] --> core/src/loader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::BufRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::::init`: Use Context::create instead [INFO] [stdout] --> core/src/run.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | let mut imgui = imgui::Context::init(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::::init`: Use Context::create instead [INFO] [stdout] --> core/src/run.rs:60:45 [INFO] [stdout] | [INFO] [stdout] 60 | let mut imgui = imgui::Context::init(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::>::imgui`: This function is potentially unsafe and will be removed [INFO] [stdout] --> core/src/layer/info_layer.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | ui.text(imgui::im_str!("{:.1} fps", ui.imgui().get_frame_rate())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::::get_frame_rate`: Access Io::framerate directly instead [INFO] [stdout] --> core/src/layer/info_layer.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | ui.text(imgui::im_str!("{:.1} fps", ui.imgui().get_frame_rate())); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::>::imgui`: This function is potentially unsafe and will be removed [INFO] [stdout] --> core/src/layer/info_layer.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | let mouse_pos = ui.imgui().mouse_pos(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::::mouse_pos`: Access Io::mouse_pos directly instead [INFO] [stdout] --> core/src/layer/info_layer.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | let mouse_pos = ui.imgui().mouse_pos(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RendererApi` [INFO] [stdout] --> core/src/run.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use api::{Event, ImGuiRenderer, PlatformManager, RendererApi, RendererDevice, WindowConfig, Swapchain}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rimg_mem` [INFO] [stdout] --> core/src/render.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | let (rimg_mem, rimg, rimg_view) = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rimg_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rimg` [INFO] [stdout] --> core/src/render.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let (rimg_mem, rimg, rimg_view) = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rimg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drimg_mem` [INFO] [stdout] --> core/src/render.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | let (drimg_mem, drimg, drimg_view) = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drimg_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drimg` [INFO] [stdout] --> core/src/render.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | let (drimg_mem, drimg, drimg_view) = { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_drimg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rimg_framebuffer` [INFO] [stdout] --> core/src/render.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let rimg_framebuffer = device.create_framebuffer(&render_pass, vec![&rimg_view, &drimg_view]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rimg_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `past` is never read [INFO] [stdout] --> core/src/run.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut past: f64 = 0f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> core/src/ecs/layer.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn run(&mut self, data: Self::SystemData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> core/src/ecs/layer.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | let f: EcsInit<'a> = Box::new(|world, dispatcher, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> core/src/ecs/layer.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | fn on_update(&mut self, frame: &mut FrameContext, ctx: &mut EngineContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> core/src/ecs/system.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let projection: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> core/src/ecs/system.rs:37:70 [INFO] [stdout] | [INFO] [stdout] 37 | fn run(&mut self, (pos, mut rot, mut camera, events, mut active, delta): Self::SystemData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_rate` [INFO] [stdout] --> core/src/ecs/system.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let slow_rate = 1.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slow_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> core/src/loader.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | let (models, materials) = tobj::load_obj_buf(&mut a, |p| -> MTLLoadResult { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> core/src/layer/info_layer.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(ctx: &mut EngineContext) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> core/src/layer/info_layer.rs:22:55 [INFO] [stdout] | [INFO] [stdout] 22 | fn on_update(&mut self, frame: &mut FrameContext, ctx: &mut EngineContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/render.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut path_buf = &relative_to_current_path(&vec!["client", "resources", "cube.obj"]); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/run.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut renderer = platform.imgui_renderer(&mut imgui); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/utils.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut base_path = canonicalize(¤t_file) [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut base_path = env::current_dir().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/ecs/layer.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | for (transformation, mut render) in (&transformation, &mut render).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/ecs/layer.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut camera = self.world.read_resource::(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uniform` [INFO] [stdout] --> core/src/render.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | uniform: backend::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mesh_mem` [INFO] [stdout] --> core/src/render.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | mesh_mem: backend::Memory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `indexes_mem` [INFO] [stdout] --> core/src/render.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | indexes_mem: backend::Memory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> core/src/render.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | self.sender.send(cmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> core/src/ecs/layer.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | self.sender.send((render.va.clone(), render.material.clone(), transformation.mtx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::>::imgui`: This function is potentially unsafe and will be removed [INFO] [stdout] --> core/src/layer/info_layer.rs:37:56 [INFO] [stdout] | [INFO] [stdout] 37 | ui.text(imgui::im_str!("{:.1} fps", ui.imgui().get_frame_rate())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::::get_frame_rate`: Access Io::framerate directly instead [INFO] [stdout] --> core/src/layer/info_layer.rs:37:64 [INFO] [stdout] | [INFO] [stdout] 37 | ui.text(imgui::im_str!("{:.1} fps", ui.imgui().get_frame_rate())); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::>::imgui`: This function is potentially unsafe and will be removed [INFO] [stdout] --> core/src/layer/info_layer.rs:39:36 [INFO] [stdout] | [INFO] [stdout] 39 | let mouse_pos = ui.imgui().mouse_pos(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `imgui::legacy::::mouse_pos`: Access Io::mouse_pos directly instead [INFO] [stdout] --> core/src/layer/info_layer.rs:39:44 [INFO] [stdout] | [INFO] [stdout] 39 | let mouse_pos = ui.imgui().mouse_pos(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RendererApi` [INFO] [stdout] --> core/src/run.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use api::{Event, ImGuiRenderer, PlatformManager, RendererApi, RendererDevice, WindowConfig, Swapchain}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rimg_mem` [INFO] [stdout] --> core/src/render.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | let (rimg_mem, rimg, rimg_view) = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rimg_mem` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rimg` [INFO] [stdout] --> core/src/render.rs:154:24 [INFO] [stdout] | [INFO] [stdout] 154 | let (rimg_mem, rimg, rimg_view) = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rimg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drimg_mem` [INFO] [stdout] --> core/src/render.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | let (drimg_mem, drimg, drimg_view) = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_drimg_mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drimg` [INFO] [stdout] --> core/src/render.rs:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | let (drimg_mem, drimg, drimg_view) = { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_drimg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rimg_framebuffer` [INFO] [stdout] --> core/src/render.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | let rimg_framebuffer = device.create_framebuffer(&render_pass, vec![&rimg_view, &drimg_view]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rimg_framebuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `past` is never read [INFO] [stdout] --> core/src/run.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let mut past: f64 = 0f64; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> core/src/ecs/layer.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn run(&mut self, data: Self::SystemData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> core/src/ecs/layer.rs:101:59 [INFO] [stdout] | [INFO] [stdout] 101 | let f: EcsInit<'a> = Box::new(|world, dispatcher, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> core/src/ecs/layer.rs:118:55 [INFO] [stdout] | [INFO] [stdout] 118 | fn on_update(&mut self, frame: &mut FrameContext, ctx: &mut EngineContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection` [INFO] [stdout] --> core/src/ecs/system.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let projection: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> core/src/ecs/system.rs:37:70 [INFO] [stdout] | [INFO] [stdout] 37 | fn run(&mut self, (pos, mut rot, mut camera, events, mut active, delta): Self::SystemData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slow_rate` [INFO] [stdout] --> core/src/ecs/system.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let slow_rate = 1.0; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slow_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> core/src/loader.rs:23:63 [INFO] [stdout] | [INFO] [stdout] 23 | let (models, materials) = tobj::load_obj_buf(&mut a, |p| -> MTLLoadResult { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> core/src/layer/info_layer.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(ctx: &mut EngineContext) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> core/src/layer/info_layer.rs:22:55 [INFO] [stdout] | [INFO] [stdout] 22 | fn on_update(&mut self, frame: &mut FrameContext, ctx: &mut EngineContext) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/render.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut path_buf = &relative_to_current_path(&vec!["client", "resources", "cube.obj"]); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/run.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut renderer = platform.imgui_renderer(&mut imgui); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/utils.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mut base_path = canonicalize(¤t_file) [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/utils.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut base_path = env::current_dir().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/ecs/layer.rs:42:30 [INFO] [stdout] | [INFO] [stdout] 42 | for (transformation, mut render) in (&transformation, &mut render).join() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> core/src/ecs/layer.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | let mut camera = self.world.read_resource::(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uniform` [INFO] [stdout] --> core/src/render.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | uniform: backend::Buffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mesh_mem` [INFO] [stdout] --> core/src/render.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | mesh_mem: backend::Memory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `indexes_mem` [INFO] [stdout] --> core/src/render.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | indexes_mem: backend::Memory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> core/src/render.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | self.sender.send(cmd); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> core/src/ecs/layer.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | self.sender.send((render.va.clone(), render.material.clone(), transformation.mtx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused imports: `ActiveCamera`, `Matrix4f`, `RendererApi`, `RendererDevice`, `RngCore`, `backend`, `loader::Loader`, `utils::relative_to_current_path` [INFO] [stdout] --> client/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | backend, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | ecs::{ [INFO] [stdout] 8 | ActiveCamera, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | RendererApi, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | RendererDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | loader::Loader, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | Matrix4f, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | rand::{Rng, RngCore}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | specs, [INFO] [stdout] 30 | utils::relative_to_current_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> client/src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Builder, Join, Read, ReadStorage, WorldExt, Write, WriteStorage}; [INFO] [stdout] | ---- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 69 | use rx_engine::specs::Join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActiveCamera`, `Matrix4f`, `RendererApi`, `RendererDevice`, `RngCore`, `backend`, `loader::Loader`, `utils::relative_to_current_path` [INFO] [stdout] --> client/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | backend, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | ecs::{ [INFO] [stdout] 8 | ActiveCamera, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | RendererApi, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | RendererDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | loader::Loader, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | Matrix4f, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | rand::{Rng, RngCore}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | specs, [INFO] [stdout] 30 | utils::relative_to_current_path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> client/src/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Builder, Join, Read, ReadStorage, WorldExt, Write, WriteStorage}; [INFO] [stdout] | ---- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 69 | use rx_engine::specs::Join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> client/src/main.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Builder, Join, Read, ReadStorage, WorldExt, Write, WriteStorage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> client/src/main.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> client/src/main.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 122 | EcsLayerBuilder::new(Box::new(|mut w, d, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> client/src/main.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | fn run(&mut self, data: Self::SystemData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam` [INFO] [stdout] --> client/src/main.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | for (cam, mut pos, mut vel) in (&cam, &mut pos, &mut vel).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> client/src/main.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | for (cam, mut pos, mut vel) in (&cam, &mut pos, &mut vel).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> client/src/main.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | fn run(&mut self, (cam, mut pos, mut vel, input, delta): Self::SystemData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | for (cam, mut pos, mut vel) in (&cam, &mut pos, &mut vel).join() { [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 import: `Join` [INFO] [stdout] --> client/src/main.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::{Builder, Join, Read, ReadStorage, WorldExt, Write, WriteStorage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> client/src/main.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> client/src/main.rs:122:50 [INFO] [stdout] | [INFO] [stdout] 122 | EcsLayerBuilder::new(Box::new(|mut w, d, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> client/src/main.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | fn run(&mut self, data: Self::SystemData) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam` [INFO] [stdout] --> client/src/main.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | for (cam, mut pos, mut vel) in (&cam, &mut pos, &mut vel).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> client/src/main.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | for (cam, mut pos, mut vel) in (&cam, &mut pos, &mut vel).join() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta` [INFO] [stdout] --> client/src/main.rs:55:54 [INFO] [stdout] | [INFO] [stdout] 55 | fn run(&mut self, (cam, mut pos, mut vel, input, delta): Self::SystemData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_delta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> client/src/main.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | for (cam, mut pos, mut vel) in (&cam, &mut pos, &mut vel).join() { [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.32s [INFO] running `Command { std: "docker" "inspect" "f16354afc2c494517a753b58b63ce97d65f3beb77ed84b5ab2895b68914250c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f16354afc2c494517a753b58b63ce97d65f3beb77ed84b5ab2895b68914250c9", kill_on_drop: false }` [INFO] [stdout] f16354afc2c494517a753b58b63ce97d65f3beb77ed84b5ab2895b68914250c9