[INFO] fetching crate picea 0.1.0... [INFO] testing picea-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate picea 0.1.0 into /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate picea 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4de4acb2f6a1d3d3cfa7406b5db9959b1c41d2fc3539006c2dc604117c603c3 [INFO] running `Command { std: "docker" "start" "-a" "e4de4acb2f6a1d3d3cfa7406b5db9959b1c41d2fc3539006c2dc604117c603c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4de4acb2f6a1d3d3cfa7406b5db9959b1c41d2fc3539006c2dc604117c603c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4de4acb2f6a1d3d3cfa7406b5db9959b1c41d2fc3539006c2dc604117c603c3", kill_on_drop: false }` [INFO] [stdout] e4de4acb2f6a1d3d3cfa7406b5db9959b1c41d2fc3539006c2dc604117c603c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1752f60b08a451d98d0b96f2755f0b01b8c130679b2baaaba684a0232043100c [INFO] running `Command { std: "docker" "start" "-a" "1752f60b08a451d98d0b96f2755f0b01b8c130679b2baaaba684a0232043100c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [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.40s [INFO] running `Command { std: "docker" "inspect" "1752f60b08a451d98d0b96f2755f0b01b8c130679b2baaaba684a0232043100c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1752f60b08a451d98d0b96f2755f0b01b8c130679b2baaaba684a0232043100c", kill_on_drop: false }` [INFO] [stdout] 1752f60b08a451d98d0b96f2755f0b01b8c130679b2baaaba684a0232043100c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6400841a511966c0139b9104b976e4b6d142a33643906a27973062e200c48fa [INFO] running `Command { std: "docker" "start" "-a" "f6400841a511966c0139b9104b976e4b6d142a33643906a27973062e200c48fa", kill_on_drop: false }` [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 memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.21 [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 num-traits v0.2.18 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling libloading v0.8.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling cc v1.0.89 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.4 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling earcutr v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling picea-macro-tools v0.1.0 [INFO] [stderr] Compiling picea v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [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] Compiling tiff v0.6.1 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling wayland-egl v0.29.5 [INFO] [stderr] Compiling image v0.23.14 [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: `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: `top` [INFO] [stdout] --> examples/accumulation.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let top = 10; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: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: `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: `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: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:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs: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: `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: variable does not need to be mutable [INFO] [stdout] --> examples/stack2.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut start_y = 30.; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/stack2.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let mut start_x = 100.; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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: `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: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:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs: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: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:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:288:33 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_event` [INFO] [stdout] --> examples/../examples_common.rs:288:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn on_user_event(&mut self, helper: &mut WindowHelper<()>, user_event: ()) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:370:25 [INFO] [stdout] | [INFO] [stdout] 370 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs: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: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: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `support_point` [INFO] [stdout] --> examples/../examples_common.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | support_point, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `support_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_point` [INFO] [stdout] --> examples/../examples_common.rs:384:25 [INFO] [stdout] | [INFO] [stdout] 384 | start_point, [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `start_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_point` [INFO] [stdout] --> examples/../examples_common.rs:385:25 [INFO] [stdout] | [INFO] [stdout] 385 | end_point, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `end_point: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_a` [INFO] [stdout] --> examples/../examples_common.rs:435:26 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object_id_b` [INFO] [stdout] --> examples/../examples_common.rs:435:39 [INFO] [stdout] | [INFO] [stdout] 435 | let (object_id_a, object_id_b) = contact_info.object_id_pair(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_object_id_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_simple` is never used [INFO] [stdout] --> examples/../examples_common.rs:508:8 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn run_simple(init: fn(&mut Scene, &mut Handler<()>)) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs: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: `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: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: `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: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: `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: `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: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> examples/../examples_common.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> examples/../examples_common.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> examples/../examples_common.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:250:33 [INFO] [stdout] | [INFO] [stdout] 250 | fn on_mouse_move(&mut self, helper: &mut WindowHelper<()>, position: speedy2d::dimen::Vec2) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> examples/../examples_common.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | helper: &mut WindowHelper<()>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `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: `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: `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: `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: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: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 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: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: `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/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: `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 1m 19s [INFO] running `Command { std: "docker" "inspect" "f6400841a511966c0139b9104b976e4b6d142a33643906a27973062e200c48fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6400841a511966c0139b9104b976e4b6d142a33643906a27973062e200c48fa", kill_on_drop: false }` [INFO] [stdout] f6400841a511966c0139b9104b976e4b6d142a33643906a27973062e200c48fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3d8571d9f81d6c8cf94e45d4a481af2d27426458e81294fee83f3544b4c8d65 [INFO] running `Command { std: "docker" "start" "-a" "d3d8571d9f81d6c8cf94e45d4a481af2d27426458e81294fee83f3544b4c8d65", 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: 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: 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: `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: 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: 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: 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: `picea` (example "newton_cradle") generated 20 warnings [INFO] [stderr] warning: `picea` (example "link") 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 "friction") generated 21 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "cloth") generated 20 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "accumulation") generated 21 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "conservation_of_momentum") 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` (lib test) generated 31 warnings (30 duplicates) [INFO] [stderr] warning: `picea` (example "pit") generated 20 warnings (20 duplicates) [INFO] [stderr] warning: `picea` (example "bridge") generated 19 warnings (19 duplicates) [INFO] [stderr] warning: `picea` (example "stack") generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/picea-aac3ee268e000ffc) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test collision::tests::test_minkowski_point ... ok [INFO] [stdout] test math::axis::tests::test_axis_direction_size ... ok [INFO] [stdout] test shape::utils::tests::test_split_concave_polygon ... ok [INFO] [stdout] test shape::utils::test::test_is_point_inside_shape ... ok [INFO] [stdout] test shape::utils::tests::rotate_test ... 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' (29) 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: 0x58d727e71fc2 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x58d727e71fc2 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x58d727e71fc2 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x58d727e71fc2 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58d727e9477f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x58d727e9477f - core::fmt::write::h21ca93b65a7c281a [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x58d727e5eeb3 - std::io::default_write_fmt::h6f3360f4711e9130 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x58d727e5eeb3 - std::io::Write::write_fmt::hf4539125c0e0bc30 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x58d727e725d2 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x58d727e5d50c - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x58d727e5d384 - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x58d727e0f23e - as core::ops::function::Fn>::call::h04940a86aa899793 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x58d727e0f23e - test::test_main_with_exit_callback::{{closure}}::hca6cc295403b83e8 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x58d727e5e163 - as core::ops::function::Fn>::call::h9d85285925beb538 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x58d727e5e163 - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x58d727e723da - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x58d727e72339 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x58d727e5de0d - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x58d727e9b740 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x58d727dfa4f3 - picea::shape::utils::split_clockwise_concave_polygon_to_two_convex_polygon::hb501b235cf85024a [INFO] [stdout] at /opt/rustwide/workdir/src/shape/utils.rs:461:13 [INFO] [stdout] 20: 0x58d727df99f4 - picea::shape::utils::split_concave_polygon_to_convex_polygons::h3899fd84d7a734bb [INFO] [stdout] at /opt/rustwide/workdir/src/shape/utils.rs:542:36 [INFO] [stdout] 21: 0x58d727df84b5 - picea::shape::utils::tests::test_split_concave_polygon1::hdef8f34122388d5e [INFO] [stdout] at /opt/rustwide/workdir/src/shape/utils.rs:873:9 [INFO] [stdout] 22: 0x58d727df7927 - picea::shape::utils::tests::test_split_concave_polygon1::{{closure}}::h9a659f503bb600b3 [INFO] [stdout] at /opt/rustwide/workdir/src/shape/utils.rs:829:37 [INFO] [stdout] 23: 0x58d727dfb846 - core::ops::function::FnOnce::call_once::hcf969f86a24fee67 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x58d727e102bb - core::ops::function::FnOnce::call_once::h70d190c46966003b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x58d727e102bb - test::__rust_begin_short_backtrace::hb077ccaabb17d2ec [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x58d727e0df25 - test::run_test_in_process::{{closure}}::hd73eeb633a1507bd [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x58d727e0df25 - as core::ops::function::FnOnce<()>>::call_once::h033c82756fc9d192 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x58d727e0df25 - std::panicking::catch_unwind::do_call::h734b44e243d34585 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x58d727e0df25 - std::panicking::catch_unwind::h5e85417122517fb1 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x58d727e0df25 - std::panic::catch_unwind::h0900e58a82a7d188 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x58d727e0df25 - test::run_test_in_process::h27721efd62ae77d0 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x58d727e0df25 - test::run_test::{{closure}}::h8b1264838cc597aa [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x58d727e34e34 - test::run_test::{{closure}}::h6ecb96835e2eae4f [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x58d727e34e34 - std::sys::backtrace::__rust_begin_short_backtrace::h098f38ee82a820a7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x58d727e1ba4a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h042592f748f5e369 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x58d727e1ba4a - as core::ops::function::FnOnce<()>>::call_once::h134fe7f3a2d9ec8d [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x58d727e1ba4a - std::panicking::catch_unwind::do_call::heb87d604f60aee16 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x58d727e1ba4a - std::panicking::catch_unwind::h2203a0f553b89fd7 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x58d727e1ba4a - std::panic::catch_unwind::h4d383e0b0e25d838 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x58d727e1ba4a - std::thread::Builder::spawn_unchecked_::{{closure}}::h76cbdd4635cfd58b [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x58d727e1ba4a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he72e066680f5e267 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x58d727e48c5f - as core::ops::function::FnOnce>::call_once::h1b9c6fea2cbefc68 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x58d727e48c5f - std::sys::pal::unix::thread::Thread::new::thread_start::h92caa992bc760789 [INFO] [stdout] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7aca6bd76aa4 - [INFO] [stdout] 45: 0x7aca6be03a34 - 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.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "d3d8571d9f81d6c8cf94e45d4a481af2d27426458e81294fee83f3544b4c8d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3d8571d9f81d6c8cf94e45d4a481af2d27426458e81294fee83f3544b4c8d65", kill_on_drop: false }` [INFO] [stdout] d3d8571d9f81d6c8cf94e45d4a481af2d27426458e81294fee83f3544b4c8d65