[INFO] cloning repository https://github.com/erlingto/Rusten [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erlingto/Rusten" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferlingto%2FRusten", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferlingto%2FRusten'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84c7c1752227e298a09564ae08b00f5ba758cdc8 [INFO] checking erlingto/Rusten against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferlingto%2FRusten" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erlingto/Rusten on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erlingto/Rusten [INFO] finished tweaking git repo https://github.com/erlingto/Rusten [INFO] tweaked toml for git repo https://github.com/erlingto/Rusten written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erlingto/Rusten 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leptos_server v0.6.4 [INFO] [stderr] Downloaded server_fn_macro v0.6.4 [INFO] [stderr] Downloaded server_fn_macro_default v0.6.4 [INFO] [stderr] Downloaded server_fn v0.6.4 [INFO] [stderr] Downloaded styled v0.2.0 [INFO] [stderr] Downloaded leptos_reactive v0.6.4 [INFO] [stderr] Downloaded leptos-use v0.10.0 [INFO] [stderr] Downloaded console_log v0.1.2 [INFO] [stderr] Downloaded default-struct-builder v0.5.0 [INFO] [stderr] Downloaded leptos_config v0.6.4 [INFO] [stderr] Downloaded leptos_dom v0.6.4 [INFO] [stderr] Downloaded leptos_hot_reload v0.6.4 [INFO] [stderr] Downloaded leptos_macro v0.6.4 [INFO] [stderr] Downloaded leptos v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 404082a176fe9e940ae6f5cb15e8cc2c95ae874dbc875c541a9d6f23944bd724 [INFO] running `Command { std: "docker" "start" "-a" "404082a176fe9e940ae6f5cb15e8cc2c95ae874dbc875c541a9d6f23944bd724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "404082a176fe9e940ae6f5cb15e8cc2c95ae874dbc875c541a9d6f23944bd724", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "404082a176fe9e940ae6f5cb15e8cc2c95ae874dbc875c541a9d6f23944bd724", kill_on_drop: false }` [INFO] [stdout] 404082a176fe9e940ae6f5cb15e8cc2c95ae874dbc875c541a9d6f23944bd724 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e17fe09d3da8730abc78f56d79f78ccb37f6aa3707d3038f6249f587fdf695e5 [INFO] running `Command { std: "docker" "start" "-a" "e17fe09d3da8730abc78f56d79f78ccb37f6aa3707d3038f6249f587fdf695e5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling xxhash-rust v0.8.8 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling camino v1.1.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking indexmap v2.2.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Checking self_cell v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling manyhow-macros v0.8.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Checking pad-adapter v0.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling manyhow v0.8.1 [INFO] [stderr] Compiling server_fn_macro v0.6.4 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.4 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling typed-builder-macro v0.18.1 [INFO] [stderr] Compiling async-recursion v1.0.5 [INFO] [stderr] Compiling server_fn_macro_default v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Compiling quote-use-macros v0.7.2 [INFO] [stderr] Checking typed-builder v0.18.1 [INFO] [stderr] Checking pin-project v1.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling default-struct-builder v0.5.0 [INFO] [stderr] Compiling quote-use v0.7.2 [INFO] [stderr] Compiling attribute-derive-macro v0.8.1 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling attribute-derive v0.8.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.40 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.3 [INFO] [stderr] Checking stylist-core v0.13.0 [INFO] [stderr] Compiling server_fn_macro v0.5.7 [INFO] [stderr] Compiling leptos_hot_reload v0.5.7 [INFO] [stderr] Compiling leptos_hot_reload v0.6.4 [INFO] [stderr] Checking leptos_reactive v0.5.7 [INFO] [stderr] Compiling server_fn_macro_default v0.5.7 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Compiling leptos_macro v0.5.7 [INFO] [stderr] Compiling leptos_macro v0.6.4 [INFO] [stderr] Compiling stylist-macros v0.13.0 [INFO] [stderr] Checking leptos_config v0.5.7 [INFO] [stderr] Checking leptos_config v0.6.4 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Checking server_fn v0.5.7 [INFO] [stderr] Checking leptos_server v0.5.7 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.0 [INFO] [stderr] Checking leptos_reactive v0.6.4 [INFO] [stderr] Checking leptos_dom v0.5.7 [INFO] [stderr] Checking stylist v0.13.0 [INFO] [stderr] Checking console_log v0.1.2 [INFO] [stderr] Checking gloo-net v0.5.0 [INFO] [stderr] Checking server_fn v0.6.4 [INFO] [stderr] Checking leptos_server v0.6.4 [INFO] [stderr] Checking leptos_dom v0.6.4 [INFO] [stderr] Checking leptos v0.5.7 [INFO] [stderr] Checking leptos_meta v0.5.7 [INFO] [stderr] Checking styled v0.2.0 [INFO] [stderr] Checking leptos v0.6.4 [INFO] [stderr] Checking leptos-use v0.10.0 [INFO] [stderr] Checking RustenV2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `leptos_use::core::Position` [INFO] [stdout] --> src/app/components/diagramTextBox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use leptos_use::core::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveBoxAttribute::MoveBoxAttribute` [INFO] [stdout] --> src/app/components/diagramTextBox.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | MoveBoxAttribute::MoveBoxAttribute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/app/helpers/orderFunctions.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | return (items); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - return (items); [INFO] [stdout] 108 + return items; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | token::{self, Token, TokenType}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | if (!current_word.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (!current_word.is_empty()) { [INFO] [stdout] 78 + if !current_word.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | } else if (!c.is_whitespace()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - } else if (!c.is_whitespace()) { [INFO] [stdout] 83 + } else if !c.is_whitespace() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | while (tokens.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - while (tokens.len() > 0) { [INFO] [stdout] 119 + while tokens.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if (tokenO.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (tokenO.is_some()) { [INFO] [stdout] 121 + if tokenO.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | if (token.tokenType == TokenType::DiagramStart) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - if (token.tokenType == TokenType::DiagramStart) { [INFO] [stdout] 123 + if token.tokenType == TokenType::DiagramStart { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | while (peekToken.tokenType == TokenType::NewLine) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - while (peekToken.tokenType == TokenType::NewLine) { [INFO] [stdout] 138 + while peekToken.tokenType == TokenType::NewLine { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | if (nameToken.tokenType == TokenType::Text) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - if (nameToken.tokenType == TokenType::Text) { [INFO] [stdout] 148 + if nameToken.tokenType == TokenType::Text { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | while (attTokenO.clone().is_some() [INFO] [stdout] | ^ [INFO] [stdout] 190 | && attTokenO.clone().unwrap().tokenType != TokenType::AttributesEnd) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 ~ while attTokenO.clone().is_some() [INFO] [stdout] 190 ~ && attTokenO.clone().unwrap().tokenType != TokenType::AttributesEnd [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | while (textTokenO.is_some() && textTokenO.clone().unwrap().tokenType != TokenType::NewLine) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 193 - while (textTokenO.is_some() && textTokenO.clone().unwrap().tokenType != TokenType::NewLine) [INFO] [stdout] 193 + while textTokenO.is_some() && textTokenO.clone().unwrap().tokenType != TokenType::NewLine [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | if (textToken.tokenType == TokenType::Text) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 196 - if (textToken.tokenType == TokenType::Text) { [INFO] [stdout] 196 + if textToken.tokenType == TokenType::Text { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | if (!attributeValue.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if (!attributeValue.is_empty()) { [INFO] [stdout] 201 + if !attributeValue.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | if (fromItem.is_some() && toItem.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 229 - if (fromItem.is_some() && toItem.is_some()) { [INFO] [stdout] 229 + if fromItem.is_some() && toItem.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Children` is imported redundantly [INFO] [stdout] --> src/app/tio/tioCard.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use leptos::Children; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use leptos::*; [INFO] [stdout] | --------- the item `Children` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/app/tio/tioCard.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/tio/tioCard.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if (width.get() != size.get().x || height.get() != size.get().y) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - if (width.get() != size.get().x || height.get() != size.get().y) { [INFO] [stdout] 13 + if width.get() != size.get().x || height.get() != size.get().y { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `leptos_use::core::Position` [INFO] [stdout] --> src/app/components/diagramTextBox.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use leptos_use::core::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MoveBoxAttribute::MoveBoxAttribute` [INFO] [stdout] --> src/app/components/diagramTextBox.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | MoveBoxAttribute::MoveBoxAttribute, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/app/helpers/orderFunctions.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | return (items); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - return (items); [INFO] [stdout] 108 + return items; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | token::{self, Token, TokenType}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | if (!current_word.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 78 - if (!current_word.is_empty()) { [INFO] [stdout] 78 + if !current_word.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | } else if (!c.is_whitespace()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 83 - } else if (!c.is_whitespace()) { [INFO] [stdout] 83 + } else if !c.is_whitespace() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | while (tokens.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 119 - while (tokens.len() > 0) { [INFO] [stdout] 119 + while tokens.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if (tokenO.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - if (tokenO.is_some()) { [INFO] [stdout] 121 + if tokenO.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | if (token.tokenType == TokenType::DiagramStart) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 123 - if (token.tokenType == TokenType::DiagramStart) { [INFO] [stdout] 123 + if token.tokenType == TokenType::DiagramStart { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:138:11 [INFO] [stdout] | [INFO] [stdout] 138 | while (peekToken.tokenType == TokenType::NewLine) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - while (peekToken.tokenType == TokenType::NewLine) { [INFO] [stdout] 138 + while peekToken.tokenType == TokenType::NewLine { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:148:8 [INFO] [stdout] | [INFO] [stdout] 148 | if (nameToken.tokenType == TokenType::Text) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - if (nameToken.tokenType == TokenType::Text) { [INFO] [stdout] 148 + if nameToken.tokenType == TokenType::Text { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 189 | while (attTokenO.clone().is_some() [INFO] [stdout] | ^ [INFO] [stdout] 190 | && attTokenO.clone().unwrap().tokenType != TokenType::AttributesEnd) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 ~ while attTokenO.clone().is_some() [INFO] [stdout] 190 ~ && attTokenO.clone().unwrap().tokenType != TokenType::AttributesEnd [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:193:15 [INFO] [stdout] | [INFO] [stdout] 193 | while (textTokenO.is_some() && textTokenO.clone().unwrap().tokenType != TokenType::NewLine) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 193 - while (textTokenO.is_some() && textTokenO.clone().unwrap().tokenType != TokenType::NewLine) [INFO] [stdout] 193 + while textTokenO.is_some() && textTokenO.clone().unwrap().tokenType != TokenType::NewLine [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:196:16 [INFO] [stdout] | [INFO] [stdout] 196 | if (textToken.tokenType == TokenType::Text) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 196 - if (textToken.tokenType == TokenType::Text) { [INFO] [stdout] 196 + if textToken.tokenType == TokenType::Text { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | if (!attributeValue.is_empty()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 201 - if (!attributeValue.is_empty()) { [INFO] [stdout] 201 + if !attributeValue.is_empty() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:229:8 [INFO] [stdout] | [INFO] [stdout] 229 | if (fromItem.is_some() && toItem.is_some()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 229 - if (fromItem.is_some() && toItem.is_some()) { [INFO] [stdout] 229 + if fromItem.is_some() && toItem.is_some() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Children` is imported redundantly [INFO] [stdout] --> src/app/tio/tioCard.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use leptos::Children; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use leptos::*; [INFO] [stdout] | --------- the item `Children` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/app/tio/tioCard.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/app/tio/tioCard.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | if (width.get() != size.get().x || height.get() != size.get().y) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - if (width.get() != size.get().x || height.get() != size.get().y) { [INFO] [stdout] 13 + if width.get() != size.get().x || height.get() != size.get().y { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shouldRender` [INFO] [stdout] --> src/app/components/canvasForever.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let shouldRender = move |position: Position| -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shouldRender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/components/diagramTextBox.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut newItems, mut newConnections) = importDiagram(text.get(), importCount.get()); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shouldRender` [INFO] [stdout] --> src/app/components/canvasForever.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let shouldRender = move |position: Position| -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shouldRender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/app/components/diagramTextBox.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | let (mut newItems, mut newConnections) = importDiagram(text.get(), importCount.get()); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resize_effect` [INFO] [stdout] --> src/app/tio/tioCard.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let resize_effect = create_effect(move |_| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resize_effect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resize_effect` [INFO] [stdout] --> src/app/tio/tioCard.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let resize_effect = create_effect(move |_| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resize_effect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_ranks` [INFO] [stdout] --> src/app/helpers/orderFunctions.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let (xOrdering, x_ranks) = organize_xpositions(to_rank_over_view.clone(), connections.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ranks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_ranks` [INFO] [stdout] --> src/app/helpers/orderFunctions.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let (xOrdering, x_ranks) = organize_xpositions(to_rank_over_view.clone(), connections.clone()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_ranks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | console_log::init_with_level(Level::Debug); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 8 | let _ = console_log::init_with_level(Level::Debug); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `attributeEditor` should have a snake case name [INFO] [stdout] --> src/app/components.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod attributeEditor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `attribute_editor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `attributesEditor` should have a snake case name [INFO] [stdout] --> src/app/components.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod attributesEditor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `attributes_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `canvasForever` should have a snake case name [INFO] [stdout] --> src/app/components.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod canvasForever; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_forever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `diagramTextBox` should have a snake case name [INFO] [stdout] --> src/app/components.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod diagramTextBox; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `diagram_text_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `mermaidEditor` should have a snake case name [INFO] [stdout] --> src/app/components.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod mermaidEditor; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `mermaid_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `nameEditor` should have a snake case name [INFO] [stdout] --> src/app/components.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod nameEditor; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `name_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `orderFunctions` should have a snake case name [INFO] [stdout] --> src/app/helpers.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod orderFunctions; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `order_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `parseFunctions` should have a snake case name [INFO] [stdout] --> src/app/helpers.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod parseFunctions; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `renderFunctions` should have a snake case name [INFO] [stdout] --> src/app/helpers.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod renderFunctions; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `render_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xOrdering` should have a snake case name [INFO] [stdout] --> src/app/helpers/orderFunctions.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | let (xOrdering, x_ranks) = organize_xpositions(to_rank_over_view.clone(), connections.clone()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `x_ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parseToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parseToken(word: String) -> Token { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parse_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `splitText` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn splitText(line: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `split_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parseText` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn parseText(line: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parse_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createState` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn createState( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `create_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenO` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let tokenO = tokens.pop(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `token_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `FilterNewLines` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn FilterNewLines(tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_new_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `peekToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut peekToken = tokens[tokens.len() - 1].clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `peek_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SearchName` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn SearchName(tokens: &mut Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `search_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nameToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let nameToken = tokens.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `name_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HandleClass` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn HandleClass( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `handle_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `peekToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let peekToken = tokens[tokens.len() - 1].clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `peek_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `attributeToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let attributeToken = tokens.pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `attribute_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HandleAttributes` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn HandleAttributes(token: &Option, tokens: &mut Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `attributeValue` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut attributeValue = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `attribute_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `attTokenO` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut attTokenO = token.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `att_token_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textTokenO` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let mut textTokenO = attTokenO.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `text_token_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let textToken = textTokenO.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `text_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HandleConnection` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn HandleConnection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arrowToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let arrowToken = tokens.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `arrow_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fromName` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let fromName: String = from.value.chars().filter(|x| x.is_alphanumeric()).collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `toName` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let toName: String = to.value.chars().filter(|x| x.is_alphanumeric()).collect(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `to_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fromItem` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let fromItem = items.iter().find(|x| x.get().value.get() == fromName); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `toItem` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let toItem = items.iter().find(|x| x.get().value.get() == toName); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `to_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `importDiagram` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn importDiagram( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `import_diagram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/helpers/renderFunctions.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | context.translate(x2, y2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = context.translate(x2, y2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/helpers/renderFunctions.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | context.rotate(angle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = context.rotate(angle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lineWidth` should have a snake case name [INFO] [stdout] --> src/app/helpers/renderFunctions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let lineWidth = 2.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `line_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MoveBoxAttribute` should have a snake case name [INFO] [stdout] --> src/app/structs.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod MoveBoxAttribute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `move_box_attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `connectionItem` should have a snake case name [INFO] [stdout] --> src/app/structs.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod connectionItem; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connection_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `linePosition` should have a snake case name [INFO] [stdout] --> src/app/structs.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod linePosition; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `line_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `moveBoxItem` should have a snake case name [INFO] [stdout] --> src/app/structs.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod moveBoxItem; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `move_box_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `realPosition` should have a snake case name [INFO] [stdout] --> src/app/structs/moveBoxItem.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub realPosition: RwSignal, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `real_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isDragging` should have a snake case name [INFO] [stdout] --> src/app/structs/moveBoxItem.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub isDragging: RwSignal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_dragging` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenType` should have a snake case name [INFO] [stdout] --> src/app/structs/token.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub tokenType: TokenType, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tioButton` should have a snake case name [INFO] [stdout] --> src/app/tio.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod tioButton; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tio_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tioCard` should have a snake case name [INFO] [stdout] --> src/app/tio.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod tioCard; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tio_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tioModal` should have a snake case name [INFO] [stdout] --> src/app/tio.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod tioModal; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tio_modal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | console_log::init_with_level(Level::Debug); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 8 | let _ = console_log::init_with_level(Level::Debug); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `attributeEditor` should have a snake case name [INFO] [stdout] --> src/app/components.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod attributeEditor; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `attribute_editor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `attributesEditor` should have a snake case name [INFO] [stdout] --> src/app/components.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod attributesEditor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `attributes_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `canvasForever` should have a snake case name [INFO] [stdout] --> src/app/components.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod canvasForever; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `canvas_forever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `diagramTextBox` should have a snake case name [INFO] [stdout] --> src/app/components.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod diagramTextBox; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `diagram_text_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `mermaidEditor` should have a snake case name [INFO] [stdout] --> src/app/components.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod mermaidEditor; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `mermaid_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `nameEditor` should have a snake case name [INFO] [stdout] --> src/app/components.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod nameEditor; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `name_editor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `orderFunctions` should have a snake case name [INFO] [stdout] --> src/app/helpers.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod orderFunctions; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `order_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `parseFunctions` should have a snake case name [INFO] [stdout] --> src/app/helpers.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod parseFunctions; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `renderFunctions` should have a snake case name [INFO] [stdout] --> src/app/helpers.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod renderFunctions; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `render_functions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `xOrdering` should have a snake case name [INFO] [stdout] --> src/app/helpers/orderFunctions.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | let (xOrdering, x_ranks) = organize_xpositions(to_rank_over_view.clone(), connections.clone()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `x_ordering` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parseToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parseToken(word: String) -> Token { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parse_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `splitText` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn splitText(line: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `split_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parseText` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn parseText(line: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parse_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createState` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn createState( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `create_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tokenO` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | let tokenO = tokens.pop(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `token_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `FilterNewLines` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn FilterNewLines(tokens: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `filter_new_lines` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `peekToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let mut peekToken = tokens[tokens.len() - 1].clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `peek_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SearchName` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn SearchName(tokens: &mut Vec) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `search_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nameToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let nameToken = tokens.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `name_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HandleClass` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn HandleClass( [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `handle_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `peekToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | let peekToken = tokens[tokens.len() - 1].clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `peek_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `attributeToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let attributeToken = tokens.pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `attribute_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HandleAttributes` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn HandleAttributes(token: &Option, tokens: &mut Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_attributes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `attributeValue` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut attributeValue = String::from(""); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `attribute_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `attTokenO` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | let mut attTokenO = token.clone(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `att_token_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textTokenO` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:192:17 [INFO] [stdout] | [INFO] [stdout] 192 | let mut textTokenO = attTokenO.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `text_token_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `textToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let textToken = textTokenO.clone().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `text_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `HandleConnection` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 213 | fn HandleConnection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `handle_connection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `arrowToken` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let arrowToken = tokens.pop().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `arrow_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fromName` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | let fromName: String = from.value.chars().filter(|x| x.is_alphanumeric()).collect(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `toName` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | let toName: String = to.value.chars().filter(|x| x.is_alphanumeric()).collect(); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `to_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fromItem` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | let fromItem = items.iter().find(|x| x.get().value.get() == fromName); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `from_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `toItem` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let toItem = items.iter().find(|x| x.get().value.get() == toName); [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `to_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `importDiagram` should have a snake case name [INFO] [stdout] --> src/app/helpers/parseFunctions.rs:239:8 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn importDiagram( [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `import_diagram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/helpers/renderFunctions.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | context.translate(x2, y2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 35 | let _ = context.translate(x2, y2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/app/helpers/renderFunctions.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | context.rotate(angle); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 36 | let _ = context.rotate(angle); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lineWidth` should have a snake case name [INFO] [stdout] --> src/app/helpers/renderFunctions.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let lineWidth = 2.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `line_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `MoveBoxAttribute` should have a snake case name [INFO] [stdout] --> src/app/structs.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod MoveBoxAttribute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `move_box_attribute` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `connectionItem` should have a snake case name [INFO] [stdout] --> src/app/structs.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod connectionItem; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `connection_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `linePosition` should have a snake case name [INFO] [stdout] --> src/app/structs.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod linePosition; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `line_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `moveBoxItem` should have a snake case name [INFO] [stdout] --> src/app/structs.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub mod moveBoxItem; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `move_box_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `realPosition` should have a snake case name [INFO] [stdout] --> src/app/structs/moveBoxItem.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub realPosition: RwSignal, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `real_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isDragging` should have a snake case name [INFO] [stdout] --> src/app/structs/moveBoxItem.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub isDragging: RwSignal, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_dragging` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `tokenType` should have a snake case name [INFO] [stdout] --> src/app/structs/token.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub tokenType: TokenType, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `token_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tioButton` should have a snake case name [INFO] [stdout] --> src/app/tio.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod tioButton; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `tio_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tioCard` should have a snake case name [INFO] [stdout] --> src/app/tio.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod tioCard; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `tio_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `tioModal` should have a snake case name [INFO] [stdout] --> src/app/tio.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod tioModal; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `tio_modal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "e17fe09d3da8730abc78f56d79f78ccb37f6aa3707d3038f6249f587fdf695e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17fe09d3da8730abc78f56d79f78ccb37f6aa3707d3038f6249f587fdf695e5", kill_on_drop: false }` [INFO] [stdout] e17fe09d3da8730abc78f56d79f78ccb37f6aa3707d3038f6249f587fdf695e5