[INFO] cloning repository https://github.com/jaschutte/dwr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaschutte/dwr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaschutte%2Fdwr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaschutte%2Fdwr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4ebcaad6f70f44ece0f640515a4f691e486bd9ad [INFO] checking jaschutte/dwr against 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaschutte%2Fdwr" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jaschutte/dwr [INFO] finished tweaking git repo https://github.com/jaschutte/dwr [INFO] tweaked toml for git repo https://github.com/jaschutte/dwr written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jaschutte/dwr on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jaschutte/dwr already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: file `/workspace/builds/worker-1-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `dwr` [INFO] [stderr] * `bin` target `dwr` [INFO] [stderr] warning: `dwr` (manifest) generated 1 warning [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mlua-sys v0.9.0 [INFO] [stderr] Downloaded mlua_derive v0.11.0 [INFO] [stderr] Downloaded cc v1.2.50 [INFO] [stderr] Downloaded mlua v0.11.5 [INFO] [stderr] Downloaded glcore-rs v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2 [INFO] running `Command { std: "docker" "start" "df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: Cargo.toml: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `dwr` [INFO] [stderr] * `bin` target `dwr` [INFO] [stderr] warning: `dwr` (manifest) generated 1 warning [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling wayland-client v0.31.11 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling glutin v0.32.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking memfd v0.1.0 (/opt/rustwide/workdir/memfd) [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking glcore-rs v0.3.3 [INFO] [stderr] Compiling glutin_egl_sys v0.7.1 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Compiling mlua-sys v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Compiling mlua_derive v0.11.0 [INFO] [stderr] Checking mlua v0.11.5 [INFO] [stderr] Checking wayland-egl v0.32.8 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking dwr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AsRawContext` [INFO] [stdout] --> src/gpu_surface.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | AsRawContext, ContextAttributesBuilder, NotCurrentContext, PossiblyCurrentContext, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GL_1_0_g`, `GL_1_1_g`, and `GL_1_5_g` [INFO] [stdout] --> src/opengl/shaders.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use glcore::{GL_1_0_g, GL_1_1_g, GL_1_5_g, GL_2_0_g, GL_2_1_g, GL_3_0_g}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/opengl/shaders.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::FromLua` [INFO] [stdout] --> src/surface.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mlua::FromLua; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref` and `Weak` [INFO] [stdout] --> src/lua/rendering.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/lua/rendering.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | surface::{Margins, Surface}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glcore::GLCoreError` [INFO] [stdout] --> src/lua/entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glcore::GLCoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error as LError` and `IntoLua` [INFO] [stdout] --> src/lua/entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Error as LError, ExternalResult, Function, IntoLua, Lua, Result as LResult, Table, UserData, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DispatchError` [INFO] [stdout] --> src/lua/entry.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | Connection, DispatchError, EventQueue, Proxy, QueueHandle, protocol::wl_display::WlDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opengl::types::GlResult` [INFO] [stdout] --> src/lua/entry.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{opengl::types::GlResult, state::WaylandState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsRawContext` [INFO] [stdout] --> src/gpu_surface.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | AsRawContext, ContextAttributesBuilder, NotCurrentContext, PossiblyCurrentContext, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GL_1_0_g`, `GL_1_1_g`, and `GL_1_5_g` [INFO] [stdout] --> src/opengl/shaders.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use glcore::{GL_1_0_g, GL_1_1_g, GL_1_5_g, GL_2_0_g, GL_2_1_g, GL_3_0_g}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/opengl/shaders.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::FromLua` [INFO] [stdout] --> src/surface.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mlua::FromLua; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref` and `Weak` [INFO] [stdout] --> src/lua/rendering.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/lua/rendering.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | surface::{Margins, Surface}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glcore::GLCoreError` [INFO] [stdout] --> src/lua/entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glcore::GLCoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error as LError` and `IntoLua` [INFO] [stdout] --> src/lua/entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Error as LError, ExternalResult, Function, IntoLua, Lua, Result as LResult, Table, UserData, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DispatchError` [INFO] [stdout] --> src/lua/entry.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | Connection, DispatchError, EventQueue, Proxy, QueueHandle, protocol::wl_display::WlDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opengl::types::GlResult` [INFO] [stdout] --> src/lua/entry.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{opengl::types::GlResult, state::WaylandState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsRawContext` [INFO] [stdout] --> src/gpu_surface.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | AsRawContext, ContextAttributesBuilder, NotCurrentContext, PossiblyCurrentContext, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GL_1_0_g`, `GL_1_1_g`, and `GL_1_5_g` [INFO] [stdout] --> src/opengl/shaders.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use glcore::{GL_1_0_g, GL_1_1_g, GL_1_5_g, GL_2_0_g, GL_2_1_g, GL_3_0_g}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/opengl/shaders.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::FromLua` [INFO] [stdout] --> src/surface.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mlua::FromLua; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref` and `Weak` [INFO] [stdout] --> src/lua/rendering.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/lua/rendering.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | surface::{Margins, Surface}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glcore::GLCoreError` [INFO] [stdout] --> src/lua/entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glcore::GLCoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error as LError` and `IntoLua` [INFO] [stdout] --> src/lua/entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Error as LError, ExternalResult, Function, IntoLua, Lua, Result as LResult, Table, UserData, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DispatchError` [INFO] [stdout] --> src/lua/entry.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | Connection, DispatchError, EventQueue, Proxy, QueueHandle, protocol::wl_display::WlDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opengl::types::GlResult` [INFO] [stdout] --> src/lua/entry.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{opengl::types::GlResult, state::WaylandState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsRawContext` [INFO] [stdout] --> src/gpu_surface.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | AsRawContext, ContextAttributesBuilder, NotCurrentContext, PossiblyCurrentContext, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GL_1_0_g`, `GL_1_1_g`, and `GL_1_5_g` [INFO] [stdout] --> src/opengl/shaders.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use glcore::{GL_1_0_g, GL_1_1_g, GL_1_5_g, GL_2_0_g, GL_2_1_g, GL_3_0_g}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/opengl/shaders.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mlua::FromLua` [INFO] [stdout] --> src/surface.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use mlua::FromLua; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ref` and `Weak` [INFO] [stdout] --> src/lua/rendering.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | cell::{Ref, RefCell}, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | rc::{Rc, Weak}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/lua/rendering.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | surface::{Margins, Surface}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glcore::GLCoreError` [INFO] [stdout] --> src/lua/entry.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use glcore::GLCoreError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error as LError` and `IntoLua` [INFO] [stdout] --> src/lua/entry.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Error as LError, ExternalResult, Function, IntoLua, Lua, Result as LResult, Table, UserData, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DispatchError` [INFO] [stdout] --> src/lua/entry.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | Connection, DispatchError, EventQueue, Proxy, QueueHandle, protocol::wl_display::WlDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `opengl::types::GlResult` [INFO] [stdout] --> src/lua/entry.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::{opengl::types::GlResult, state::WaylandState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/lua/rendering.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua_multi(values: mlua::MultiValue, lua: &mlua::Lua) -> mlua::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/rendering.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua_multi(values: mlua::MultiValue, lua: &mlua::Lua) -> mlua::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_display` is never used [INFO] [stdout] --> src/gpu_surface.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GlAbstraction { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_display(&self) -> &Display { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `core` are never read [INFO] [stdout] --> src/opengl/shaders.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Shader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 219 | shader_id: u32, [INFO] [stdout] 220 | kind: ShaderKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | core: GLCore, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_shader_from_file` is never used [INFO] [stdout] --> src/opengl/shaders.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 224 | impl Shader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 225 | pub fn load_shader_from_file>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from_files` are never used [INFO] [stdout] --> src/opengl/shaders.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl ShaderBundle { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 271 | pub fn new(vertex: Shader, fragment: Shader) -> GlResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn new_from_files, P1: AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opengl/shaders.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub enum UniformKind<'a> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 344 | Uniform1f(f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 345 | Uniform2f(f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 346 | Uniform3f(f32, f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 347 | Uniform4f(f32, f32, f32, f32), [INFO] [stdout] 348 | Uniform1i(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 349 | Uniform2i(i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 350 | Uniform3i(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 351 | Uniform4i(i32, i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | Uniform1ui(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 353 | Uniform2ui(u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 354 | Uniform3ui(u32, u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 355 | Uniform4ui(u32, u32, u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 356 | Uniform1fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | Uniform2fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 358 | Uniform3fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 359 | Uniform4fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 360 | Uniform1iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 361 | Uniform2iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 362 | Uniform3iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 363 | Uniform4iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 364 | Uniform1uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 365 | Uniform2uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 366 | Uniform3uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 367 | Uniform4uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 368 | UniformMatrix2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 369 | UniformMatrix3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 370 | UniformMatrix4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 371 | UniformMatrix2x3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 372 | UniformMatrix3x2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 373 | UniformMatrix2x4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 374 | UniformMatrix4x2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 375 | UniformMatrix3x4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 376 | UniformMatrix4x3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniformKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoMatrixShader` is never used [INFO] [stdout] --> src/opengl/shaders.rs:466:11 [INFO] [stdout] | [INFO] [stdout] 466 | pub trait NoMatrixShader {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_color_rgba` is never used [INFO] [stdout] --> src/opengl/shaders.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 484 | impl ShaderProgram { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn set_color_rgba(&self, r: f32, g: f32, b: f32, a: f32) -> GlResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlatColor` is never constructed [INFO] [stdout] --> src/opengl/shaders.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | builtin_shader!(FlatColor <- "flat_color" | ColorShader:NoMatrixShader); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `builtin_shader` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecPromotion` is never used [INFO] [stdout] --> src/opengl/types.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait VecPromotion

{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecDemotion` is never used [INFO] [stdout] --> src/opengl/types.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait VecDemotion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/opengl/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Vec2 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn zero() -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3` is never constructed [INFO] [stdout] --> src/opengl/types.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `zero` are never used [INFO] [stdout] --> src/opengl/types.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Vec3 { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 92 | pub fn new(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn zero() -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/opengl/types.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Vec4 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn zero() -> Vec4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | make_continguous!(Vec3Array, Vec3, 3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 269 | impl<'a> $collection<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new(verts: &'a [$singular]) -> $collection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | make_continguous!(Vec3Array, Vec3, 3); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec4Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | make_continguous!(Vec4Array, Vec4, 4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 269 | impl<'a> $collection<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new(verts: &'a [$singular]) -> $collection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | make_continguous!(Vec4Array, Vec4, 4); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | make_continguous!(Vec2Array, OwnedVec2Array, Vec2, 2); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedVec3Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 235 | impl $collection { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(verts: Vec<$singular>) -> $collection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedVec4Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 235 | impl $collection { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(verts: Vec<$singular>) -> $collection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opengl/highlevel.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ElementsMode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 18 | Points, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | LineStrip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | LineLoop, [INFO] [stdout] 21 | Lines, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | LineStripAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | LinesAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | TriangleStrip, [INFO] [stdout] 25 | TriangleFan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | Triangles, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | TriangleStripAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | TrianglesAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementsMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_shader_program` and `new_shader_program_from_files` are never used [INFO] [stdout] --> src/opengl/highlevel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SimpleGL { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 65 | pub fn new_shader_program( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn new_shader_program_from_files, P1: AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rectangle_generic` is never used [INFO] [stdout] --> src/opengl/highlevel.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl SimpleGL { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 124 | pub fn draw_rectangle_generic(&self, topleft: Vec2, size: Vec2) -> GlResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_events_blocking` and `create_surface_blocking` are never used [INFO] [stdout] --> src/state.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl WaylandState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn handle_events_blocking( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn create_surface_blocking( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layer` is never read [INFO] [stdout] --> src/surface.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SurfaceProperties { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub layer: Layer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SurfaceProperties` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/surface.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Surface { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_size(&mut self, sizes: Sizes) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_layer(&mut self, layer: Layer) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn set_anchor(&mut self, anchor: Anchor) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_keyboard_interactivity(&mut self, keyboard_interactivity: KeyboardInteractivity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_pixel_buffer(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_pixel_buffer_mut(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn set_properties(&mut self, mut props: SurfaceProperties) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_properties(&self) -> &SurfaceProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection` and `queue_handle` are never read [INFO] [stdout] --> src/lua/entry.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct WaylandClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 18 | connection: Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | queue_handle: QueueHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/lua/rendering.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua_multi(values: mlua::MultiValue, lua: &mlua::Lua) -> mlua::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/rendering.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua_multi(values: mlua::MultiValue, lua: &mlua::Lua) -> mlua::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/lua/rendering.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua_multi(values: mlua::MultiValue, lua: &mlua::Lua) -> mlua::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/rendering.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua_multi(values: mlua::MultiValue, lua: &mlua::Lua) -> mlua::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_display` is never used [INFO] [stdout] --> src/gpu_surface.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GlAbstraction { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_display(&self) -> &Display { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `core` are never read [INFO] [stdout] --> src/opengl/shaders.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Shader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 219 | shader_id: u32, [INFO] [stdout] 220 | kind: ShaderKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | core: GLCore, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_shader_from_file` is never used [INFO] [stdout] --> src/opengl/shaders.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 224 | impl Shader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 225 | pub fn load_shader_from_file>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from_files` are never used [INFO] [stdout] --> src/opengl/shaders.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl ShaderBundle { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 271 | pub fn new(vertex: Shader, fragment: Shader) -> GlResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn new_from_files, P1: AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opengl/shaders.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub enum UniformKind<'a> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 344 | Uniform1f(f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 345 | Uniform2f(f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 346 | Uniform3f(f32, f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 347 | Uniform4f(f32, f32, f32, f32), [INFO] [stdout] 348 | Uniform1i(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 349 | Uniform2i(i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 350 | Uniform3i(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 351 | Uniform4i(i32, i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | Uniform1ui(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 353 | Uniform2ui(u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 354 | Uniform3ui(u32, u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 355 | Uniform4ui(u32, u32, u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 356 | Uniform1fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | Uniform2fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 358 | Uniform3fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 359 | Uniform4fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 360 | Uniform1iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 361 | Uniform2iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 362 | Uniform3iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 363 | Uniform4iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 364 | Uniform1uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 365 | Uniform2uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 366 | Uniform3uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 367 | Uniform4uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 368 | UniformMatrix2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 369 | UniformMatrix3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 370 | UniformMatrix4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 371 | UniformMatrix2x3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 372 | UniformMatrix3x2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 373 | UniformMatrix2x4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 374 | UniformMatrix4x2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 375 | UniformMatrix3x4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 376 | UniformMatrix4x3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniformKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoMatrixShader` is never used [INFO] [stdout] --> src/opengl/shaders.rs:466:11 [INFO] [stdout] | [INFO] [stdout] 466 | pub trait NoMatrixShader {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_color_rgba` is never used [INFO] [stdout] --> src/opengl/shaders.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 484 | impl ShaderProgram { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn set_color_rgba(&self, r: f32, g: f32, b: f32, a: f32) -> GlResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlatColor` is never constructed [INFO] [stdout] --> src/opengl/shaders.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | builtin_shader!(FlatColor <- "flat_color" | ColorShader:NoMatrixShader); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `builtin_shader` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecPromotion` is never used [INFO] [stdout] --> src/opengl/types.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait VecPromotion

{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecDemotion` is never used [INFO] [stdout] --> src/opengl/types.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait VecDemotion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/opengl/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Vec2 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn zero() -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3` is never constructed [INFO] [stdout] --> src/opengl/types.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `zero` are never used [INFO] [stdout] --> src/opengl/types.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Vec3 { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 92 | pub fn new(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn zero() -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/opengl/types.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Vec4 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn zero() -> Vec4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | make_continguous!(Vec3Array, Vec3, 3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 269 | impl<'a> $collection<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new(verts: &'a [$singular]) -> $collection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | make_continguous!(Vec3Array, Vec3, 3); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec4Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | make_continguous!(Vec4Array, Vec4, 4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 269 | impl<'a> $collection<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new(verts: &'a [$singular]) -> $collection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | make_continguous!(Vec4Array, Vec4, 4); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | make_continguous!(Vec2Array, OwnedVec2Array, Vec2, 2); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedVec3Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 235 | impl $collection { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(verts: Vec<$singular>) -> $collection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedVec4Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 235 | impl $collection { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(verts: Vec<$singular>) -> $collection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opengl/highlevel.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ElementsMode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 18 | Points, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | LineStrip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | LineLoop, [INFO] [stdout] 21 | Lines, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | LineStripAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | LinesAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | TriangleStrip, [INFO] [stdout] 25 | TriangleFan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | Triangles, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | TriangleStripAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | TrianglesAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementsMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_shader_program` and `new_shader_program_from_files` are never used [INFO] [stdout] --> src/opengl/highlevel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SimpleGL { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 65 | pub fn new_shader_program( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn new_shader_program_from_files, P1: AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rectangle_generic` is never used [INFO] [stdout] --> src/opengl/highlevel.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl SimpleGL { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 124 | pub fn draw_rectangle_generic(&self, topleft: Vec2, size: Vec2) -> GlResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_events_blocking` and `create_surface_blocking` are never used [INFO] [stdout] --> src/state.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl WaylandState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn handle_events_blocking( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn create_surface_blocking( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layer` is never read [INFO] [stdout] --> src/surface.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SurfaceProperties { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub layer: Layer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SurfaceProperties` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/surface.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Surface { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_size(&mut self, sizes: Sizes) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_layer(&mut self, layer: Layer) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn set_anchor(&mut self, anchor: Anchor) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_keyboard_interactivity(&mut self, keyboard_interactivity: KeyboardInteractivity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_pixel_buffer(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_pixel_buffer_mut(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn set_properties(&mut self, mut props: SurfaceProperties) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_properties(&self) -> &SurfaceProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection` and `queue_handle` are never read [INFO] [stdout] --> src/lua/entry.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct WaylandClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 18 | connection: Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | queue_handle: QueueHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_display` is never used [INFO] [stdout] --> src/gpu_surface.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GlAbstraction { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_display(&self) -> &Display { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `core` are never read [INFO] [stdout] --> src/opengl/shaders.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Shader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 219 | shader_id: u32, [INFO] [stdout] 220 | kind: ShaderKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | core: GLCore, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_shader_from_file` is never used [INFO] [stdout] --> src/opengl/shaders.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 224 | impl Shader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 225 | pub fn load_shader_from_file>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from_files` are never used [INFO] [stdout] --> src/opengl/shaders.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl ShaderBundle { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 271 | pub fn new(vertex: Shader, fragment: Shader) -> GlResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn new_from_files, P1: AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opengl/shaders.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub enum UniformKind<'a> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 344 | Uniform1f(f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 345 | Uniform2f(f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 346 | Uniform3f(f32, f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 347 | Uniform4f(f32, f32, f32, f32), [INFO] [stdout] 348 | Uniform1i(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 349 | Uniform2i(i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 350 | Uniform3i(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 351 | Uniform4i(i32, i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | Uniform1ui(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 353 | Uniform2ui(u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 354 | Uniform3ui(u32, u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 355 | Uniform4ui(u32, u32, u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 356 | Uniform1fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | Uniform2fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 358 | Uniform3fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 359 | Uniform4fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 360 | Uniform1iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 361 | Uniform2iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 362 | Uniform3iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 363 | Uniform4iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 364 | Uniform1uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 365 | Uniform2uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 366 | Uniform3uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 367 | Uniform4uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 368 | UniformMatrix2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 369 | UniformMatrix3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 370 | UniformMatrix4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 371 | UniformMatrix2x3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 372 | UniformMatrix3x2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 373 | UniformMatrix2x4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 374 | UniformMatrix4x2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 375 | UniformMatrix3x4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 376 | UniformMatrix4x3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniformKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoMatrixShader` is never used [INFO] [stdout] --> src/opengl/shaders.rs:466:11 [INFO] [stdout] | [INFO] [stdout] 466 | pub trait NoMatrixShader {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_color_rgba` is never used [INFO] [stdout] --> src/opengl/shaders.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 484 | impl ShaderProgram { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn set_color_rgba(&self, r: f32, g: f32, b: f32, a: f32) -> GlResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlatColor` is never constructed [INFO] [stdout] --> src/opengl/shaders.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | builtin_shader!(FlatColor <- "flat_color" | ColorShader:NoMatrixShader); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `builtin_shader` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecPromotion` is never used [INFO] [stdout] --> src/opengl/types.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait VecPromotion

{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecDemotion` is never used [INFO] [stdout] --> src/opengl/types.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait VecDemotion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/opengl/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Vec2 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn zero() -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3` is never constructed [INFO] [stdout] --> src/opengl/types.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `zero` are never used [INFO] [stdout] --> src/opengl/types.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Vec3 { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 92 | pub fn new(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn zero() -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/opengl/types.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Vec4 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn zero() -> Vec4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | make_continguous!(Vec3Array, Vec3, 3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 269 | impl<'a> $collection<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new(verts: &'a [$singular]) -> $collection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | make_continguous!(Vec3Array, Vec3, 3); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec4Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | make_continguous!(Vec4Array, Vec4, 4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 269 | impl<'a> $collection<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new(verts: &'a [$singular]) -> $collection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | make_continguous!(Vec4Array, Vec4, 4); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | make_continguous!(Vec2Array, OwnedVec2Array, Vec2, 2); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedVec3Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 235 | impl $collection { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(verts: Vec<$singular>) -> $collection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedVec4Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 235 | impl $collection { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(verts: Vec<$singular>) -> $collection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opengl/highlevel.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ElementsMode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 18 | Points, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | LineStrip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | LineLoop, [INFO] [stdout] 21 | Lines, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | LineStripAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | LinesAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | TriangleStrip, [INFO] [stdout] 25 | TriangleFan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | Triangles, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | TriangleStripAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | TrianglesAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementsMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_shader_program` and `new_shader_program_from_files` are never used [INFO] [stdout] --> src/opengl/highlevel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SimpleGL { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 65 | pub fn new_shader_program( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn new_shader_program_from_files, P1: AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rectangle_generic` is never used [INFO] [stdout] --> src/opengl/highlevel.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl SimpleGL { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 124 | pub fn draw_rectangle_generic(&self, topleft: Vec2, size: Vec2) -> GlResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_events_blocking` and `create_surface_blocking` are never used [INFO] [stdout] --> src/state.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl WaylandState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn handle_events_blocking( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn create_surface_blocking( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layer` is never read [INFO] [stdout] --> src/surface.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SurfaceProperties { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub layer: Layer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SurfaceProperties` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/surface.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Surface { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_size(&mut self, sizes: Sizes) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_layer(&mut self, layer: Layer) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn set_anchor(&mut self, anchor: Anchor) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_keyboard_interactivity(&mut self, keyboard_interactivity: KeyboardInteractivity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_pixel_buffer(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_pixel_buffer_mut(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn set_properties(&mut self, mut props: SurfaceProperties) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_properties(&self) -> &SurfaceProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection` and `queue_handle` are never read [INFO] [stdout] --> src/lua/entry.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct WaylandClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 18 | connection: Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | queue_handle: QueueHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/lua/rendering.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua_multi(values: mlua::MultiValue, lua: &mlua::Lua) -> mlua::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lua` [INFO] [stdout] --> src/lua/rendering.rs:47:49 [INFO] [stdout] | [INFO] [stdout] 47 | fn from_lua_multi(values: mlua::MultiValue, lua: &mlua::Lua) -> mlua::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lua` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_display` is never used [INFO] [stdout] --> src/gpu_surface.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GlAbstraction { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_display(&self) -> &Display { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `core` are never read [INFO] [stdout] --> src/opengl/shaders.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Shader { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 219 | shader_id: u32, [INFO] [stdout] 220 | kind: ShaderKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | core: GLCore, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_shader_from_file` is never used [INFO] [stdout] --> src/opengl/shaders.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 224 | impl Shader { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 225 | pub fn load_shader_from_file>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from_files` are never used [INFO] [stdout] --> src/opengl/shaders.rs:271:12 [INFO] [stdout] | [INFO] [stdout] 270 | impl ShaderBundle { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] 271 | pub fn new(vertex: Shader, fragment: Shader) -> GlResult { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn new_from_files, P1: AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opengl/shaders.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 343 | pub enum UniformKind<'a> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 344 | Uniform1f(f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 345 | Uniform2f(f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 346 | Uniform3f(f32, f32, f32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 347 | Uniform4f(f32, f32, f32, f32), [INFO] [stdout] 348 | Uniform1i(i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 349 | Uniform2i(i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 350 | Uniform3i(i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 351 | Uniform4i(i32, i32, i32, i32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 352 | Uniform1ui(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 353 | Uniform2ui(u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 354 | Uniform3ui(u32, u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 355 | Uniform4ui(u32, u32, u32, u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 356 | Uniform1fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 357 | Uniform2fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 358 | Uniform3fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 359 | Uniform4fv(i32, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 360 | Uniform1iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 361 | Uniform2iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 362 | Uniform3iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 363 | Uniform4iv(i32, &'a [i32]), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 364 | Uniform1uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 365 | Uniform2uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 366 | Uniform3uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 367 | Uniform4uiv(i32, &'a [u32]), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 368 | UniformMatrix2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 369 | UniformMatrix3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 370 | UniformMatrix4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 371 | UniformMatrix2x3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 372 | UniformMatrix3x2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 373 | UniformMatrix2x4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 374 | UniformMatrix4x2fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 375 | UniformMatrix3x4fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 376 | UniformMatrix4x3fv(i32, bool, &'a [f32]), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniformKind` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `NoMatrixShader` is never used [INFO] [stdout] --> src/opengl/shaders.rs:466:11 [INFO] [stdout] | [INFO] [stdout] 466 | pub trait NoMatrixShader {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_color_rgba` is never used [INFO] [stdout] --> src/opengl/shaders.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 484 | impl ShaderProgram { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn set_color_rgba(&self, r: f32, g: f32, b: f32, a: f32) -> GlResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FlatColor` is never constructed [INFO] [stdout] --> src/opengl/shaders.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | builtin_shader!(FlatColor <- "flat_color" | ColorShader:NoMatrixShader); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `builtin_shader` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecPromotion` is never used [INFO] [stdout] --> src/opengl/types.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait VecPromotion

{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VecDemotion` is never used [INFO] [stdout] --> src/opengl/types.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait VecDemotion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/opengl/types.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Vec2 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn zero() -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3` is never constructed [INFO] [stdout] --> src/opengl/types.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `zero` are never used [INFO] [stdout] --> src/opengl/types.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Vec3 { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 92 | pub fn new(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn zero() -> Vec3 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zero` is never used [INFO] [stdout] --> src/opengl/types.rs:176:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Vec4 { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn zero() -> Vec4 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec3Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | make_continguous!(Vec3Array, Vec3, 3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 269 | impl<'a> $collection<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new(verts: &'a [$singular]) -> $collection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | make_continguous!(Vec3Array, Vec3, 3); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vec4Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | make_continguous!(Vec4Array, Vec4, 4); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 269 | impl<'a> $collection<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 270 | pub fn new(verts: &'a [$singular]) -> $collection<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | make_continguous!(Vec4Array, Vec4, 4); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | make_continguous!(Vec2Array, OwnedVec2Array, Vec2, 2); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedVec3Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 235 | impl $collection { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(verts: Vec<$singular>) -> $collection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | make_continguous!(Vec3Array, OwnedVec3Array, Vec3, 3); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedVec4Array` is never constructed [INFO] [stdout] --> src/opengl/types.rs:299:30 [INFO] [stdout] | [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_continguous` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/opengl/types.rs:236:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 235 | impl $collection { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 236 | pub fn new(verts: Vec<$singular>) -> $collection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `weaken` is never used [INFO] [stdout] --> src/opengl/types.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 230 | macro_rules! make_continguous { [INFO] [stdout] ... [INFO] [stdout] 258 | impl<'a> $collection { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 259 | pub fn weaken(&'a self) -> $borrowed<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | make_continguous!(Vec4Array, OwnedVec4Array, Vec4, 4); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/opengl/highlevel.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum ElementsMode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 18 | Points, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | LineStrip, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | LineLoop, [INFO] [stdout] 21 | Lines, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | LineStripAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | LinesAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | TriangleStrip, [INFO] [stdout] 25 | TriangleFan, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 26 | Triangles, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | TriangleStripAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | TrianglesAdjacency, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementsMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `new_shader_program` and `new_shader_program_from_files` are never used [INFO] [stdout] --> src/opengl/highlevel.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl SimpleGL { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 65 | pub fn new_shader_program( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn new_shader_program_from_files, P1: AsRef>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_rectangle_generic` is never used [INFO] [stdout] --> src/opengl/highlevel.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 123 | impl SimpleGL { [INFO] [stdout] | ------------------------------------------------- method in this implementation [INFO] [stdout] 124 | pub fn draw_rectangle_generic(&self, topleft: Vec2, size: Vec2) -> GlResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `handle_events_blocking` and `create_surface_blocking` are never used [INFO] [stdout] --> src/state.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl WaylandState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn handle_events_blocking( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn create_surface_blocking( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `layer` is never read [INFO] [stdout] --> src/surface.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct SurfaceProperties { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 42 | pub layer: Layer, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SurfaceProperties` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/surface.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl Surface { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_size(&mut self, sizes: Sizes) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn set_layer(&mut self, layer: Layer) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn set_anchor(&mut self, anchor: Anchor) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn set_keyboard_interactivity(&mut self, keyboard_interactivity: KeyboardInteractivity) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn get_pixel_buffer(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn get_pixel_buffer_mut(&mut self) -> &mut [u8] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn set_properties(&mut self, mut props: SurfaceProperties) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_properties(&self) -> &SurfaceProperties { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection` and `queue_handle` are never read [INFO] [stdout] --> src/lua/entry.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct WaylandClient { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 18 | connection: Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | queue_handle: QueueHandle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `fontdue` [INFO] [stderr] --> Cargo.toml:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | fontdue = "0.9.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `fontdue` [INFO] [stderr] warning: unused dependency `wayland-egl` [INFO] [stderr] --> Cargo.toml:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | wayland-egl = "0.32.8" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `wayland-egl` [INFO] [stderr] warning: `dwr` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.01s [INFO] running `Command { std: "docker" "inspect" "df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2", kill_on_drop: false }` [INFO] [stdout] df23b72f839ba5890e6dfc53699330bd4a79335812f79c5a68f3324cfca8f1e2