[INFO] cloning repository https://github.com/sopho-s/stui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sopho-s/stui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsopho-s%2Fstui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsopho-s%2Fstui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9e42c2a9d6dbd86b08fa7b0cf0f068f9845b91a [INFO] checking sopho-s/stui against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsopho-s%2Fstui" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sopho-s/stui [INFO] finished tweaking git repo https://github.com/sopho-s/stui [INFO] tweaked toml for git repo https://github.com/sopho-s/stui written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sopho-s/stui on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sopho-s/stui 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16eadbef836e9293939bd4ca3d74ad60c6b4fad9f4a9f23bb204ef5b0adacb1c [INFO] running `Command { std: "docker" "start" "-a" "16eadbef836e9293939bd4ca3d74ad60c6b4fad9f4a9f23bb204ef5b0adacb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16eadbef836e9293939bd4ca3d74ad60c6b4fad9f4a9f23bb204ef5b0adacb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16eadbef836e9293939bd4ca3d74ad60c6b4fad9f4a9f23bb204ef5b0adacb1c", kill_on_drop: false }` [INFO] [stdout] 16eadbef836e9293939bd4ca3d74ad60c6b4fad9f4a9f23bb204ef5b0adacb1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6381b9c7f29c62ada7474620435ebeb782fa2516518dc25f829a5b3f537eaaeb [INFO] running `Command { std: "docker" "start" "-a" "6381b9c7f29c62ada7474620435ebeb782fa2516518dc25f829a5b3f537eaaeb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling sdl2 v0.38.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking roxmltree v0.21.1 [INFO] [stderr] Compiling sdl2-sys v0.38.0 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking console v0.16.3 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking stui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/objects.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if (w == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if (w == 0) { [INFO] [stdout] 16 + if w == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/objects.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if (i != asplit.clone().count() - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if (i != asplit.clone().count() - 1) { [INFO] [stdout] 25 + if i != asplit.clone().count() - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/objects.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | if (ah > bh) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if (ah > bh) { [INFO] [stdout] 103 + if ah > bh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/objects.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/objects.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `objecttypes` should have an upper camel case name [INFO] [stdout] --> src/objects.rs:898:10 [INFO] [stdout] | [INFO] [stdout] 898 | pub enum objecttypes { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Objecttypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `event` should have an upper camel case name [INFO] [stdout] --> src/eventmanager.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum event { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/eventmanager.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/objects.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if (w == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - if (w == 0) { [INFO] [stdout] 16 + if w == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/objects.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | if (i != asplit.clone().count() - 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - if (i != asplit.clone().count() - 1) { [INFO] [stdout] 25 + if i != asplit.clone().count() - 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/objects.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | if (ah > bh) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - if (ah > bh) { [INFO] [stdout] 103 + if ah > bh { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/objects.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/objects.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `objecttypes` should have an upper camel case name [INFO] [stdout] --> src/objects.rs:898:10 [INFO] [stdout] | [INFO] [stdout] 898 | pub enum objecttypes { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Objecttypes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `event` should have an upper camel case name [INFO] [stdout] --> src/eventmanager.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum event { [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/eventmanager.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut asplit = a.split("\n\r"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut bsplit = b.split("\n\r"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut asplit = a.split("\n\r"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fullstring` is never read [INFO] [stdout] --> src/objects.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let mut fullstring = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 108 | fullstring = joinShorterLongerRowWise(newas, _bs.clone(), gap); [INFO] [stdout] | ---------- `fullstring` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let mut textsplit: Vec<&str> = text.split("\n\r").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut textsplit: Vec<&str> = text.split("\n\r").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut asplit = a.split("\n\r"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | let mut bsplit = b.split("\n\r"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut asplit = a.split("\n\r"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `fullstring` is never read [INFO] [stdout] --> src/objects.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | let mut fullstring = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 108 | fullstring = joinShorterLongerRowWise(newas, _bs.clone(), gap); [INFO] [stdout] | ---------- `fullstring` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/objects.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn newKeyboardInput(&mut self, input: Key) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | let mut textsplit: Vec<&str> = text.split("\n\r").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut textsplit: Vec<&str> = text.split("\n\r").collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let mut midpad: String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/objects.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn newKeyboardInput(&mut self, input: Key) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | let mut midpad: String; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/objects.rs:625:21 [INFO] [stdout] | [INFO] [stdout] 625 | for i in 0..self.gap { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | let mut tempholder = self.wrapText(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:708:13 [INFO] [stdout] | [INFO] [stdout] 708 | let mut inbetweenitem = tempholder.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `text` is never read [INFO] [stdout] --> src/objects.rs:753:24 [INFO] [stdout] | [INFO] [stdout] 753 | let mut text = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 757 | text = self.text.clone(); [INFO] [stdout] | ---- `text` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/objects.rs:782:28 [INFO] [stdout] | [INFO] [stdout] 782 | Key::DELETEKEY(c) => {self.text.pop();}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/objects.rs:625:21 [INFO] [stdout] | [INFO] [stdout] 625 | for i in 0..self.gap { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | let mut tempholder = self.wrapText(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:708:13 [INFO] [stdout] | [INFO] [stdout] 708 | let mut inbetweenitem = tempholder.clone(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `text` is never read [INFO] [stdout] --> src/objects.rs:753:24 [INFO] [stdout] | [INFO] [stdout] 753 | let mut text = "".to_string(); [INFO] [stdout] | ^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 757 | text = self.text.clone(); [INFO] [stdout] | ---- `text` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/objects.rs:782:28 [INFO] [stdout] | [INFO] [stdout] 782 | Key::DELETEKEY(c) => {self.text.pop();}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 910 | objecttypes::TEXT(c) => c.toString(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 911 | objecttypes::BOX(c) => c.toString(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 912 | objecttypes::ROW(c) => c.toString(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 913 | objecttypes::COLUMN(c) => c.toString(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 916 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:928:13 [INFO] [stdout] | [INFO] [stdout] 928 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:928:13 [INFO] [stdout] | [INFO] [stdout] 922 | objecttypes::TEXT(c) => c.getHeight(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 923 | objecttypes::BOX(c) => c.getHeight(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 924 | objecttypes::ROW(c) => c.getHeight(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 925 | objecttypes::COLUMN(c) => c.getHeight(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 928 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 934 | objecttypes::TEXT(c) => c.getLength(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 935 | objecttypes::BOX(c) => c.getLength(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 936 | objecttypes::ROW(c) => c.getLength(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 937 | objecttypes::COLUMN(c) => c.getLength(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 940 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 952 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 946 | objecttypes::TEXT(c) => c.newKeyboardInput(input), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 947 | objecttypes::BOX(c) => c.newKeyboardInput(input), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 948 | objecttypes::ROW(c) => c.newKeyboardInput(input), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 949 | objecttypes::COLUMN(c) => c.newKeyboardInput(input), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 952 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:959:13 [INFO] [stdout] | [INFO] [stdout] 959 | let mut string = createNLengthString(width,"\x1b[1A\x1b[2K"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 910 | objecttypes::TEXT(c) => c.toString(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 911 | objecttypes::BOX(c) => c.toString(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 912 | objecttypes::ROW(c) => c.toString(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 913 | objecttypes::COLUMN(c) => c.toString(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 916 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/objects.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let height = self.getHeight(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:977:13 [INFO] [stdout] | [INFO] [stdout] 977 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:977:13 [INFO] [stdout] | [INFO] [stdout] 971 | objecttypes::TEXT(c) => c.Reset(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 972 | objecttypes::BOX(c) => c.Reset(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 973 | objecttypes::ROW(c) => c.Reset(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 974 | objecttypes::COLUMN(c) => c.Reset(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 977 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:928:13 [INFO] [stdout] | [INFO] [stdout] 928 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:928:13 [INFO] [stdout] | [INFO] [stdout] 922 | objecttypes::TEXT(c) => c.getHeight(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 923 | objecttypes::BOX(c) => c.getHeight(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 924 | objecttypes::ROW(c) => c.getHeight(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 925 | objecttypes::COLUMN(c) => c.getHeight(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 928 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 940 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:940:13 [INFO] [stdout] | [INFO] [stdout] 934 | objecttypes::TEXT(c) => c.getLength(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 935 | objecttypes::BOX(c) => c.getLength(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 936 | objecttypes::ROW(c) => c.getLength(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 937 | objecttypes::COLUMN(c) => c.getLength(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 940 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 952 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 946 | objecttypes::TEXT(c) => c.newKeyboardInput(input), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 947 | objecttypes::BOX(c) => c.newKeyboardInput(input), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 948 | objecttypes::ROW(c) => c.newKeyboardInput(input), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 949 | objecttypes::COLUMN(c) => c.newKeyboardInput(input), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 952 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/objects.rs:959:13 [INFO] [stdout] | [INFO] [stdout] 959 | let mut string = createNLengthString(width,"\x1b[1A\x1b[2K"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/objects.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | let height = self.getHeight(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/objects.rs:977:13 [INFO] [stdout] | [INFO] [stdout] 977 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/objects.rs:977:13 [INFO] [stdout] | [INFO] [stdout] 971 | objecttypes::TEXT(c) => c.Reset(), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 972 | objecttypes::BOX(c) => c.Reset(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 973 | objecttypes::ROW(c) => c.Reset(), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 974 | objecttypes::COLUMN(c) => c.Reset(), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 977 | _ => panic!("method on object not supported"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/eventmanager.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let s = "".to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/eventmanager.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let s = "".to_string(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/util.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 33 | event::KEYEVENT(c) => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 43 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | ... Key::ESCAPEKEY(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `TextChange` is never constructed [INFO] [stdout] --> src/objects.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct TextChange { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BoxChange` is never constructed [INFO] [stdout] --> src/objects.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct BoxChange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `RowChange` is never constructed [INFO] [stdout] --> src/objects.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | pub struct RowChange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `ColumnChange` is never constructed [INFO] [stdout] --> src/objects.rs:574:12 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct ColumnChange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `InputChange` is never constructed [INFO] [stdout] --> src/objects.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | pub struct InputChange { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text`, `length`, and `height` are never read [INFO] [stdout] --> src/objects.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct TextChange { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 214 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | length: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 216 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextChange` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hasborder`, `paddingleft`, `paddingright`, `paddingup`, and `paddingdown` are never read [INFO] [stdout] --> src/objects.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct BoxChange { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 319 | hasborder: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 320 | paddingleft: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 321 | paddingright: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 322 | paddingup: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 323 | paddingdown: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxChange` 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 `gap` is never read [INFO] [stdout] --> src/objects.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 467 | pub struct RowChange { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 468 | gap: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RowChange` 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 `gap` is never read [INFO] [stdout] --> src/objects.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct ColumnChange { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 575 | gap: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnChange` 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 `length`, `height`, and `placeholder` are never read [INFO] [stdout] --> src/objects.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 674 | pub struct InputChange { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 675 | length: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 676 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 677 | placeholder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputChange` 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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | sendint.send(0); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = sendint.send(0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | ... disable_raw_mode(); [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 _ = disable_raw_mode(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `padToHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn padToHeight(a: String, aw: i32, h: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pad_to_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `padToWidth` should have a snake case name [INFO] [stdout] --> src/objects.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn padToWidth(a: String, w: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pad_to_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joinLongerShorterRowWise` should have a snake case name [INFO] [stdout] --> src/objects.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn joinLongerShorterRowWise(a: String, b: String, gap: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `join_longer_shorter_row_wise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/util.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joinShorterLongerRowWise` should have a snake case name [INFO] [stdout] --> src/objects.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn joinShorterLongerRowWise(a: String, b: String, gap: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `join_shorter_longer_row_wise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joinRowWise` should have a snake case name [INFO] [stdout] --> src/objects.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn joinRowWise(_as: String, ah: i32, aw: i32, _bs: String, bh: i32, bw: i32, gap: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `join_row_wise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createBoxLid` should have a snake case name [INFO] [stdout] --> src/objects.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn createBoxLid(width: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `create_box_lid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createBoxBottom` should have a snake case name [INFO] [stdout] --> src/objects.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn createBoxBottom(width: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_box_bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colourBackgroundInner` should have a snake case name [INFO] [stdout] --> src/objects.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn colourBackgroundInner(text: String, colour: Colour) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `colour_background_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colourBackgroundOuter` should have a snake case name [INFO] [stdout] --> src/objects.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn colourBackgroundOuter(text: String, colour: Colour) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `colour_background_outer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `applyEffectInner` should have a snake case name [INFO] [stdout] --> src/objects.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn applyEffectInner(&self, string: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_effect_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `applyEffectOuter` should have a snake case name [INFO] [stdout] --> src/objects.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn applyEffectOuter(&self, string: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_effect_outer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wrapText` should have a snake case name [INFO] [stdout] --> src/objects.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn wrapText(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `wrap_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeText` should have a snake case name [INFO] [stdout] --> src/objects.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn changeText(&mut self, text: String) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn newKeyboardInput(&mut self, input: Key) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeItem` should have a snake case name [INFO] [stdout] --> src/objects.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn changeItem(&mut self, item: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPadding` should have a snake case name [INFO] [stdout] --> src/objects.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn setPadding(&mut self, padding: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `set_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPaddingLeft` should have a snake case name [INFO] [stdout] --> src/objects.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn setPaddingLeft(&mut self, paddingleft: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_padding_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPaddingRight` should have a snake case name [INFO] [stdout] --> src/objects.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn setPaddingRight(&mut self, paddingright: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_padding_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPaddingUp` should have a snake case name [INFO] [stdout] --> src/objects.rs:424:12 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn setPaddingUp(&mut self, paddingup: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_padding_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPaddingDown` should have a snake case name [INFO] [stdout] --> src/objects.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn setPaddingDown(&mut self, paddingdown: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_padding_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setBorder` should have a snake case name [INFO] [stdout] --> src/objects.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn setBorder(&mut self, truth: bool) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setGap` should have a snake case name [INFO] [stdout] --> src/objects.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn setGap(&mut self, gap: i32) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_gap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addItem` should have a snake case name [INFO] [stdout] --> src/objects.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn addItem(&mut self, item: Rc>) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:553:12 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setGap` should have a snake case name [INFO] [stdout] --> src/objects.rs:602:12 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn setGap(&mut self, gap: i32) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_gap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addItem` should have a snake case name [INFO] [stdout] --> src/objects.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub fn addItem(&mut self, item: Rc>) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 33 | event::KEYEVENT(c) => { [INFO] [stdout] | ------------------ matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 43 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/main.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | ... Key::ESCAPEKEY(c) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 637 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:653:12 [INFO] [stdout] | [INFO] [stdout] 653 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:658:12 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:698:12 [INFO] [stdout] | [INFO] [stdout] 698 | pub fn setLength(&mut self, length: i32) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 702 | pub fn setHeight(&mut self, height: i32) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAdjustedSize` should have a snake case name [INFO] [stdout] --> src/objects.rs:722:8 [INFO] [stdout] | [INFO] [stdout] 722 | fn getAdjustedSize(&self, adjstr: String) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_adjusted_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wrapText` should have a snake case name [INFO] [stdout] --> src/objects.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 752 | fn wrapText(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `wrap_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:779:12 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setElements` should have a snake case name [INFO] [stdout] --> src/objects.rs:818:12 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn setElements(&mut self, right: Option>>, left: Option>>, up: Option src/objects.rs:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:835:12 [INFO] [stdout] | [INFO] [stdout] 835 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:839:12 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:842:12 [INFO] [stdout] | [INFO] [stdout] 842 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Right` should have a snake case name [INFO] [stdout] --> src/objects.rs:867:8 [INFO] [stdout] | [INFO] [stdout] 867 | fn Right(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Left` should have a snake case name [INFO] [stdout] --> src/objects.rs:873:8 [INFO] [stdout] | [INFO] [stdout] 873 | fn Left(&mut self) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Up` should have a snake case name [INFO] [stdout] --> src/objects.rs:879:8 [INFO] [stdout] | [INFO] [stdout] 879 | fn Up(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Down` should have a snake case name [INFO] [stdout] --> src/objects.rs:885:8 [INFO] [stdout] | [INFO] [stdout] 885 | fn Down(&mut self) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:891:12 [INFO] [stdout] | [INFO] [stdout] 891 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:908:12 [INFO] [stdout] | [INFO] [stdout] 908 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:920:12 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 932 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:944:12 [INFO] [stdout] | [INFO] [stdout] 944 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getResetString` should have a snake case name [INFO] [stdout] --> src/objects.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | pub fn getResetString(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_reset_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `convertToSelector` should have a snake case name [INFO] [stdout] --> src/objects.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | pub fn convertToSelector(&mut self) -> &mut Selector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_to_selector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:969:12 [INFO] [stdout] | [INFO] [stdout] 969 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isEmpty` should have a snake case name [INFO] [stdout] --> src/eventmanager.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn isEmpty(&self) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eventListener` should have a snake case name [INFO] [stdout] --> src/eventmanager.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn eventListener(rx: Receiver, tx: Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `event_listener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eventmanager.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | tx.send(eventqueue.clone()); [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] 54 | let _ = tx.send(eventqueue.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linkSelectors` should have a snake case name [INFO] [stdout] --> src/xmlconverter.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn linkSelectors(idlist: Rc>>, nodelist: Rc>>>>, selectorlist: Rc src/xmlconverter.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn parseXML(doc: roxmltree::Node, idlist: Rc>>, nodelist: Rc>>>>, selectorlist:... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `parse_xml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parseDocument` should have a snake case name [INFO] [stdout] --> src/xmlconverter.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn parseDocument(filename: &str) -> objecttypes { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createNLengthString` should have a snake case name [INFO] [stdout] --> src/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn createNLengthString(n: i32, val: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_nlength_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createNLengthStringNL` should have a snake case name [INFO] [stdout] --> src/util.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn createNLengthStringNL(n: i32, val: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_nlength_string_nl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `TextChange` is never constructed [INFO] [stdout] --> src/objects.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct TextChange { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BoxChange` is never constructed [INFO] [stdout] --> src/objects.rs:318:12 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct BoxChange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `RowChange` is never constructed [INFO] [stdout] --> src/objects.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | pub struct RowChange { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `ColumnChange` is never constructed [INFO] [stdout] --> src/objects.rs:574:12 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct ColumnChange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `InputChange` is never constructed [INFO] [stdout] --> src/objects.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | pub struct InputChange { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text`, `length`, and `height` are never read [INFO] [stdout] --> src/objects.rs:214:5 [INFO] [stdout] | [INFO] [stdout] 213 | pub struct TextChange { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 214 | text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 215 | length: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 216 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextChange` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hasborder`, `paddingleft`, `paddingright`, `paddingup`, and `paddingdown` are never read [INFO] [stdout] --> src/objects.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 318 | pub struct BoxChange { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 319 | hasborder: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 320 | paddingleft: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 321 | paddingright: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 322 | paddingup: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 323 | paddingdown: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxChange` 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 `gap` is never read [INFO] [stdout] --> src/objects.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 467 | pub struct RowChange { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 468 | gap: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RowChange` 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 `gap` is never read [INFO] [stdout] --> src/objects.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 574 | pub struct ColumnChange { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 575 | gap: i32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnChange` 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 `length`, `height`, and `placeholder` are never read [INFO] [stdout] --> src/objects.rs:675:5 [INFO] [stdout] | [INFO] [stdout] 674 | pub struct InputChange { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 675 | length: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 676 | height: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 677 | placeholder: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputChange` 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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | sendint.send(0); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = sendint.send(0); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | ... disable_raw_mode(); [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 _ = disable_raw_mode(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `padToHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn padToHeight(a: String, aw: i32, h: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pad_to_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `padToWidth` should have a snake case name [INFO] [stdout] --> src/objects.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn padToWidth(a: String, w: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `pad_to_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joinLongerShorterRowWise` should have a snake case name [INFO] [stdout] --> src/objects.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn joinLongerShorterRowWise(a: String, b: String, gap: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `join_longer_shorter_row_wise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joinShorterLongerRowWise` should have a snake case name [INFO] [stdout] --> src/objects.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn joinShorterLongerRowWise(a: String, b: String, gap: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `join_shorter_longer_row_wise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `joinRowWise` should have a snake case name [INFO] [stdout] --> src/objects.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn joinRowWise(_as: String, ah: i32, aw: i32, _bs: String, bh: i32, bw: i32, gap: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `join_row_wise` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createBoxLid` should have a snake case name [INFO] [stdout] --> src/objects.rs:113:4 [INFO] [stdout] | [INFO] [stdout] 113 | fn createBoxLid(width: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `create_box_lid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createBoxBottom` should have a snake case name [INFO] [stdout] --> src/objects.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn createBoxBottom(width: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_box_bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colourBackgroundInner` should have a snake case name [INFO] [stdout] --> src/objects.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn colourBackgroundInner(text: String, colour: Colour) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `colour_background_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colourBackgroundOuter` should have a snake case name [INFO] [stdout] --> src/objects.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn colourBackgroundOuter(text: String, colour: Colour) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `colour_background_outer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `applyEffectInner` should have a snake case name [INFO] [stdout] --> src/objects.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn applyEffectInner(&self, string: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_effect_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `applyEffectOuter` should have a snake case name [INFO] [stdout] --> src/objects.rs:195:12 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn applyEffectOuter(&self, string: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `apply_effect_outer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wrapText` should have a snake case name [INFO] [stdout] --> src/objects.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn wrapText(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `wrap_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeText` should have a snake case name [INFO] [stdout] --> src/objects.rs:272:12 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn changeText(&mut self, text: String) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:296:12 [INFO] [stdout] | [INFO] [stdout] 296 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | pub fn newKeyboardInput(&mut self, input: Key) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 301 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:361:12 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `changeItem` should have a snake case name [INFO] [stdout] --> src/objects.rs:405:12 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn changeItem(&mut self, item: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPadding` should have a snake case name [INFO] [stdout] --> src/objects.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 409 | pub fn setPadding(&mut self, padding: i32) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `set_padding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPaddingLeft` should have a snake case name [INFO] [stdout] --> src/objects.rs:416:12 [INFO] [stdout] | [INFO] [stdout] 416 | pub fn setPaddingLeft(&mut self, paddingleft: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_padding_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPaddingRight` should have a snake case name [INFO] [stdout] --> src/objects.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn setPaddingRight(&mut self, paddingright: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_padding_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPaddingUp` should have a snake case name [INFO] [stdout] --> src/objects.rs:424:12 [INFO] [stdout] | [INFO] [stdout] 424 | pub fn setPaddingUp(&mut self, paddingup: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_padding_up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setPaddingDown` should have a snake case name [INFO] [stdout] --> src/objects.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | pub fn setPaddingDown(&mut self, paddingdown: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_padding_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setBorder` should have a snake case name [INFO] [stdout] --> src/objects.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 432 | pub fn setBorder(&mut self, truth: bool) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_border` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:436:12 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:443:12 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:451:12 [INFO] [stdout] | [INFO] [stdout] 451 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 454 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:496:12 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setGap` should have a snake case name [INFO] [stdout] --> src/objects.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn setGap(&mut self, gap: i32) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_gap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addItem` should have a snake case name [INFO] [stdout] --> src/objects.rs:538:12 [INFO] [stdout] | [INFO] [stdout] 538 | pub fn addItem(&mut self, item: Rc>) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:542:12 [INFO] [stdout] | [INFO] [stdout] 542 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 547 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:553:12 [INFO] [stdout] | [INFO] [stdout] 553 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setGap` should have a snake case name [INFO] [stdout] --> src/objects.rs:602:12 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn setGap(&mut self, gap: i32) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_gap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addItem` should have a snake case name [INFO] [stdout] --> src/objects.rs:606:12 [INFO] [stdout] | [INFO] [stdout] 606 | pub fn addItem(&mut self, item: Rc>) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:610:12 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:637:12 [INFO] [stdout] | [INFO] [stdout] 637 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:643:12 [INFO] [stdout] | [INFO] [stdout] 643 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:653:12 [INFO] [stdout] | [INFO] [stdout] 653 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:658:12 [INFO] [stdout] | [INFO] [stdout] 658 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:698:12 [INFO] [stdout] | [INFO] [stdout] 698 | pub fn setLength(&mut self, length: i32) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 702 | pub fn setHeight(&mut self, height: i32) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `set_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getAdjustedSize` should have a snake case name [INFO] [stdout] --> src/objects.rs:722:8 [INFO] [stdout] | [INFO] [stdout] 722 | fn getAdjustedSize(&self, adjstr: String) -> (i32, i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_adjusted_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:744:12 [INFO] [stdout] | [INFO] [stdout] 744 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wrapText` should have a snake case name [INFO] [stdout] --> src/objects.rs:752:8 [INFO] [stdout] | [INFO] [stdout] 752 | fn wrapText(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `wrap_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:779:12 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setElements` should have a snake case name [INFO] [stdout] --> src/objects.rs:818:12 [INFO] [stdout] | [INFO] [stdout] 818 | pub fn setElements(&mut self, right: Option>>, left: Option>>, up: Option src/objects.rs:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:835:12 [INFO] [stdout] | [INFO] [stdout] 835 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:839:12 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:842:12 [INFO] [stdout] | [INFO] [stdout] 842 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Right` should have a snake case name [INFO] [stdout] --> src/objects.rs:867:8 [INFO] [stdout] | [INFO] [stdout] 867 | fn Right(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Left` should have a snake case name [INFO] [stdout] --> src/objects.rs:873:8 [INFO] [stdout] | [INFO] [stdout] 873 | fn Left(&mut self) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Up` should have a snake case name [INFO] [stdout] --> src/objects.rs:879:8 [INFO] [stdout] | [INFO] [stdout] 879 | fn Up(&mut self) { [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `up` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Down` should have a snake case name [INFO] [stdout] --> src/objects.rs:885:8 [INFO] [stdout] | [INFO] [stdout] 885 | fn Down(&mut self) { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:891:12 [INFO] [stdout] | [INFO] [stdout] 891 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toString` should have a snake case name [INFO] [stdout] --> src/objects.rs:908:12 [INFO] [stdout] | [INFO] [stdout] 908 | pub fn toString(&self) -> String { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getHeight` should have a snake case name [INFO] [stdout] --> src/objects.rs:920:12 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn getHeight(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getLength` should have a snake case name [INFO] [stdout] --> src/objects.rs:932:12 [INFO] [stdout] | [INFO] [stdout] 932 | pub fn getLength(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `newKeyboardInput` should have a snake case name [INFO] [stdout] --> src/objects.rs:944:12 [INFO] [stdout] | [INFO] [stdout] 944 | pub fn newKeyboardInput(&mut self, input: Key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_keyboard_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stui` (bin "stui") due to 5 previous errors; 118 warnings emitted [INFO] [stdout] warning: method `getResetString` should have a snake case name [INFO] [stdout] --> src/objects.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | pub fn getResetString(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_reset_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `convertToSelector` should have a snake case name [INFO] [stdout] --> src/objects.rs:963:12 [INFO] [stdout] | [INFO] [stdout] 963 | pub fn convertToSelector(&mut self) -> &mut Selector { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_to_selector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Reset` should have a snake case name [INFO] [stdout] --> src/objects.rs:969:12 [INFO] [stdout] | [INFO] [stdout] 969 | pub fn Reset(&mut self) { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `reset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `isEmpty` should have a snake case name [INFO] [stdout] --> src/eventmanager.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn isEmpty(&self) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_empty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eventListener` should have a snake case name [INFO] [stdout] --> src/eventmanager.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn eventListener(rx: Receiver, tx: Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `event_listener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/eventmanager.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | tx.send(eventqueue.clone()); [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] 54 | let _ = tx.send(eventqueue.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linkSelectors` should have a snake case name [INFO] [stdout] --> src/xmlconverter.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn linkSelectors(idlist: Rc>>, nodelist: Rc>>>>, selectorlist: Rc src/xmlconverter.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn parseXML(doc: roxmltree::Node, idlist: Rc>>, nodelist: Rc>>>>, selectorlist:... [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `parse_xml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parseDocument` should have a snake case name [INFO] [stdout] --> src/xmlconverter.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn parseDocument(filename: &str) -> objecttypes { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_document` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createNLengthString` should have a snake case name [INFO] [stdout] --> src/util.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn createNLengthString(n: i32, val: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_nlength_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `createNLengthStringNL` should have a snake case name [INFO] [stdout] --> src/util.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn createNLengthStringNL(n: i32, val: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_nlength_string_nl` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stui` (bin "stui" test) due to 5 previous errors; 118 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6381b9c7f29c62ada7474620435ebeb782fa2516518dc25f829a5b3f537eaaeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6381b9c7f29c62ada7474620435ebeb782fa2516518dc25f829a5b3f537eaaeb", kill_on_drop: false }` [INFO] [stdout] 6381b9c7f29c62ada7474620435ebeb782fa2516518dc25f829a5b3f537eaaeb