[INFO] updating cached repository https://github.com/Griffone/RustyGame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44a4271d61d34f72ef7b1c9e2a86908e69a0dde3 [INFO] checking Griffone/RustyGame/44a4271d61d34f72ef7b1c9e2a86908e69a0dde3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGriffone%2FRustyGame" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Griffone/RustyGame on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 143 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding approx v0.3.2 (latest: v0.5.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cgl v0.2.3 (latest: v0.3.2) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding cocoa v0.15.0 (latest: v0.26.0) [INFO] [stderr] Adding core-foundation v0.6.4 (latest: v0.10.0) [INFO] [stderr] Adding core-foundation-sys v0.6.2 (latest: v0.8.7) [INFO] [stderr] Adding core-graphics v0.14.0 (latest: v0.24.0) [INFO] [stderr] Adding deflate v0.7.20 (latest: v1.0.0) [INFO] [stderr] Adding dlib v0.4.2 (latest: v0.5.2) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding gif v0.10.3 (latest: v0.13.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding gl_generator v0.9.0 (latest: v0.14.0) [INFO] [stderr] Adding gl_generator v0.13.1 (latest: v0.14.0) [INFO] [stderr] Adding gleam v0.6.19 (latest: v0.15.0) [INFO] [stderr] Adding glium v0.22.0 (latest: v0.35.0) [INFO] [stderr] Adding glutin v0.17.0 (latest: v0.32.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding image v0.20.1 (latest: v0.25.2) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (latest: v0.3.1) [INFO] [stderr] Adding khronos_api v2.2.0 (latest: v3.1.0) [INFO] [stderr] Adding libloading v0.6.7 (latest: v0.8.5) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding lock_api v0.1.5 (latest: v0.4.12) [INFO] [stderr] Adding malloc_buf v0.0.6 (latest: v1.0.0) [INFO] [stderr] Adding memmap v0.6.2 (latest: v0.7.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding nix v0.11.1 (latest: v0.29.0) [INFO] [stderr] Adding num-derive v0.2.5 (latest: v0.4.2) [INFO] [stderr] Adding num-rational v0.2.4 (latest: v0.4.2) [INFO] [stderr] Adding ordered-float v1.1.1 (latest: v4.2.2) [INFO] [stderr] Adding parking_lot v0.6.4 (latest: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.3.1 (latest: v0.9.10) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding png v0.12.0 (latest: v0.17.13) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.1) [INFO] [stderr] Adding rusttype v0.7.9 (latest: v0.9.3) [INFO] [stderr] Adding rusttype v0.8.3 (latest: v0.9.3) [INFO] [stderr] Adding scopeguard v0.3.3 (latest: v1.2.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding serde_yaml v0.8.26 (latest: v0.9.34+deprecated) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding smithay-client-toolkit v0.2.6 (latest: v0.19.2) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding tiff v0.2.2 (latest: v0.9.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding wayland-client v0.20.12 (latest: v0.31.5) [INFO] [stderr] Adding wayland-commons v0.20.12 (latest: v0.29.5) [INFO] [stderr] Adding wayland-protocols v0.20.12 (latest: v0.32.3) [INFO] [stderr] Adding wayland-scanner v0.20.12 (latest: v0.31.4) [INFO] [stderr] Adding wayland-sys v0.20.12 (latest: v0.31.4) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding winit v0.16.2 (latest: v0.30.5) [INFO] [stderr] Adding xml-rs v0.7.0 (latest: v0.8.21) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8c07fcaa42a223ced7e6dbc77db5127df7ef599d40fdb5ecbe4c304ac35ac26 [INFO] running `Command { std: "docker" "start" "-a" "b8c07fcaa42a223ced7e6dbc77db5127df7ef599d40fdb5ecbe4c304ac35ac26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8c07fcaa42a223ced7e6dbc77db5127df7ef599d40fdb5ecbe4c304ac35ac26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8c07fcaa42a223ced7e6dbc77db5127df7ef599d40fdb5ecbe4c304ac35ac26", kill_on_drop: false }` [INFO] [stdout] b8c07fcaa42a223ced7e6dbc77db5127df7ef599d40fdb5ecbe4c304ac35ac26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98e93b314ee829b5e5296e1517f37832555d0acd8b6c3b18bfad24e5351967c2 [INFO] running `Command { std: "docker" "start" "-a" "98e93b314ee829b5e5296e1517f37832555d0acd8b6c3b18bfad24e5351967c2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Checking smithay-client-toolkit v0.2.6 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.20.1 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking winit v0.16.2 [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: 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 an object-safe 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 an object-safe 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/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 an object-safe 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 an object-safe 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: 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: method `bounds` is never used [INFO] [stdout] --> src/graphics/math.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Boundable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 16 | fn bounds(&self) -> Bounds; [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(()), // 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(()), // 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(()), // 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: 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: 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: 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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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: method `bounds` is never used [INFO] [stdout] --> src/graphics/math.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait Boundable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 16 | fn bounds(&self) -> Bounds; [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(()), // 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(()), // 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(()), // 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: 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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.39s [INFO] running `Command { std: "docker" "inspect" "98e93b314ee829b5e5296e1517f37832555d0acd8b6c3b18bfad24e5351967c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e93b314ee829b5e5296e1517f37832555d0acd8b6c3b18bfad24e5351967c2", kill_on_drop: false }` [INFO] [stdout] 98e93b314ee829b5e5296e1517f37832555d0acd8b6c3b18bfad24e5351967c2