[INFO] fetching crate picea 0.1.0... [INFO] testing picea-0.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate picea 0.1.0 into /workspace/builds/worker-1-tc1/source [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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate picea 0.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v1.13.1 [INFO] [stderr] Downloaded rusttype v0.9.3 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded darling_macro v0.13.4 [INFO] [stderr] Downloaded tinyvec v1.6.0 [INFO] [stderr] Downloaded core-graphics v0.22.3 [INFO] [stderr] Downloaded miniz_oxide v0.7.2 [INFO] [stderr] Downloaded itoa v1.0.10 [INFO] [stderr] Downloaded ttf-parser v0.15.2 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.1 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded shared_library v0.1.9 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded picea-macro-tools v0.1.0 [INFO] [stderr] Downloaded getrandom v0.2.12 [INFO] [stderr] Downloaded core-video-sys v0.1.4 [INFO] [stderr] Downloaded mio v0.8.11 [INFO] [stderr] Downloaded glow v0.7.2 [INFO] [stderr] Downloaded winit v0.26.1 [INFO] [stderr] Downloaded serde_json v1.0.114 [INFO] [stderr] Downloaded cc v1.0.89 [INFO] [stderr] Downloaded x11-dl v2.21.0 [INFO] [stderr] Downloaded nix v0.22.3 [INFO] [stderr] Downloaded ndk-sys v0.2.2 [INFO] [stderr] Downloaded indexmap v2.2.5 [INFO] [stderr] Downloaded redox_syscall v0.2.16 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded earcutr v0.2.0 [INFO] [stderr] Downloaded khronos_api v3.1.0 [INFO] [stderr] Downloaded wayland-client v0.29.5 [INFO] [stderr] Downloaded nix v0.24.3 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded libloading v0.8.2 [INFO] [stderr] Downloaded bytemuck v1.14.3 [INFO] [stderr] Downloaded num_enum_derive v0.5.11 [INFO] [stderr] Downloaded rayon v1.9.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.22 [INFO] [stderr] Downloaded num_enum v0.5.11 [INFO] [stderr] Downloaded thiserror-impl v1.0.57 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded raw-window-handle v0.4.3 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded num-iter v0.1.44 [INFO] [stderr] Downloaded crc32fast v1.4.0 [INFO] [stderr] Downloaded scoped_threadpool v0.1.9 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded gl_generator v0.14.0 [INFO] [stderr] Downloaded libloading v0.7.4 [INFO] [stderr] Downloaded wayland-egl v0.29.5 [INFO] [stderr] Downloaded cocoa-foundation v0.1.2 [INFO] [stderr] Downloaded core-foundation-sys v0.7.0 [INFO] [stderr] Downloaded core-foundation v0.7.0 [INFO] [stderr] Downloaded ndk-glue v0.5.2 [INFO] [stderr] Downloaded malloc_buf v0.0.6 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.4 [INFO] [stderr] Downloaded downcast-rs v1.2.0 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded speedy2d v2.0.0 [INFO] [stderr] Downloaded android_glue v0.2.3 [INFO] [stderr] Downloaded cgl v0.3.2 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.5 [INFO] [stderr] Downloaded block v0.1.6 [INFO] [stderr] Downloaded core-graphics v0.19.2 [INFO] [stderr] Downloaded thiserror v1.0.57 [INFO] [stderr] Downloaded ndk-context v0.1.1 [INFO] [stderr] Downloaded toml_datetime v0.6.5 [INFO] [stderr] Downloaded scoped-tls v1.0.1 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] [stderr] Downloaded darling v0.13.4 [INFO] [stderr] Downloaded objc v0.2.7 [INFO] [stderr] Downloaded xcursor v0.3.5 [INFO] [stderr] Downloaded dlib v0.5.2 [INFO] [stderr] Downloaded wayland-sys v0.29.5 [INFO] [stderr] Downloaded wayland-protocols v0.29.5 [INFO] [stderr] Downloaded syn v2.0.55 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.5 [INFO] [stderr] Downloaded osmesa-sys v0.1.2 [INFO] [stderr] Downloaded cocoa v0.24.1 [INFO] [stderr] Downloaded dispatch v0.2.0 [INFO] [stderr] Downloaded darling_core v0.13.4 [INFO] [stderr] Downloaded ndk-macro v0.3.0 [INFO] [stderr] Downloaded wayland-commons v0.29.5 [INFO] [stderr] Downloaded xml-rs v0.8.19 [INFO] [stderr] Downloaded owned_ttf_parser v0.15.2 [INFO] [stderr] Downloaded bumpalo v3.15.3 [INFO] [stderr] Downloaded jni-sys v0.3.0 [INFO] [stderr] Downloaded proc-macro-crate v1.3.1 [INFO] [stderr] Downloaded wayland-cursor v0.29.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded wayland-scanner v0.29.5 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfca788d9744c1cdc4b193108b479d7365fb94b8cb36c7148d528697f9a40200 [INFO] running `Command { std: "docker" "start" "-a" "bfca788d9744c1cdc4b193108b479d7365fb94b8cb36c7148d528697f9a40200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfca788d9744c1cdc4b193108b479d7365fb94b8cb36c7148d528697f9a40200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfca788d9744c1cdc4b193108b479d7365fb94b8cb36c7148d528697f9a40200", kill_on_drop: false }` [INFO] [stdout] bfca788d9744c1cdc4b193108b479d7365fb94b8cb36c7148d528697f9a40200 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e5c32fd1c591f28a816c8e0f80a418173ad92219c79043e6066b4349de40055 [INFO] running `Command { std: "docker" "start" "-a" "4e5c32fd1c591f28a816c8e0f80a418173ad92219c79043e6066b4349de40055", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling picea-macro-tools v0.1.0 [INFO] [stderr] Compiling 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] [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] [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: creating a shared reference to mutable static [INFO] [stdout] --> src/scene/context.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | merge_shape_transform: INNER_GLOBAL_CONTEXT [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 23 | | .borrow() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/scene/context.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { INNER_GLOBAL_CONTEXT.get_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.03s [INFO] running `Command { std: "docker" "inspect" "4e5c32fd1c591f28a816c8e0f80a418173ad92219c79043e6066b4349de40055", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e5c32fd1c591f28a816c8e0f80a418173ad92219c79043e6066b4349de40055", kill_on_drop: false }` [INFO] [stdout] 4e5c32fd1c591f28a816c8e0f80a418173ad92219c79043e6066b4349de40055 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 101176eb56f145f1c255d01602f330febc9ac46ad460f2d37a93dab836b5e0c5 [INFO] running `Command { std: "docker" "start" "-a" "101176eb56f145f1c255d01602f330febc9ac46ad460f2d37a93dab836b5e0c5", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.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 log v0.4.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling libloading v0.8.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling dlib v0.5.2 [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] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling serde v1.0.197 [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 color_quant v1.1.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling earcutr v0.2.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling picea-macro-tools v0.1.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling 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] [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] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [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] [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: creating a shared reference to mutable static [INFO] [stdout] --> src/scene/context.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | merge_shape_transform: INNER_GLOBAL_CONTEXT [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 23 | | .borrow() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/scene/context.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { INNER_GLOBAL_CONTEXT.get_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling glutin v0.28.0 [INFO] [stderr] Compiling 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 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: `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: `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: 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 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: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: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: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: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: `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: `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: `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: `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: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: `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: `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: `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: `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: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: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: `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: 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: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: `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: `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: 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: 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: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: 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: `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: `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: `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: `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: `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: `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: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: `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: `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: `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: `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_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: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: `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: 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: 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: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: `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: 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: 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: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: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: `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: 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: 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: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: `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: `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: creating a shared reference to mutable static [INFO] [stdout] --> src/scene/context.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | merge_shape_transform: INNER_GLOBAL_CONTEXT [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 23 | | .borrow() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/scene/context.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | unsafe { INNER_GLOBAL_CONTEXT.get_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3m 14s [INFO] running `Command { std: "docker" "inspect" "101176eb56f145f1c255d01602f330febc9ac46ad460f2d37a93dab836b5e0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101176eb56f145f1c255d01602f330febc9ac46ad460f2d37a93dab836b5e0c5", kill_on_drop: false }` [INFO] [stdout] 101176eb56f145f1c255d01602f330febc9ac46ad460f2d37a93dab836b5e0c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] de157c36441167f57027ebd826abbcfe1427ead2f74454bf7d83d1153fa21ed5 [INFO] running `Command { std: "docker" "start" "-a" "de157c36441167f57027ebd826abbcfe1427ead2f74454bf7d83d1153fa21ed5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Transform` [INFO] [stderr] --> src/shape/polygon.rs:21:59 [INFO] [stderr] | [INFO] [stderr] 21 | CenterPoint, Edge, EdgeIterable, GeometryTransformer, Transform, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FloatNum`, `point::Point`, and `vector::Vector` [INFO] [stderr] --> src/shape/utils.rs:782:23 [INFO] [stderr] | [INFO] [stderr] 782 | use crate::math::{point::Point, vector::Vector, FloatNum}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::rotate_polygon` [INFO] [stderr] --> src/shape/utils.rs:784:9 [INFO] [stderr] | [INFO] [stderr] 784 | use super::rotate_polygon; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/tools/collision_view.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `normal_toward_a` [INFO] [stderr] --> src/constraints/contact.rs:123:13 [INFO] [stderr] | [INFO] [stderr] 123 | let normal_toward_a = if normal * (position_a - position_b) < 0. { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal_toward_a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parameters` [INFO] [stderr] --> src/constraints/contact.rs:439:9 [INFO] [stderr] | [INFO] [stderr] 439 | parameters: &ConstraintParameters, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameters` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/constraints/contact.rs:440:9 [INFO] [stderr] | [INFO] [stderr] 440 | index: usize, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `secs` [INFO] [stderr] --> src/element/mod.rs:160:28 [INFO] [stderr] | [INFO] [stderr] 160 | pub fn tick(&mut self, secs: f32) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_secs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_enter_sleep_frame` [INFO] [stderr] --> src/scene/mod.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | max_enter_sleep_frame, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^- [INFO] [stderr] | | [INFO] [stderr] | help: try removing the field [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_enter_sleep_motion` [INFO] [stderr] --> src/scene/mod.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | max_enter_sleep_motion, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stderr] | | [INFO] [stderr] | help: try removing the field [INFO] [stderr] [INFO] [stderr] warning: unused variable: `constraint` [INFO] [stderr] --> src/scene/mod.rs:618:24 [INFO] [stderr] | [INFO] [stderr] 618 | .for_each(|constraint| {}); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_constraint` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_point` [INFO] [stderr] --> src/shape/utils.rs:573:17 [INFO] [stderr] | [INFO] [stderr] 573 | start_point, [INFO] [stderr] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `support_point` [INFO] [stderr] --> src/shape/utils.rs:574:17 [INFO] [stderr] | [INFO] [stderr] 574 | support_point, [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_point` [INFO] [stderr] --> src/shape/utils.rs:575:17 [INFO] [stderr] | [INFO] [stderr] 575 | end_point, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center_point` [INFO] [stderr] --> src/shape/utils.rs:581:17 [INFO] [stderr] | [INFO] [stderr] 581 | center_point, [INFO] [stderr] | ^^^^^^^^^^^^ help: try ignoring the field: `center_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `radius` [INFO] [stderr] --> src/shape/utils.rs:582:17 [INFO] [stderr] | [INFO] [stderr] 582 | radius, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `radius: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_point` [INFO] [stderr] --> src/shape/utils.rs:647:17 [INFO] [stderr] | [INFO] [stderr] 647 | start_point, [INFO] [stderr] | ^^^^^^^^^^^- [INFO] [stderr] | | [INFO] [stderr] | help: try removing the field [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_point` [INFO] [stderr] --> src/shape/utils.rs:648:17 [INFO] [stderr] | [INFO] [stderr] 648 | end_point, [INFO] [stderr] | ^^^^^^^^^- [INFO] [stderr] | | [INFO] [stderr] | help: try removing the field [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/tools/snapshot.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 37 | let mut forces = String::new(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `compute_minkowski` is never used [INFO] [stderr] --> src/collision/mod.rs:396:15 [INFO] [stderr] | [INFO] [stderr] 396 | pub(crate) fn compute_minkowski(compute_support_point: F) -> Vec [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `is_deleted` is never read [INFO] [stderr] --> src/element/store.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 18 | struct StoredElement { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 19 | // TODO [INFO] [stderr] 20 | is_deleted: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `total_skip_durations` is never read [INFO] [stderr] --> src/scene/mod.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct Scene [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 30 | total_skip_durations: FloatNum, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `post_solve_constraints`, `solve_air_friction`, and `query_element_pair` are never used [INFO] [stderr] --> src/scene/mod.rs:615:15 [INFO] [stderr] | [INFO] [stderr] 73 | impl Scene { [INFO] [stderr] | --------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 615 | unsafe fn post_solve_constraints(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 657 | fn solve_air_friction(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 670 | unsafe fn query_element_pair( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GlobalContext` is never constructed [INFO] [stderr] --> src/scene/context.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) struct GlobalContext { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `global_context` is never used [INFO] [stderr] --> src/scene/context.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn global_context() -> GlobalContext { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `rad` is never read [INFO] [stderr] --> src/shape/circle.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Circle { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 10 | rad: f32, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Circle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated constant `EDGE_COUNT` is never used [INFO] [stderr] --> src/shape/polygon.rs:81:11 [INFO] [stderr] | [INFO] [stderr] 80 | impl ConstPolygon { [INFO] [stderr] | ------------------------------------ associated constant in this implementation [INFO] [stderr] 81 | const EDGE_COUNT: usize = N; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `minkowski_different_gathers` is never read [INFO] [stderr] --> src/tools/collision_view.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct CollisionStatusViewer { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 20 | minkowski_different_gathers: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `PI` should have a snake case name [INFO] [stderr] --> src/math/mod.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | pub const fn PI() -> FloatNum { [INFO] [stderr] | ^^ help: convert the identifier to snake case: `pi` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `TAU` should have a snake case name [INFO] [stderr] --> src/math/mod.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | pub const fn TAU() -> FloatNum { [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `tau` [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/scene/context.rs:22:36 [INFO] [stderr] | [INFO] [stderr] 22 | merge_shape_transform: INNER_GLOBAL_CONTEXT [INFO] [stderr] | ____________________________________^ [INFO] [stderr] 23 | | .borrow() [INFO] [stderr] | |_________________________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/scene/context.rs:31:14 [INFO] [stderr] | [INFO] [stderr] 31 | unsafe { INNER_GLOBAL_CONTEXT.get_mut() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `picea` (lib) generated 32 warnings (run `cargo fix --lib -p picea` to apply 9 suggestions) [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> examples/../examples_common.rs:155:9 [INFO] [stderr] | [INFO] [stderr] 155 | helper: &mut WindowHelper<()>, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> examples/../examples_common.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> examples/../examples_common.rs:167:9 [INFO] [stderr] | [INFO] [stderr] 167 | helper: &mut WindowHelper<()>, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scancode` [INFO] [stderr] --> examples/../examples_common.rs:169:9 [INFO] [stderr] | [INFO] [stderr] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> examples/../examples_common.rs:221:9 [INFO] [stderr] | [INFO] [stderr] 221 | helper: &mut WindowHelper<()>, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> examples/../examples_common.rs:222:9 [INFO] [stderr] | [INFO] [stderr] 222 | button: speedy2d::window::MouseButton, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> examples/../examples_common.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | helper: &mut WindowHelper<()>, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> examples/../examples_common.rs:230:9 [INFO] [stderr] | [INFO] [stderr] 230 | button: speedy2d::window::MouseButton, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> examples/../examples_common.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | helper: &mut WindowHelper<()>, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> examples/../examples_common.rs:250:33 [INFO] [stderr] | [INFO] [stderr] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> examples/../examples_common.rs:288:33 [INFO] [stderr] | [INFO] [stderr] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_event` [INFO] [stderr] --> examples/../examples_common.rs:288:64 [INFO] [stderr] | [INFO] [stderr] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_point` [INFO] [stderr] --> examples/../examples_common.rs:370:25 [INFO] [stderr] | [INFO] [stderr] 370 | start_point, [INFO] [stderr] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `support_point` [INFO] [stderr] --> examples/../examples_common.rs:371:25 [INFO] [stderr] | [INFO] [stderr] 371 | support_point, [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_point` [INFO] [stderr] --> examples/../examples_common.rs:372:25 [INFO] [stderr] | [INFO] [stderr] 372 | end_point, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `start_point` [INFO] [stderr] --> examples/../examples_common.rs:384:25 [INFO] [stderr] | [INFO] [stderr] 384 | start_point, [INFO] [stderr] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_point` [INFO] [stderr] --> examples/../examples_common.rs:385:25 [INFO] [stderr] | [INFO] [stderr] 385 | end_point, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `object_id_a` [INFO] [stderr] --> examples/../examples_common.rs:435:26 [INFO] [stderr] | [INFO] [stderr] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `object_id_b` [INFO] [stderr] --> examples/../examples_common.rs:435:39 [INFO] [stderr] | [INFO] [stderr] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `top` [INFO] [stderr] --> examples/accumulation.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let top = 10; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_top` [INFO] [stderr] [INFO] [stderr] warning: function `run_simple` is never used [INFO] [stderr] --> examples/../examples_common.rs:508:8 [INFO] [stderr] | [INFO] [stderr] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handler` [INFO] [stderr] --> examples/friction.rs:14:34 [INFO] [stderr] | [INFO] [stderr] 14 | fn init(scene: &mut Scene, handler: &mut common::Handler) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/stack2.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 41 | let mut start_y = 30.; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/stack2.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let mut start_x = 100.; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handler` [INFO] [stderr] --> examples/stack2.rs:62:65 [INFO] [stderr] | [INFO] [stderr] 62 | fn update(scene: &mut Scene, _selected_element_id: Option, handler: &mut common::Handler<()>) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/shape/utils.rs:807:13 [INFO] [stderr] | [INFO] [stderr] 807 | let result = split_clockwise_concave_polygon_to_two_convex_polygon(vertices).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `handler` [INFO] [stderr] --> examples/ground.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | fn init(scene: &mut Scene, handler: &mut common::Handler<()>) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/ground.rs:43:13 [INFO] [stderr] | [INFO] [stderr] 43 | let mut element: Element<()> = [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `picea` (example "accumulation") generated 21 warnings [INFO] [stderr] warning: `picea` (example "stack") generated 20 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "friction") generated 21 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "conservation_of_momentum") generated 20 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "stack2") generated 23 warnings (20 duplicates) (run `cargo fix --example "stack2"` to apply 2 suggestions) [INFO] [stderr] warning: `picea` (example "cloth") generated 20 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (lib test) generated 31 warnings (30 duplicates) [INFO] [stderr] warning: `picea` (example "bridge") generated 19 warnings (19 duplicates) [INFO] [stderr] warning: `picea` (example "newton_cradle") generated 20 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "link") generated 20 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "ground") generated 22 warnings (20 duplicates) (run `cargo fix --example "ground"` to apply 1 suggestion) [INFO] [stderr] warning: `picea` (example "pit") generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/picea-c06d860c0442b7cb) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test shape::utils::test::test_is_point_inside_shape ... ok [INFO] [stdout] test shape::utils::tests::rotate_test ... ok [INFO] [stdout] test math::axis::tests::test_axis_direction_size ... ok [INFO] [stdout] test collision::tests::test_minkowski_point ... ok [INFO] [stdout] test shape::utils::tests::test_split_concave_polygon ... ok [INFO] [stdout] test shape::utils::tests::test_split_concave_polygon1 ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- shape::utils::tests::test_split_concave_polygon1 stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'shape::utils::tests::test_split_concave_polygon1' panicked at src/shape/utils.rs:461:13: [INFO] [stdout] internal error: entered unreachable code: polygon [Point { x: 0.0, y: 110.0 }, Point { x: 17.500002, y: 110.0 }, Point { x: 90.0, y: 81.0 }, Point { x: 85.0, y: 76.0 }, Point { x: 0.0, y: 110.0 }] cant' found the cut edge , something is wrong [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56c594bcf8b2 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56c594bcf8b2 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56c594bcf8b2 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56c594bcf8b2 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56c594bf55b3 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56c594bf55b3 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56c594bcc833 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56c594bcc833 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56c594bcf702 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56c594bd0e29 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x56c594bd0c5e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x56c594b99234 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x56c594b99234 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56c594bd17fe - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x56c594bd17fe - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x56c594bd15ca - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x56c594bcfda9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56c594bd125d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x56c594bf3590 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x56c594b5c060 - picea::shape::utils::split_clockwise_concave_polygon_to_two_convex_polygon::h5bcea4f52faf3b8f [INFO] [stdout] at /opt/rustwide/workdir/src/shape/utils.rs:461:13 [INFO] [stdout] 20: 0x56c594b5d1a4 - picea::shape::utils::split_concave_polygon_to_convex_polygons::hc315ff7155a0a7b4 [INFO] [stdout] at /opt/rustwide/workdir/src/shape/utils.rs:542:36 [INFO] [stdout] 21: 0x56c594b579d5 - picea::shape::utils::tests::test_split_concave_polygon1::h27acb1ac1da22c29 [INFO] [stdout] at /opt/rustwide/workdir/src/shape/utils.rs:873:9 [INFO] [stdout] 22: 0x56c594b57667 - picea::shape::utils::tests::test_split_concave_polygon1::{{closure}}::hfe71ee66aed1c9b8 [INFO] [stdout] at /opt/rustwide/workdir/src/shape/utils.rs:829:37 [INFO] [stdout] 23: 0x56c594b587a6 - core::ops::function::FnOnce::call_once::h62b99ca920acbe00 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x56c594b9ea9b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x56c594b9ea9b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x56c594b9dbd5 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x56c594b9dbd5 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x56c594b9dbd5 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x56c594b9dbd5 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x56c594b9dbd5 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x56c594b9dbd5 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x56c594b9dbd5 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x56c594b617d4 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x56c594b617d4 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x56c594b651aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x56c594b651aa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x56c594b651aa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x56c594b651aa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x56c594b651aa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x56c594b651aa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x56c594b651aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x56c594bd477f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x56c594bd477f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x70f5c96c9aa4 - [INFO] [stdout] 45: 0x70f5c9756a34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] shape::utils::tests::test_split_concave_polygon1 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "de157c36441167f57027ebd826abbcfe1427ead2f74454bf7d83d1153fa21ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de157c36441167f57027ebd826abbcfe1427ead2f74454bf7d83d1153fa21ed5", kill_on_drop: false }` [INFO] [stdout] de157c36441167f57027ebd826abbcfe1427ead2f74454bf7d83d1153fa21ed5