[INFO] cloning repository https://github.com/Shcarp/editing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shcarp/editing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShcarp%2Fediting", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShcarp%2Fediting'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd537261483810270b9f1b50638c56bb52525b43 [INFO] checking Shcarp/editing against master#11d2046fe9962720558cb15f72541f7fd170dec9 for pr-139493-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShcarp%2Fediting" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Shcarp/editing [INFO] finished tweaking git repo https://github.com/Shcarp/editing [INFO] tweaked toml for git repo https://github.com/Shcarp/editing written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Shcarp/editing on toolchain 11d2046fe9962720558cb15f72541f7fd170dec9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Shcarp/editing 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" "+11d2046fe9962720558cb15f72541f7fd170dec9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-timer v0.2.5 [INFO] [stderr] Downloaded threadpool v1.8.1 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.4.5 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.43 [INFO] [stderr] Downloaded parking_lot_core v0.8.6 [INFO] [stderr] Downloaded rs-event-emitter v3.0.3 [INFO] [stderr] Downloaded emitter_all_tuples v0.1.0 [INFO] [stderr] Downloaded minicov v0.3.5 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded bytemuck v1.17.1 [INFO] [stderr] Downloaded safe_arch v0.7.2 [INFO] [stderr] Downloaded wide v0.7.28 [INFO] [stderr] Downloaded glam v0.29.0 [INFO] [stderr] Downloaded nalgebra v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6bd08379834a79a244320b027128d4770cb70b3a509f36a4ff114b3fa9e8d50 [INFO] running `Command { std: "docker" "start" "-a" "a6bd08379834a79a244320b027128d4770cb70b3a509f36a4ff114b3fa9e8d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6bd08379834a79a244320b027128d4770cb70b3a509f36a4ff114b3fa9e8d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6bd08379834a79a244320b027128d4770cb70b3a509f36a4ff114b3fa9e8d50", kill_on_drop: false }` [INFO] [stdout] a6bd08379834a79a244320b027128d4770cb70b3a509f36a4ff114b3fa9e8d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+11d2046fe9962720558cb15f72541f7fd170dec9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69b40c95336a7e6fc0fadcdf1bdded32d2d598e79cbc30e0d017c33bacc87af3 [INFO] running `Command { std: "docker" "start" "-a" "69b40c95336a7e6fc0fadcdf1bdded32d2d598e79cbc30e0d017c33bacc87af3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytemuck v1.17.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking safe_arch v0.7.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking glam v0.29.0 [INFO] [stderr] Checking wide v0.7.28 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Compiling emitter_all_tuples v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling dirty_setter v0.1.0 (/opt/rustwide/workdir/dirty_setter_macro) [INFO] [stderr] Compiling into_static_str v0.1.0 (/opt/rustwide/workdir/into_static_str) [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking rs-event-emitter v3.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking wasm-bindgen v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking nalgebra v0.33.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking wasm-timer v0.2.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking serde-wasm-bindgen v0.4.5 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [INFO] [stderr] Checking graphics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `qwen::*` [INFO] [stdout] --> src/animation.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use qwen::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UpdateBody`, `UpdateMessage`, `UpdateType`, and `get_render_control` [INFO] [stdout] --> src/element/rect.rs:5:160 [INFO] [stdout] | [INFO] [stdout] 5 | ...et_rotation_matrix}, render_control::{get_render_control, UpdateBody, UpdateMessage, UpdateType}, renderer::Renderer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnimationError` and `AnimationValue` [INFO] [stdout] --> src/element.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::animation::{AnimationError, AnimationValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `window` [INFO] [stdout] --> src/lib.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use web_sys::{console, window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/events.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen::prelude::__wasm_bindgen_class_marker` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `qwen::*` [INFO] [stdout] --> src/animation.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub use qwen::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/app.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UpdateBody`, `UpdateMessage`, `UpdateType`, and `get_render_control` [INFO] [stdout] --> src/element/rect.rs:5:160 [INFO] [stdout] | [INFO] [stdout] 5 | ...et_rotation_matrix}, render_control::{get_render_control, UpdateBody, UpdateMessage, UpdateType}, renderer::Renderer [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnimationError` and `AnimationValue` [INFO] [stdout] --> src/element.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::animation::{AnimationError, AnimationValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `window` [INFO] [stdout] --> src/lib.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use web_sys::{console, window}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_values` [INFO] [stdout] --> src/animation/qwen.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | current_values: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/animation.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_properties(&self, properties: &[String]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/animation.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> src/animation.rs:152:49 [INFO] [stdout] | [INFO] [stdout] 152 | AnimationStatus::InProgress(progress) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_values` [INFO] [stdout] --> src/animation/qwen.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | current_values: &HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_values` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/animation.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_properties(&self, properties: &[String]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/animation.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | properties: HashMap, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_properties` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> src/animation.rs:152:49 [INFO] [stdout] | [INFO] [stdout] 152 | AnimationStatus::InProgress(progress) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/element.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | fn on(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/element.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | fn on(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/element.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | fn off(&mut self, event_type: EventType) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/element.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | fn emit(&mut self, event_type: EventType) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/element.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | fn once(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/element.rs:190:47 [INFO] [stdout] | [INFO] [stdout] 190 | fn once(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/element.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | fn on(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/element.rs:178:45 [INFO] [stdout] | [INFO] [stdout] 178 | fn on(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/element.rs:182:23 [INFO] [stdout] | [INFO] [stdout] 182 | fn off(&mut self, event_type: EventType) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/element.rs:186:24 [INFO] [stdout] | [INFO] [stdout] 186 | fn emit(&mut self, event_type: EventType) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_type` [INFO] [stdout] --> src/element.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | fn once(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/element.rs:190:47 [INFO] [stdout] | [INFO] [stdout] 190 | fn once(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/lib.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | *g.borrow_mut() = Some(Closure::wrap(Box::new(move |timestamp: f64| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnimationValue` is never used [INFO] [stdout] --> src/animation.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum AnimationValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_properties`, `set_properties`, and `is_animatable` are never used [INFO] [stdout] --> src/animation.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Animatable { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 28 | fn get_properties(&self, properties: &[String]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn set_properties( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn is_animatable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AnimatableExt` is never used [INFO] [stdout] --> src/animation.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait AnimatableExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnimationError` is never used [INFO] [stdout] --> src/animation.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum AnimationError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnimationStatus` is never used [INFO] [stdout] --> src/animation.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum AnimationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Animation` is never used [INFO] [stdout] --> src/animation.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub trait Animation: Debug { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimationEntry` is never constructed [INFO] [stdout] --> src/animation.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct AnimationEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimationManager` is never constructed [INFO] [stdout] --> src/animation.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct AnimationManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/animation.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl AnimationManager { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 97 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn add_animation(&mut self, object_id: String, animation: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn queue_animation(&mut self, object_id: String, animation: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_active_animation_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn clear_all_animations(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn listen(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn sender(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QwenAnimation` is never constructed [INFO] [stdout] --> src/animation/qwen.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QwenAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_easing` are never used [INFO] [stdout] --> src/animation/qwen.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl QwenAnimation { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 92 | fn new(duration: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn set_easing(&mut self, easing: Box f64 >) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QwenAnimationBuilder` is never constructed [INFO] [stdout] --> src/animation/qwen.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct QwenAnimationBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_property`, `set_easing`, and `build` are never used [INFO] [stdout] --> src/animation/qwen.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl QwenAnimationBuilder { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(duration: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn add_property(mut self, name: &str, start: AnimationValue, end: AnimationValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_easing(mut self, easing: Box f64 >) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn build(self) -> QwenAnimation { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_support_type` and `reset_to_initial_state` are never used [INFO] [stdout] --> src/app.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_support_type(&self, context_type: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn reset_to_initial_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/app.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn remove(&self, id: &str) -> Option>>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get(&self, id: &str) -> Option>>> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn contains(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn get_objects(&self) -> Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoundingBox` is never constructed [INFO] [stdout] --> src/bounding_box.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_color_by_id` is never used [INFO] [stdout] --> src/element.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ObjectId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_color_by_id(id: &str) -> Option<[u8; 4]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/element.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait Transformable { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_center(&self) -> (f64, f64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 89 | [INFO] [stdout] 90 | fn set_rotation(&mut self, angle_degrees: f64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 91 | fn set_position(&mut self, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | fn set_scale(&mut self, sx: f64, sy: f64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | fn set_skew(&mut self, skew_x: f64, skew_y: f64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | fn apply_transform(&mut self, transform: na::Matrix1x6); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | fn get_rotation(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 96 | fn get_position(&self) -> (f64, f64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 97 | fn get_scale(&self) -> (f64, f64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 98 | [INFO] [stdout] 99 | fn reset_transform(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_dirty`, `set_dirty_flag`, and `is_dirty` are never used [INFO] [stdout] --> src/element.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub trait Dirty { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 105 | fn set_dirty(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | fn set_dirty_flag(&mut self, is_dirty: bool); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 107 | fn is_dirty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BaseEventType` is never used [INFO] [stdout] --> src/element.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | pub enum BaseEventType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementEvent` is never used [INFO] [stdout] --> src/element.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | pub trait ElementEvent: Any + Debug { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> src/element.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum EventType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on`, `off`, `emit`, `once`, and `event_names` are never used [INFO] [stdout] --> src/element.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub trait Eventable { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 178 | fn on(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn off(&mut self, event_type: EventType) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn emit(&mut self, event_type: EventType) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn once(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn event_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `detach` are never used [INFO] [stdout] --> src/element.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait Renderable: Debug + Transformable + Dirty + Eventable + Any + Animatable { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 203 | fn update(&mut self, data: Value); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn detach(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RenderContainer` is never used [INFO] [stdout] --> src/element.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait RenderContainer: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Collidable` is never used [INFO] [stdout] --> src/element.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | pub trait Collidable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_renderable` is never used [INFO] [stdout] --> src/element.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn is_renderable() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_transformable` is never used [INFO] [stdout] --> src/element.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn is_transformable() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_render_container` is never used [INFO] [stdout] --> src/element.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn is_render_container() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_collidable` is never used [INFO] [stdout] --> src/element.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn is_collidable() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectUpdateBoadyData` is never constructed [INFO] [stdout] --> src/element/rect.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | struct RectUpdateBoadyData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventManager` is never constructed [INFO] [stdout] --> src/event_manager.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct EventManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_listener`, `remove_listener`, and `trigger` are never used [INFO] [stdout] --> src/event_manager.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl EventManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn add_listener(&mut self, event_type: &str, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn remove_listener(&mut self, event_type: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn trigger(&self, event_type: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_listener`, `remove_listener`, `clear_listeners`, and `get_listener_count` are never used [INFO] [stdout] --> src/events.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl EventSystem { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_listener(&self, event_name: &str, callback: &Function) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn remove_listener(&self, event_name: &str, callback: &Function) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear_listeners(&self, event_name: &str) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_listener_count(&self, event_name: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_svg_matrix` is never used [INFO] [stdout] --> src/helper.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create_svg_matrix() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_temporary_svg` is never used [INFO] [stdout] --> src/helper.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn create_temporary_svg(document: &Document) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_if_needed` is never used [INFO] [stdout] --> src/helper.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn normalize_if_needed(mut matrix: na::Matrix1x6) -> na::Matrix1x6 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_3x3_if_needed` is never used [INFO] [stdout] --> src/helper.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn normalize_3x3_if_needed(mut matrix: na::Matrix3) -> na::Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrice` is never used [INFO] [stdout] --> src/helper.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn print_matrice(name: &str, matrix: na::Matrix1x6) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrix_3x3` is never used [INFO] [stdout] --> src/helper.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn print_matrix_3x3(name: &str, matrix: na::Matrix3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_element` is never used [INFO] [stdout] --> src/helper.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn create_element(element_type: &str, data: &Value) -> Result, JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear` is never used [INFO] [stdout] --> src/helper.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn linear(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_quad` is never used [INFO] [stdout] --> src/helper.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn ease_in_quad(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_out_quad` is never used [INFO] [stdout] --> src/helper.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn ease_out_quad(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_out_quad` is never used [INFO] [stdout] --> src/helper.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn ease_in_out_quad(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_cubic` is never used [INFO] [stdout] --> src/helper.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn ease_in_cubic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_out_cubic` is never used [INFO] [stdout] --> src/helper.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn ease_out_cubic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_out_cubic` is never used [INFO] [stdout] --> src/helper.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn ease_in_out_cubic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_elastic` is never used [INFO] [stdout] --> src/helper.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn ease_in_elastic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_out_elastic` is never used [INFO] [stdout] --> src/helper.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn ease_out_elastic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ImageSource` is never used [INFO] [stdout] --> src/image.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ImageSource { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImageDataSource` is never used [INFO] [stdout] --> src/image.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ImageDataSource<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image` is never constructed [INFO] [stdout] --> src/image.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Image<'a>(ImageDataSource<'a>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_html_image_element`, and `as_html_canvas_element` are never used [INFO] [stdout] --> src/image.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> Image<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 38 | pub fn new>>(source: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn as_html_image_element(&self) -> HtmlImageElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn as_html_canvas_element(&self) -> HtmlCanvasElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoCanvas` is never used [INFO] [stdout] --> src/image.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub trait IntoCanvas { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoImage` is never used [INFO] [stdout] --> src/image.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | pub trait IntoImage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_update` and `position` are never read [INFO] [stdout] --> src/object_manager.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct ObjectData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | object: Rc>>, [INFO] [stdout] 15 | last_update: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | position: DVec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/object_manager.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ObjectManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn remove(&mut self, id: &str) -> Option>>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn contains(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn iter(&self) -> impl Iterator>>)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_animatables(&self) -> Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn update_object_from_message(&mut self, messages: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn update_object(&mut self, id: String, data: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INIT` is never used [INFO] [stdout] --> src/render_control.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static INIT: Once = Once::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLOBAL_RENDER_CONTROL` is never used [INFO] [stdout] --> src/render_control.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | static mut GLOBAL_RENDER_CONTROL: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_render_control` is never used [INFO] [stdout] --> src/render_control.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_render_control() -> &'static mut RenderControl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderControl` is never constructed [INFO] [stdout] --> src/render_control.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RenderControl { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_message`, `flush_if_needed`, `flush`, and `receive_messages` are never used [INFO] [stdout] --> src/render_control.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl RenderControl { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn add_message(&mut self, message: UpdateMessage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn flush_if_needed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn receive_messages(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UpdateType` is never used [INFO] [stdout] --> src/render_control.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum UpdateType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UpdateMessage` is never used [INFO] [stdout] --> src/render_control.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum UpdateMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateBody` is never constructed [INFO] [stdout] --> src/render_control.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct UpdateBody { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render_control.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UpdateBody { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 123 | pub fn new(update_type: UpdateType, data: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/renderer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Renderer: Debug { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 12 | // 清除方法 [INFO] [stdout] 13 | fn clear(&self, x: f64, y: f64, width: f64, height: f64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn draw_circle(&self, x: f64, y: f64, radius: f64, color: &str); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | fn draw_ellipse(&self, x: f64, y: f64, radius_x: f64, radius_y: f64, color: &str); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | fn draw_line(&self, x1: f64, y1: f64, x2: f64, y2: f64, color: &str, width: f64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | fn draw_polygon(&self, points: &[f64], color: &str); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn begin_path(&self); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | fn move_to(&self, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | fn line_to(&self, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | fn bezier_curve_to(&self, cp1x: f64, cp1y: f64, cp2x: f64, cp2y: f64, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | fn quadratic_curve_to(&self, cpx: f64, cpy: f64, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | fn arc(&self, x: f64, y: f64, radius: f64, start_angle: f64, end_angle: f64); [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | fn arc_to(&self, x1: f64, y1: f64, x2: f64, y2: f64, radius: f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | fn close_path(&self); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | fn stroke(&self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | fn fill(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn fill_text(&self, text: &str, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | fn stroke_text(&self, text: &str, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | fn measure_text(&self, text: &str) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn draw_image(&self, image: &Image, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | fn draw_image_with_size(&self, image: &Image, x: f64, y: f64, width: f64, height: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | fn draw_image_clip( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn set_transform(&self, a: f64, b: f64, c: f64, d: f64, e: f64, f: f64); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn rotate(&self, angle: f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn set_fill_style(&self, style: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn set_line_cap(&self, cap: LineCap); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | fn set_line_join(&self, join: LineJoin); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 73 | fn set_miter_limit(&self, limit: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | fn set_shadow_color(&self, color: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | fn set_shadow_blur(&self, blur: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | fn set_shadow_offset_x(&self, offset: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | fn set_shadow_offset_y(&self, offset: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | fn set_font(&self, font: &str); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | fn set_text_align(&self, align: TextAlign); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | fn set_text_baseline(&self, baseline: TextBaseline); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | fn set_global_alpha(&self, alpha: f64); [INFO] [stdout] 82 | fn set_global_composite_operation(&self, operation: CompositeOperation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn create_linear_gradient(&self, x0: f64, y0: f64, x1: f64, y1: f64) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | fn create_radial_gradient( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn create_pattern(&self, image: &Image, repetition: PatternRepetition) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn put_image_data(&self, image_data: &ImageData, dx: f64, dy: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Gradient` is never used [INFO] [stdout] --> src/renderer.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait Gradient { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pattern` is never used [INFO] [stdout] --> src/renderer.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | pub trait Pattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_update` is never read [INFO] [stdout] --> src/scene_manager.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SceneManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | last_update: Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SceneManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/scene_manager.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl SceneManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_offset(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn set_rotation(&mut self, rotation: f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn pan(&mut self, dx: f64, dy: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn zoom_at(&mut self, x: f64, y: f64, factor: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn reset_transform(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_height(&mut self, height: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn set_width(&mut self, width: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn set_dpr(&mut self, dpr: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `detach`, `update_scene`, and `reset_to_initial_state` are never used [INFO] [stdout] --> src/scene_manager.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl SceneManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn detach(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn update_scene(&mut self, data: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn reset_to_initial_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_time` is never used [INFO] [stdout] --> src/scene_manager.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 402 | impl SceneManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn update_time(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `undo_data`, `redo_data`, and `timestamp` are never read [INFO] [stdout] --> src/history.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ObjectHistoryItem { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 11 | pub undo_data: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub redo_data: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectHistoryItem` 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 function `new` is never used [INFO] [stdout] --> src/history.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ObjectHistoryItem { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(object_id: String, undo_data: Value, redo_data: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `undo_data`, `redo_data`, and `timestamp` are never read [INFO] [stdout] --> src/history.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SceneHistoryItem { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 30 | pub undo_data: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub redo_data: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SceneHistoryItem` 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: fields `element_type`, `element_data`, and `timestamp` are never read [INFO] [stdout] --> src/history.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ElementHistoryItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 47 | pub element_id: String, [INFO] [stdout] 48 | pub element_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | pub element_data: Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementHistoryItem` 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: field `0` is never read [INFO] [stdout] --> src/history.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | SceneUpdate(SceneHistoryItem), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HistoryItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - SceneUpdate(SceneHistoryItem), [INFO] [stdout] 67 + SceneUpdate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ObjectUpdate` and `RemoveElement` are never constructed [INFO] [stdout] --> src/history.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum HistoryItem { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 66 | ObjectUpdate(ObjectHistoryItem), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | RemoveElement(ElementHistoryItem), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/history.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl History { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | fn apply_history_unit(&self, app: &App, unit: &HistoryUnit, is_undo: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn undo(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn redo(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn undo_to_time(&mut self, target_time: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn redo_to_time(&mut self, target_time: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn apply_operations_to_current_state(&self, app: &App, operations: &[HistoryUnit], is_undo: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/element.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | if !ID_COLOR_MAP.1.contains_key(&color_id) { [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/element.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | ID_COLOR_MAP.0.insert(id.to_string(), color_id); [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] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/element.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | ID_COLOR_MAP.1.insert(color_id, id.to_string()); [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] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/element.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe { ID_COLOR_MAP.1.get(&color).cloned() } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/element.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { ID_COLOR_MAP.0.get(id).cloned() } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/events.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | GLOBAL_EVENT_SYSTEM.as_ref().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/render_control.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | GLOBAL_RENDER_CONTROL.as_mut().unwrap() [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] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/lib.rs:62:65 [INFO] [stdout] | [INFO] [stdout] 62 | *g.borrow_mut() = Some(Closure::wrap(Box::new(move |timestamp: f64| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnimationValue` is never used [INFO] [stdout] --> src/animation.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum AnimationValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_properties`, `set_properties`, and `is_animatable` are never used [INFO] [stdout] --> src/animation.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Animatable { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 28 | fn get_properties(&self, properties: &[String]) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn set_properties( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn is_animatable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AnimatableExt` is never used [INFO] [stdout] --> src/animation.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait AnimatableExt { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnimationError` is never used [INFO] [stdout] --> src/animation.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum AnimationError { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AnimationStatus` is never used [INFO] [stdout] --> src/animation.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | pub enum AnimationStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Animation` is never used [INFO] [stdout] --> src/animation.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub trait Animation: Debug { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimationEntry` is never constructed [INFO] [stdout] --> src/animation.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | struct AnimationEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AnimationManager` is never constructed [INFO] [stdout] --> src/animation.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct AnimationManager { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/animation.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 96 | impl AnimationManager { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 97 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn add_animation(&mut self, object_id: String, animation: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn queue_animation(&mut self, object_id: String, animation: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn get_active_animation_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn clear_all_animations(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn listen(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn sender(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QwenAnimation` is never constructed [INFO] [stdout] --> src/animation/qwen.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct QwenAnimation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_easing` are never used [INFO] [stdout] --> src/animation/qwen.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 91 | impl QwenAnimation { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 92 | fn new(duration: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn set_easing(&mut self, easing: Box f64 >) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QwenAnimationBuilder` is never constructed [INFO] [stdout] --> src/animation/qwen.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub struct QwenAnimationBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_property`, `set_easing`, and `build` are never used [INFO] [stdout] --> src/animation/qwen.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 112 | impl QwenAnimationBuilder { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 113 | pub fn new(duration: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn add_property(mut self, name: &str, start: AnimationValue, end: AnimationValue) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn set_easing(mut self, easing: Box f64 >) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn build(self) -> QwenAnimation { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_support_type` and `reset_to_initial_state` are never used [INFO] [stdout] --> src/app.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn is_support_type(&self, context_type: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn reset_to_initial_state(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/app.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl App { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn remove(&self, id: &str) -> Option>>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn get(&self, id: &str) -> Option>>> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn contains(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn get_objects(&self) -> Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BoundingBox` is never constructed [INFO] [stdout] --> src/bounding_box.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct BoundingBox { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_color_by_id` is never used [INFO] [stdout] --> src/element.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl ObjectId { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn get_color_by_id(id: &str) -> Option<[u8; 4]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/element.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait Transformable { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_center(&self) -> (f64, f64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 89 | [INFO] [stdout] 90 | fn set_rotation(&mut self, angle_degrees: f64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 91 | fn set_position(&mut self, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | fn set_scale(&mut self, sx: f64, sy: f64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 93 | fn set_skew(&mut self, skew_x: f64, skew_y: f64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | fn apply_transform(&mut self, transform: na::Matrix1x6); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 95 | fn get_rotation(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 96 | fn get_position(&self) -> (f64, f64); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 97 | fn get_scale(&self) -> (f64, f64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 98 | [INFO] [stdout] 99 | fn reset_transform(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_dirty`, `set_dirty_flag`, and `is_dirty` are never used [INFO] [stdout] --> src/element.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub trait Dirty { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 105 | fn set_dirty(&mut self); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 106 | fn set_dirty_flag(&mut self, is_dirty: bool); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 107 | fn is_dirty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BaseEventType` is never used [INFO] [stdout] --> src/element.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | pub enum BaseEventType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ElementEvent` is never used [INFO] [stdout] --> src/element.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | pub trait ElementEvent: Any + Debug { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EventType` is never used [INFO] [stdout] --> src/element.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | pub enum EventType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `on`, `off`, `emit`, `once`, and `event_names` are never used [INFO] [stdout] --> src/element.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub trait Eventable { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 178 | fn on(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn off(&mut self, event_type: EventType) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | fn emit(&mut self, event_type: EventType) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn once(&mut self, event_type: EventType, callback: Box) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn event_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update` and `detach` are never used [INFO] [stdout] --> src/element.rs:203:8 [INFO] [stdout] | [INFO] [stdout] 200 | pub trait Renderable: Debug + Transformable + Dirty + Eventable + Any + Animatable { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 203 | fn update(&mut self, data: Value); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | fn detach(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RenderContainer` is never used [INFO] [stdout] --> src/element.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 217 | pub trait RenderContainer: Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Collidable` is never used [INFO] [stdout] --> src/element.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | pub trait Collidable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_renderable` is never used [INFO] [stdout] --> src/element.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn is_renderable() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_transformable` is never used [INFO] [stdout] --> src/element.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn is_transformable() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_render_container` is never used [INFO] [stdout] --> src/element.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn is_render_container() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_collidable` is never used [INFO] [stdout] --> src/element.rs:246:8 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn is_collidable() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RectUpdateBoadyData` is never constructed [INFO] [stdout] --> src/element/rect.rs:142:8 [INFO] [stdout] | [INFO] [stdout] 142 | struct RectUpdateBoadyData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventManager` is never constructed [INFO] [stdout] --> src/event_manager.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct EventManager { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_listener`, `remove_listener`, and `trigger` are never used [INFO] [stdout] --> src/event_manager.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl EventManager { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn add_listener(&mut self, event_type: &str, callback: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn remove_listener(&mut self, event_type: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn trigger(&self, event_type: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_listener`, `remove_listener`, `clear_listeners`, and `get_listener_count` are never used [INFO] [stdout] --> src/events.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl EventSystem { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn add_listener(&self, event_name: &str, callback: &Function) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn remove_listener(&self, event_name: &str, callback: &Function) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn clear_listeners(&self, event_name: &str) -> Result<(), JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn get_listener_count(&self, event_name: &str) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_svg_matrix` is never used [INFO] [stdout] --> src/helper.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create_svg_matrix() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_temporary_svg` is never used [INFO] [stdout] --> src/helper.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn create_temporary_svg(document: &Document) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_if_needed` is never used [INFO] [stdout] --> src/helper.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn normalize_if_needed(mut matrix: na::Matrix1x6) -> na::Matrix1x6 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_3x3_if_needed` is never used [INFO] [stdout] --> src/helper.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn normalize_3x3_if_needed(mut matrix: na::Matrix3) -> na::Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrice` is never used [INFO] [stdout] --> src/helper.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn print_matrice(name: &str, matrix: na::Matrix1x6) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_matrix_3x3` is never used [INFO] [stdout] --> src/helper.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn print_matrix_3x3(name: &str, matrix: na::Matrix3) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_element` is never used [INFO] [stdout] --> src/helper.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn create_element(element_type: &str, data: &Value) -> Result, JsValue> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linear` is never used [INFO] [stdout] --> src/helper.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn linear(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_quad` is never used [INFO] [stdout] --> src/helper.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn ease_in_quad(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_out_quad` is never used [INFO] [stdout] --> src/helper.rs:223:12 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn ease_out_quad(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_out_quad` is never used [INFO] [stdout] --> src/helper.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn ease_in_out_quad(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_cubic` is never used [INFO] [stdout] --> src/helper.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn ease_in_cubic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_out_cubic` is never used [INFO] [stdout] --> src/helper.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn ease_out_cubic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_out_cubic` is never used [INFO] [stdout] --> src/helper.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | pub fn ease_in_out_cubic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_in_elastic` is never used [INFO] [stdout] --> src/helper.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn ease_in_elastic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ease_out_elastic` is never used [INFO] [stdout] --> src/helper.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn ease_out_elastic(t: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ImageSource` is never used [INFO] [stdout] --> src/image.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ImageSource { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImageDataSource` is never used [INFO] [stdout] --> src/image.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum ImageDataSource<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image` is never constructed [INFO] [stdout] --> src/image.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Image<'a>(ImageDataSource<'a>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `as_html_image_element`, and `as_html_canvas_element` are never used [INFO] [stdout] --> src/image.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> Image<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 38 | pub fn new>>(source: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn as_html_image_element(&self) -> HtmlImageElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn as_html_canvas_element(&self) -> HtmlCanvasElement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoCanvas` is never used [INFO] [stdout] --> src/image.rs:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | pub trait IntoCanvas { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoImage` is never used [INFO] [stdout] --> src/image.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | pub trait IntoImage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_update` and `position` are never read [INFO] [stdout] --> src/object_manager.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | struct ObjectData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 14 | object: Rc>>, [INFO] [stdout] 15 | last_update: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | position: DVec2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/object_manager.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ObjectManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn remove(&mut self, id: &str) -> Option>>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn contains(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn iter(&self) -> impl Iterator>>)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get_animatables(&self) -> Vec>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn update_object_from_message(&mut self, messages: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn update_object(&mut self, id: String, data: Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INIT` is never used [INFO] [stdout] --> src/render_control.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static INIT: Once = Once::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GLOBAL_RENDER_CONTROL` is never used [INFO] [stdout] --> src/render_control.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | static mut GLOBAL_RENDER_CONTROL: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_render_control` is never used [INFO] [stdout] --> src/render_control.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_render_control() -> &'static mut RenderControl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RenderControl` is never constructed [INFO] [stdout] --> src/render_control.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct RenderControl { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_message`, `flush_if_needed`, `flush`, and `receive_messages` are never used [INFO] [stdout] --> src/render_control.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl RenderControl { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn add_message(&mut self, message: UpdateMessage) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn flush_if_needed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn flush(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub async fn receive_messages(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UpdateType` is never used [INFO] [stdout] --> src/render_control.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | pub enum UpdateType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UpdateMessage` is never used [INFO] [stdout] --> src/render_control.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum UpdateMessage { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UpdateBody` is never constructed [INFO] [stdout] --> src/render_control.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct UpdateBody { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/render_control.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl UpdateBody { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 123 | pub fn new(update_type: UpdateType, data: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/renderer.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Renderer: Debug { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 12 | // 清除方法 [INFO] [stdout] 13 | fn clear(&self, x: f64, y: f64, width: f64, height: f64); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn draw_circle(&self, x: f64, y: f64, radius: f64, color: &str); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | fn draw_ellipse(&self, x: f64, y: f64, radius_x: f64, radius_y: f64, color: &str); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | fn draw_line(&self, x1: f64, y1: f64, x2: f64, y2: f64, color: &str, width: f64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | fn draw_polygon(&self, points: &[f64], color: &str); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn begin_path(&self); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | fn move_to(&self, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 26 | fn line_to(&self, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | fn bezier_curve_to(&self, cp1x: f64, cp1y: f64, cp2x: f64, cp2y: f64, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | fn quadratic_curve_to(&self, cpx: f64, cpy: f64, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | fn arc(&self, x: f64, y: f64, radius: f64, start_angle: f64, end_angle: f64); [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | fn arc_to(&self, x1: f64, y1: f64, x2: f64, y2: f64, radius: f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | fn close_path(&self); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | fn stroke(&self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | fn fill(&self); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn fill_text(&self, text: &str, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | fn stroke_text(&self, text: &str, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | fn measure_text(&self, text: &str) -> f64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn draw_image(&self, image: &Image, x: f64, y: f64); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 44 | fn draw_image_with_size(&self, image: &Image, x: f64, y: f64, width: f64, height: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | fn draw_image_clip( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn set_transform(&self, a: f64, b: f64, c: f64, d: f64, e: f64, f: f64); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn rotate(&self, angle: f64); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn set_fill_style(&self, style: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn set_line_cap(&self, cap: LineCap); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | fn set_line_join(&self, join: LineJoin); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 73 | fn set_miter_limit(&self, limit: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | fn set_shadow_color(&self, color: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 75 | fn set_shadow_blur(&self, blur: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 76 | fn set_shadow_offset_x(&self, offset: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | fn set_shadow_offset_y(&self, offset: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | fn set_font(&self, font: &str); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 79 | fn set_text_align(&self, align: TextAlign); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 80 | fn set_text_baseline(&self, baseline: TextBaseline); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | fn set_global_alpha(&self, alpha: f64); [INFO] [stdout] 82 | fn set_global_composite_operation(&self, operation: CompositeOperation); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn create_linear_gradient(&self, x0: f64, y0: f64, x1: f64, y1: f64) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | fn create_radial_gradient( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn create_pattern(&self, image: &Image, repetition: PatternRepetition) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn put_image_data(&self, image_data: &ImageData, dx: f64, dy: f64); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Gradient` is never used [INFO] [stdout] --> src/renderer.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait Gradient { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Pattern` is never used [INFO] [stdout] --> src/renderer.rs:114:11 [INFO] [stdout] | [INFO] [stdout] 114 | pub trait Pattern { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_update` is never read [INFO] [stdout] --> src/scene_manager.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct SceneManager { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | last_update: Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SceneManager` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/scene_manager.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl SceneManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn set_offset(&mut self, x: f64, y: f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn set_rotation(&mut self, rotation: f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn pan(&mut self, dx: f64, dy: f64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn zoom_at(&mut self, x: f64, y: f64, factor: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn reset_transform(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | pub fn set_height(&mut self, height: u32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn set_width(&mut self, width: u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn set_dpr(&mut self, dpr: f64) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `detach`, `update_scene`, and `reset_to_initial_state` are never used [INFO] [stdout] --> src/scene_manager.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 250 | impl SceneManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 286 | pub fn detach(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn update_scene(&mut self, data: Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub fn reset_to_initial_state(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_time` is never used [INFO] [stdout] --> src/scene_manager.rs:483:12 [INFO] [stdout] | [INFO] [stdout] 402 | impl SceneManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 483 | pub fn update_time(&mut self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `undo_data`, `redo_data`, and `timestamp` are never read [INFO] [stdout] --> src/history.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ObjectHistoryItem { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 11 | pub undo_data: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | pub redo_data: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectHistoryItem` 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 function `new` is never used [INFO] [stdout] --> src/history.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ObjectHistoryItem { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 18 | pub fn new(object_id: String, undo_data: Value, redo_data: Value) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `undo_data`, `redo_data`, and `timestamp` are never read [INFO] [stdout] --> src/history.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct SceneHistoryItem { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 30 | pub undo_data: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub redo_data: Value, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SceneHistoryItem` 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: fields `element_type`, `element_data`, and `timestamp` are never read [INFO] [stdout] --> src/history.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct ElementHistoryItem { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 47 | pub element_id: String, [INFO] [stdout] 48 | pub element_type: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | pub element_data: Value, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | pub timestamp: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementHistoryItem` 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: field `0` is never read [INFO] [stdout] --> src/history.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | SceneUpdate(SceneHistoryItem), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `HistoryItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 67 - SceneUpdate(SceneHistoryItem), [INFO] [stdout] 67 + SceneUpdate(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ObjectUpdate` and `RemoveElement` are never constructed [INFO] [stdout] --> src/history.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum HistoryItem { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 66 | ObjectUpdate(ObjectHistoryItem), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | RemoveElement(ElementHistoryItem), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/history.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 125 | impl History { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | fn apply_history_unit(&self, app: &App, unit: &HistoryUnit, is_undo: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn undo(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn redo(&mut self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn undo_to_time(&mut self, target_time: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn redo_to_time(&mut self, target_time: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn apply_operations_to_current_state(&self, app: &App, operations: &[HistoryUnit], is_undo: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 343 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 347 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/element.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | if !ID_COLOR_MAP.1.contains_key(&color_id) { [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/element.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | ID_COLOR_MAP.0.insert(id.to_string(), color_id); [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] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/element.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | ID_COLOR_MAP.1.insert(color_id, id.to_string()); [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] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/element.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | unsafe { ID_COLOR_MAP.1.get(&color).cloned() } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/element.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | unsafe { ID_COLOR_MAP.0.get(id).cloned() } [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/events.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | GLOBAL_EVENT_SYSTEM.as_ref().unwrap() [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/render_control.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | GLOBAL_RENDER_CONTROL.as_mut().unwrap() [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 55.14s [INFO] running `Command { std: "docker" "inspect" "69b40c95336a7e6fc0fadcdf1bdded32d2d598e79cbc30e0d017c33bacc87af3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69b40c95336a7e6fc0fadcdf1bdded32d2d598e79cbc30e0d017c33bacc87af3", kill_on_drop: false }` [INFO] [stdout] 69b40c95336a7e6fc0fadcdf1bdded32d2d598e79cbc30e0d017c33bacc87af3