[INFO] cloning repository https://github.com/Grinshpon/red [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Grinshpon/red" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrinshpon%2Fred", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrinshpon%2Fred'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1be8cd15a2269f929971a278dee0646b400712a6 [INFO] checking Grinshpon/red against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrinshpon%2Fred" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Grinshpon/red on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Grinshpon/red [INFO] finished tweaking git repo https://github.com/Grinshpon/red [INFO] tweaked toml for git repo https://github.com/Grinshpon/red written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Grinshpon/red already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.include [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.include [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded numtoa v0.1.0 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded termion v1.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a268f7c4d69465c911f316794f1a1d9945bfeeafb9cf26a979eaf5ea2a494a4 [INFO] running `Command { std: "docker" "start" "-a" "5a268f7c4d69465c911f316794f1a1d9945bfeeafb9cf26a979eaf5ea2a494a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a268f7c4d69465c911f316794f1a1d9945bfeeafb9cf26a979eaf5ea2a494a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a268f7c4d69465c911f316794f1a1d9945bfeeafb9cf26a979eaf5ea2a494a4", kill_on_drop: false }` [INFO] [stdout] 5a268f7c4d69465c911f316794f1a1d9945bfeeafb9cf26a979eaf5ea2a494a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35247035fc7bbc56ee36d5fdc57ea34a6503a20495366b748ec738c0269e59c3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "35247035fc7bbc56ee36d5fdc57ea34a6503a20495366b748ec738c0269e59c3", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: bin.0.include [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking red-it v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `termion::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use termion::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::screen::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use termion::screen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdin`, `stdout` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Write, stdout, stdin}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::*` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::*` [INFO] [stdout] --> src/read.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/read.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | while (Path::new(&format!("{}{}",empty,".swp")).exists()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / macro_rules! moveCursor { [INFO] [stdout] 23 | | ( $scr:expr, $x:expr, $y:expr ) => {{ [INFO] [stdout] 24 | | write!($scr,"{}",cursor::Goto($x,$y)).unwrap(); [INFO] [stdout] 25 | | }} [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use termion::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::screen::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use termion::screen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write`, `stdin`, `stdout` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::{Write, stdout, stdin}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::window::*` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/input.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/input.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::util::*` [INFO] [stdout] --> src/read.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::util::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/read.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | while (Path::new(&format!("{}{}",empty,".swp")).exists()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / macro_rules! moveCursor { [INFO] [stdout] 23 | | ( $scr:expr, $x:expr, $y:expr ) => {{ [INFO] [stdout] 24 | | write!($scr,"{}",cursor::Goto($x,$y)).unwrap(); [INFO] [stdout] 25 | | }} [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_win` [INFO] [stdout] --> src/main.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | let mut main_win = read_file(&mut f); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_win` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/window/bottom_bar.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn left_text (val: String) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/window/bottom_bar.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | fn right_text (val: String) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/input.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut stdin = async_stdin().bytes(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_input` [INFO] [stdout] --> src/input.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut last_input = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scr` [INFO] [stdout] --> src/input.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn input_handler(scr: &mut dyn Write, ) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_scr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eof` [INFO] [stdout] --> src/read.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | let mut eof = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | let mut main_win = read_file(&mut f); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/input.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut stdin = async_stdin().bytes(); [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/input.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut last_input = String::new(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main_win` [INFO] [stdout] --> src/main.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | let mut main_win = read_file(&mut f); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_win` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/window/bottom_bar.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn left_text (val: String) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/window/bottom_bar.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | fn right_text (val: String) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/input.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut stdin = async_stdin().bytes(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_input` [INFO] [stdout] --> src/input.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut last_input = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scr` [INFO] [stdout] --> src/input.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn input_handler(scr: &mut dyn Write, ) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_scr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eof` [INFO] [stdout] --> src/read.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | let mut eof = false; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | let mut main_win = read_file(&mut f); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/input.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let mut stdin = async_stdin().bytes(); [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/input.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut last_input = String::new(); [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/read.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | let mut bufR = BufReader::new(&rfile.swap); //may replace with with_capacity for large files [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/read.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | let mut eof = false; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command_mode` [INFO] [stdout] --> src/window/bottom_bar.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | command_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left_aligned` [INFO] [stdout] --> src/window/bottom_bar.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | left_aligned: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right_aligned` [INFO] [stdout] --> src/window/bottom_bar.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | right_aligned: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left_text` [INFO] [stdout] --> src/window/bottom_bar.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | fn left_text (val: String) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right_text` [INFO] [stdout] --> src/window/bottom_bar.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | fn right_text (val: String) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/window/line_num.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | offset: bool, //offset down 1 if tabbar is shown [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/window/line_num.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mode` [INFO] [stdout] --> src/window.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ch` [INFO] [stdout] --> src/input.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | ch: Char, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/input.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | position: Pos, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/read.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | let mut bufR = BufReader::new(&rfile.swap); //may replace with with_capacity for large files [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/read.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | let mut eof = false; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `command_mode` [INFO] [stdout] --> src/window/bottom_bar.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | command_mode: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left_aligned` [INFO] [stdout] --> src/window/bottom_bar.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | left_aligned: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right_aligned` [INFO] [stdout] --> src/window/bottom_bar.rs:4:3 [INFO] [stdout] | [INFO] [stdout] 4 | right_aligned: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `left_text` [INFO] [stdout] --> src/window/bottom_bar.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | fn left_text (val: String) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `right_text` [INFO] [stdout] --> src/window/bottom_bar.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | fn right_text (val: String) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/window/line_num.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | offset: bool, //offset down 1 if tabbar is shown [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/window/line_num.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | width: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Mode` [INFO] [stdout] --> src/window.rs:64:6 [INFO] [stdout] | [INFO] [stdout] 64 | enum Mode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ch` [INFO] [stdout] --> src/input.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | ch: Char, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `position` [INFO] [stdout] --> src/input.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | position: Pos, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `View` should have a snake case name [INFO] [stdout] --> src/window.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn View() -> View { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `view` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `View` should have a snake case name [INFO] [stdout] --> src/window.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn View() -> View { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `view` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/read.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | rfile.swap.seek(SeekFrom::Start(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufR` should have a snake case name [INFO] [stdout] --> src/read.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | let mut bufR = BufReader::new(&rfile.swap); //may replace with with_capacity for large files [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `buf_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/read.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | rfile.swap.seek(SeekFrom::Start(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bufR` should have a snake case name [INFO] [stdout] --> src/read.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | let mut bufR = BufReader::new(&rfile.swap); //may replace with with_capacity for large files [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `buf_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "35247035fc7bbc56ee36d5fdc57ea34a6503a20495366b748ec738c0269e59c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35247035fc7bbc56ee36d5fdc57ea34a6503a20495366b748ec738c0269e59c3", kill_on_drop: false }` [INFO] [stdout] 35247035fc7bbc56ee36d5fdc57ea34a6503a20495366b748ec738c0269e59c3