[INFO] cloning repository https://github.com/Griffone/RustyGame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Griffone/RustyGame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGriffone%2FRustyGame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGriffone%2FRustyGame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44a4271d61d34f72ef7b1c9e2a86908e69a0dde3 [INFO] checking Griffone/RustyGame against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGriffone%2FRustyGame" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Griffone/RustyGame [INFO] finished tweaking git repo https://github.com/Griffone/RustyGame [INFO] tweaked toml for git repo https://github.com/Griffone/RustyGame written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Griffone/RustyGame on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 155 packages to latest compatible versions [INFO] [stderr] Adding glium v0.22.0 (available: v0.36.0) [INFO] [stderr] Adding image v0.20.1 (available: v0.25.6) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.1) [INFO] [stderr] Adding rusttype v0.7.9 (available: v0.9.3) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-commons v0.20.12 [INFO] [stderr] Downloaded wayland-sys v0.20.12 [INFO] [stderr] Downloaded wayland-client v0.20.12 [INFO] [stderr] Downloaded glutin v0.17.0 [INFO] [stderr] Downloaded core-graphics v0.14.0 [INFO] [stderr] Downloaded cocoa v0.15.0 [INFO] [stderr] Downloaded wayland-scanner v0.20.12 [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded wayland-protocols v0.20.12 [INFO] [stderr] Downloaded smithay-client-toolkit v0.2.6 [INFO] [stderr] Downloaded winit v0.16.2 [INFO] [stderr] Downloaded image v0.20.1 [INFO] [stderr] Downloaded nix v0.11.1 [INFO] [stderr] Downloaded glium v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faf14adc03f066cd9b49d263b87711fcec1d171053cdb20af434897df01d3924 [INFO] running `Command { std: "docker" "start" "-a" "faf14adc03f066cd9b49d263b87711fcec1d171053cdb20af434897df01d3924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faf14adc03f066cd9b49d263b87711fcec1d171053cdb20af434897df01d3924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faf14adc03f066cd9b49d263b87711fcec1d171053cdb20af434897df01d3924", kill_on_drop: false }` [INFO] [stdout] faf14adc03f066cd9b49d263b87711fcec1d171053cdb20af434897df01d3924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09b0f9a22e709ede9ceb96c1dcf3772f20742fdfec3f6bc5f01a1ce5de4aabdb [INFO] running `Command { std: "docker" "start" "-a" "09b0f9a22e709ede9ceb96c1dcf3772f20742fdfec3f6bc5f01a1ce5de4aabdb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Checking winit v0.16.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rustc-demangle v0.1.25 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking rusty_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/input.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | fn from_state(&glium::glutin::ModifiersState) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &glium::glutin::ModifiersState` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/input.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 136 | fn from_state(&glium::glutin::ModifiersState) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &glium::glutin::ModifiersState` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/graphics/graphics.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | implement_vertex!(Vertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/graphics/instance.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | implement_vertex!(PerInstance, i_translation, i_z_theta, i_scale, i_color_lit, i_color_unlit, i_texture_lit, i_texture_unlit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/graphics/graphics.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 229 | implement_vertex!(Vertex, position, tex_coords); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/graphics/instance.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 76 | implement_vertex!(PerInstance, i_translation, i_z_theta, i_scale, i_color_lit, i_color_unlit, i_texture_lit, i_texture_unlit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | ) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/graphics.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 190 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphics/graphics.rs:190:29 [INFO] [stdout] | [INFO] [stdout] 190 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 190 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/input.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn load_from_file(path: &std::path::Path) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/input.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn load_from_file(path: &std::path::Path) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let mut count: i8 = 3; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FONT_PREFIX` is never used [INFO] [stdout] --> src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const FONT_PREFIX: &str = "data/fonts/"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_debug_mode`, `reset_window_position`, and `reset_window_size` are never used [INFO] [stdout] --> src/config.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 50 | impl Configuration { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_debug_mode(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn reset_window_position(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn reset_window_size(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bounds` is never used [INFO] [stdout] --> src/graphics/math.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Bounds = Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Lerp` is never used [INFO] [stdout] --> src/graphics/math.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Lerp { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Boundable` is never used [INFO] [stdout] --> src/graphics/math.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Boundable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `short_angle_distance` is never used [INFO] [stdout] --> src/graphics/math.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn short_angle_distance(a: f32, b: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp_angle` is never used [INFO] [stdout] --> src/graphics/math.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lerp_angle(a: f32, b: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics/math.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_bounds(points: &Bounds) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn grow_to_fit(&mut self, point: &Point) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn min(&self) -> [f32; 2] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn max(&self) -> [f32; 2] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn max_x(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn max_y(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn size(&self) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_FORMAT` is never used [INFO] [stdout] --> src/graphics/texture.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const DEFAULT_FORMAT: GLTextureFormat = GLTextureFormat::S3tcDxt1Alpha; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USED_MIPMAP` is never used [INFO] [stdout] --> src/graphics/texture.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const USED_MIPMAP: glium::texture::CompressedMipmapsOption = glium::texture::CompressedMipmapsOption::NoMipmap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/texture.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Io(IoError), // Something went wrong trying to load a texture file [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TextureCollectionCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - Io(IoError), // Something went wrong trying to load a texture file [INFO] [stdout] 42 + Io(()), // Something went wrong trying to load a texture file [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/texture.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | Image(ImageError), // Something went wrong trying to load image [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TextureCollectionCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - Image(ImageError), // Something went wrong trying to load image [INFO] [stdout] 43 + Image(()), // Something went wrong trying to load image [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/texture.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Texture(TextureCreationError), // Failed to generate a texture array or upload it to the GPU [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TextureCollectionCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - Texture(TextureCreationError), // Failed to generate a texture array or upload it to the GPU [INFO] [stdout] 44 + Texture(()), // Failed to generate a texture array or upload it to the GPU [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `unlit` are never used [INFO] [stdout] --> src/graphics/instance.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | impl Instance { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 17 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn unlit(transform: Transform, color: [f32; 4], texture: &Texture) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_rotation`, `translate`, `set_position`, and `set_scale` are never used [INFO] [stdout] --> src/graphics/transform.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl Transform { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn set_rotation(&mut self, angle: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn translate(&mut self, delta: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_position(&mut self, position: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_scale(&mut self, scale: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free_texture_collection` is never used [INFO] [stdout] --> src/graphics/scene.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 77 | impl TestScene { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn free_texture_collection(self) -> TextureCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mouse_wheel` is never read [INFO] [stdout] --> src/input.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | mouse_wheel: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shift`, `alt`, `ctrl`, and `logo` are never used [INFO] [stdout] --> src/input.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait KeyModifier { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 131 | fn shift(&self) -> bool; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 132 | fn alt(&self) -> bool; [INFO] [stdout] | ^^^ [INFO] [stdout] 133 | fn ctrl(&self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | fn logo(&self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 189 | pub fn load_from_file(path: &std::path::Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn set_on_key_down(&mut self, key: Key, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn set_on_button_down(&mut self, button: Button, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn set_on_button_up(&mut self, button: Button, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn clear_key(&mut self, key: Key) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn clear_button(&mut self, button: Button) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn clear_wheel_delta(&mut self, modifiers: KeyModifiers) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn absolute_mouse_position(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn mouse_wheel(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graphics/graphics.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn window(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn window(&self) -> core::cell::Ref<'_, glium::glutin::GlWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let mut count: i8 = 3; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics/graphics.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | write!(f, "(IO)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = write!(f, "(IO)"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics/graphics.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | write!(f, "(Program)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | let _ = write!(f, "(Program)"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics/graphics.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | write!(f, "(VertexBuffer)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 174 | let _ = write!(f, "(VertexBuffer)"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics/graphics.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | write!(f, "(IndexBuffer)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = write!(f, "(IndexBuffer)"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FONT_PREFIX` is never used [INFO] [stdout] --> src/main.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const FONT_PREFIX: &str = "data/fonts/"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_debug_mode`, `reset_window_position`, and `reset_window_size` are never used [INFO] [stdout] --> src/config.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 50 | impl Configuration { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn set_debug_mode(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn reset_window_position(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn reset_window_size(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Bounds` is never used [INFO] [stdout] --> src/graphics/math.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type Bounds = Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Lerp` is never used [INFO] [stdout] --> src/graphics/math.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Lerp { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Boundable` is never used [INFO] [stdout] --> src/graphics/math.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Boundable { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `short_angle_distance` is never used [INFO] [stdout] --> src/graphics/math.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn short_angle_distance(a: f32, b: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lerp_angle` is never used [INFO] [stdout] --> src/graphics/math.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lerp_angle(a: f32, b: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics/math.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 35 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn from_bounds(points: &Bounds) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn grow_to_fit(&mut self, point: &Point) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn min(&self) -> [f32; 2] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn max(&self) -> [f32; 2] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn max_x(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn max_y(&self) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn size(&self) -> Point { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_FORMAT` is never used [INFO] [stdout] --> src/graphics/texture.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | const DEFAULT_FORMAT: GLTextureFormat = GLTextureFormat::S3tcDxt1Alpha; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USED_MIPMAP` is never used [INFO] [stdout] --> src/graphics/texture.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const USED_MIPMAP: glium::texture::CompressedMipmapsOption = glium::texture::CompressedMipmapsOption::NoMipmap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/texture.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | Io(IoError), // Something went wrong trying to load a texture file [INFO] [stdout] | -- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TextureCollectionCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 42 - Io(IoError), // Something went wrong trying to load a texture file [INFO] [stdout] 42 + Io(()), // Something went wrong trying to load a texture file [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/texture.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | Image(ImageError), // Something went wrong trying to load image [INFO] [stdout] | ----- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TextureCollectionCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 43 - Image(ImageError), // Something went wrong trying to load image [INFO] [stdout] 43 + Image(()), // Something went wrong trying to load image [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/graphics/texture.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | Texture(TextureCreationError), // Failed to generate a texture array or upload it to the GPU [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TextureCollectionCreationError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - Texture(TextureCreationError), // Failed to generate a texture array or upload it to the GPU [INFO] [stdout] 44 + Texture(()), // Failed to generate a texture array or upload it to the GPU [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `unlit` are never used [INFO] [stdout] --> src/graphics/instance.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | impl Instance { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 17 | fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn unlit(transform: Transform, color: [f32; 4], texture: &Texture) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_rotation`, `translate`, `set_position`, and `set_scale` are never used [INFO] [stdout] --> src/graphics/transform.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 17 | impl Transform { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn set_rotation(&mut self, angle: f32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn translate(&mut self, delta: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn set_position(&mut self, position: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set_scale(&mut self, scale: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `free_texture_collection` is never used [INFO] [stdout] --> src/graphics/scene.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 77 | impl TestScene { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn free_texture_collection(self) -> TextureCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mouse_wheel` is never read [INFO] [stdout] --> src/input.rs:84:2 [INFO] [stdout] | [INFO] [stdout] 78 | pub struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | mouse_wheel: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `shift`, `alt`, `ctrl`, and `logo` are never used [INFO] [stdout] --> src/input.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub trait KeyModifier { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] 131 | fn shift(&self) -> bool; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 132 | fn alt(&self) -> bool; [INFO] [stdout] | ^^^ [INFO] [stdout] 133 | fn ctrl(&self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] 134 | fn logo(&self) -> bool; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/input.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 188 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 189 | pub fn load_from_file(path: &std::path::Path) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn set_on_key_down(&mut self, key: Key, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn set_on_button_down(&mut self, button: Button, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn set_on_button_up(&mut self, button: Button, action: Action) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn clear_key(&mut self, key: Key) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn clear_button(&mut self, button: Button) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn clear_wheel_delta(&mut self, modifiers: KeyModifiers) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn absolute_mouse_position(&self) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn mouse_wheel(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graphics/graphics.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn window(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn window(&self) -> core::cell::Ref<'_, glium::glutin::GlWindow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics/graphics.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | write!(f, "(IO)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = write!(f, "(IO)"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics/graphics.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | write!(f, "(Program)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | let _ = write!(f, "(Program)"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics/graphics.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | write!(f, "(VertexBuffer)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 174 | let _ = write!(f, "(VertexBuffer)"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics/graphics.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | write!(f, "(IndexBuffer)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 178 | let _ = write!(f, "(IndexBuffer)"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "09b0f9a22e709ede9ceb96c1dcf3772f20742fdfec3f6bc5f01a1ce5de4aabdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b0f9a22e709ede9ceb96c1dcf3772f20742fdfec3f6bc5f01a1ce5de4aabdb", kill_on_drop: false }` [INFO] [stdout] 09b0f9a22e709ede9ceb96c1dcf3772f20742fdfec3f6bc5f01a1ce5de4aabdb