[INFO] fetching crate picea 0.1.0... [INFO] checking picea-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate picea 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate picea 0.1.0 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 crates.io crate picea 0.1.0 [INFO] finished tweaking crates.io crate picea 0.1.0 [INFO] tweaked toml for crates.io crate picea 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate picea 0.1.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded num-iter v0.1.44 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded libloading v0.8.2 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded cc v1.0.89 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded glow v0.7.2 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded earcutr v0.2.0 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded picea-macro-tools v0.1.0 [INFO] [stderr] Downloaded speedy2d v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b7793517e1535c1df4d03a24c2b455581647329a41a4cb1e536b75fead550ca8 [INFO] running `Command { std: "docker" "start" "-a" "b7793517e1535c1df4d03a24c2b455581647329a41a4cb1e536b75fead550ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7793517e1535c1df4d03a24c2b455581647329a41a4cb1e536b75fead550ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7793517e1535c1df4d03a24c2b455581647329a41a4cb1e536b75fead550ca8", kill_on_drop: false }` [INFO] [stdout] b7793517e1535c1df4d03a24c2b455581647329a41a4cb1e536b75fead550ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] f17d9b8f3dd21916228ce90067d3f1b60bdb94c31ba06e3e4a2ed8caa379df1d [INFO] running `Command { std: "docker" "start" "-a" "f17d9b8f3dd21916228ce90067d3f1b60bdb94c31ba06e3e4a2ed8caa379df1d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking libloading v0.8.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking earcutr v0.2.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling picea-macro-tools v0.1.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking picea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Transform` [INFO] [stdout] --> src/shape/polygon.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | CenterPoint, Edge, EdgeIterable, GeometryTransformer, Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FloatNum`, `point::Point`, and `vector::Vector` [INFO] [stdout] --> src/shape/utils.rs:782:23 [INFO] [stdout] | [INFO] [stdout] 782 | use crate::math::{point::Point, vector::Vector, FloatNum}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::rotate_polygon` [INFO] [stdout] --> src/shape/utils.rs:784:9 [INFO] [stdout] | [INFO] [stdout] 784 | use super::rotate_polygon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/tools/collision_view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stdout] warning: unused variable: `normal_toward_a` [INFO] [stdout] --> src/constraints/contact.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let normal_toward_a = if normal * (position_a - position_b) < 0. { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal_toward_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/constraints/contact.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | parameters: &ConstraintParameters, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/constraints/contact.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | index: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secs` [INFO] [stdout] --> src/element/mod.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn tick(&mut self, secs: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_enter_sleep_frame` [INFO] [stdout] --> src/scene/mod.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | max_enter_sleep_frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_enter_sleep_motion` [INFO] [stdout] --> src/scene/mod.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | max_enter_sleep_motion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/scene/mod.rs:618:24 [INFO] [stdout] | [INFO] [stdout] 618 | .for_each(|constraint| {}); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> src/shape/utils.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> src/shape/utils.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> src/shape/utils.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_point` [INFO] [stdout] --> src/shape/utils.rs:581:17 [INFO] [stdout] | [INFO] [stdout] 581 | center_point, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `center_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/shape/utils.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | radius, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `radius: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> src/shape/utils.rs:647:17 [INFO] [stdout] | [INFO] [stdout] 647 | start_point, [INFO] [stdout] | ^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> src/shape/utils.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | end_point, [INFO] [stdout] | ^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tools/snapshot.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut forces = String::new(); [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] [stderr] Checking tiff v0.6.1 [INFO] [stdout] warning: function `compute_minkowski` is never used [INFO] [stdout] --> src/collision/mod.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | pub(crate) fn compute_minkowski(compute_support_point: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_deleted` is never read [INFO] [stdout] --> src/element/store.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct StoredElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | // TODO [INFO] [stdout] 20 | is_deleted: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_skip_durations` is never read [INFO] [stdout] --> src/scene/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Scene [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | total_skip_durations: FloatNum, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `post_solve_constraints`, `solve_air_friction`, and `query_element_pair` are never used [INFO] [stdout] --> src/scene/mod.rs:615:15 [INFO] [stdout] | [INFO] [stdout] 73 | impl Scene { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 615 | unsafe fn post_solve_constraints(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 657 | fn solve_air_friction(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 670 | unsafe fn query_element_pair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalContext` is never constructed [INFO] [stdout] --> src/scene/context.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct GlobalContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_context` is never used [INFO] [stdout] --> src/scene/context.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn global_context() -> GlobalContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rad` is never read [INFO] [stdout] --> src/shape/circle.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Circle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | rad: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `EDGE_COUNT` is never used [INFO] [stdout] --> src/shape/polygon.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 80 | impl ConstPolygon { [INFO] [stdout] | ------------------------------------ associated constant in this implementation [INFO] [stdout] 81 | const EDGE_COUNT: usize = N; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `minkowski_different_gathers` is never read [INFO] [stdout] --> src/tools/collision_view.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CollisionStatusViewer { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | minkowski_different_gathers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PI` should have a snake case name [INFO] [stdout] --> src/math/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub const fn PI() -> FloatNum { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TAU` should have a snake case name [INFO] [stdout] --> src/math/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub const fn TAU() -> FloatNum { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking calloop v0.9.3 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking wayland-egl v0.29.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking speedy2d v2.0.0 [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transform` [INFO] [stdout] --> src/shape/polygon.rs:21:59 [INFO] [stdout] | [INFO] [stdout] 21 | CenterPoint, Edge, EdgeIterable, GeometryTransformer, Transform, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/tools/collision_view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/stack2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut start_y = 30.; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/stack2.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut start_x = 100.; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> examples/stack2.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | fn update(scene: &mut Scene, _selected_element_id: Option, handler: &mut common::Handler<()>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> examples/friction.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | fn init(scene: &mut Scene, handler: &mut common::Handler) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler` [INFO] [stdout] --> examples/ground.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | fn init(scene: &mut Scene, handler: &mut common::Handler<()>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/ground.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut element: Element<()> = [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: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `top` [INFO] [stdout] --> examples/accumulation.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let top = 10; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal_toward_a` [INFO] [stdout] --> src/constraints/contact.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | let normal_toward_a = if normal * (position_a - position_b) < 0. { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal_toward_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/constraints/contact.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | parameters: &ConstraintParameters, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/constraints/contact.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | index: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secs` [INFO] [stdout] --> src/element/mod.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn tick(&mut self, secs: f32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_enter_sleep_frame` [INFO] [stdout] --> src/scene/mod.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | max_enter_sleep_frame, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_enter_sleep_motion` [INFO] [stdout] --> src/scene/mod.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | max_enter_sleep_motion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `constraint` [INFO] [stdout] --> src/scene/mod.rs:618:24 [INFO] [stdout] | [INFO] [stdout] 618 | .for_each(|constraint| {}); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> src/shape/utils.rs:573:17 [INFO] [stdout] | [INFO] [stdout] 573 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> src/shape/utils.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> src/shape/utils.rs:575:17 [INFO] [stdout] | [INFO] [stdout] 575 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_point` [INFO] [stdout] --> src/shape/utils.rs:581:17 [INFO] [stdout] | [INFO] [stdout] 581 | center_point, [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `center_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/shape/utils.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 582 | radius, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `radius: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> src/shape/utils.rs:647:17 [INFO] [stdout] | [INFO] [stdout] 647 | start_point, [INFO] [stdout] | ^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> src/shape/utils.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | end_point, [INFO] [stdout] | ^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/shape/utils.rs:807:13 [INFO] [stdout] | [INFO] [stdout] 807 | let result = split_clockwise_concave_polygon_to_two_convex_polygon(vertices).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tools/snapshot.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let mut forces = String::new(); [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: function `compute_minkowski` is never used [INFO] [stdout] --> src/collision/mod.rs:396:15 [INFO] [stdout] | [INFO] [stdout] 396 | pub(crate) fn compute_minkowski(compute_support_point: F) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_deleted` is never read [INFO] [stdout] --> src/element/store.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct StoredElement { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | // TODO [INFO] [stdout] 20 | is_deleted: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_skip_durations` is never read [INFO] [stdout] --> src/scene/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Scene [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | total_skip_durations: FloatNum, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `post_solve_constraints`, `solve_air_friction`, and `query_element_pair` are never used [INFO] [stdout] --> src/scene/mod.rs:615:15 [INFO] [stdout] | [INFO] [stdout] 73 | impl Scene { [INFO] [stdout] | --------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 615 | unsafe fn post_solve_constraints(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 657 | fn solve_air_friction(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 670 | unsafe fn query_element_pair( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GlobalContext` is never constructed [INFO] [stdout] --> src/scene/context.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) struct GlobalContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `global_context` is never used [INFO] [stdout] --> src/scene/context.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn global_context() -> GlobalContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rad` is never read [INFO] [stdout] --> src/shape/circle.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Circle { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | rad: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `EDGE_COUNT` is never used [INFO] [stdout] --> src/shape/polygon.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 80 | impl ConstPolygon { [INFO] [stdout] | ------------------------------------ associated constant in this implementation [INFO] [stdout] 81 | const EDGE_COUNT: usize = N; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `minkowski_different_gathers` is never read [INFO] [stdout] --> src/tools/collision_view.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct CollisionStatusViewer { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | minkowski_different_gathers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `PI` should have a snake case name [INFO] [stdout] --> src/math/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub const fn PI() -> FloatNum { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TAU` should have a snake case name [INFO] [stdout] --> src/math/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub const fn TAU() -> FloatNum { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `tau` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.07s [INFO] running `Command { std: "docker" "inspect" "f17d9b8f3dd21916228ce90067d3f1b60bdb94c31ba06e3e4a2ed8caa379df1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f17d9b8f3dd21916228ce90067d3f1b60bdb94c31ba06e3e4a2ed8caa379df1d", kill_on_drop: false }` [INFO] [stdout] f17d9b8f3dd21916228ce90067d3f1b60bdb94c31ba06e3e4a2ed8caa379df1d