[INFO] fetching crate sbyte 0.2.0... [INFO] checking sbyte-0.2.0 against try#bb9dbf1d07454a99066eabaabd5819851281494b for pr-80920 [INFO] extracting crate sbyte 0.2.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate sbyte 0.2.0 on toolchain bb9dbf1d07454a99066eabaabd5819851281494b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sbyte 0.2.0 [INFO] finished tweaking crates.io crate sbyte 0.2.0 [INFO] tweaked toml for crates.io crate sbyte 0.2.0 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate sbyte 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wrecked v0.1.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "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] 7e8b0ab7d0a5ac2e09fe710598d99d01dfa03ca469e4dba98be73002b83e3cd0 [INFO] running `Command { std: "docker" "start" "-a" "7e8b0ab7d0a5ac2e09fe710598d99d01dfa03ca469e4dba98be73002b83e3cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e8b0ab7d0a5ac2e09fe710598d99d01dfa03ca469e4dba98be73002b83e3cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e8b0ab7d0a5ac2e09fe710598d99d01dfa03ca469e4dba98be73002b83e3cd0", kill_on_drop: false }` [INFO] [stdout] 7e8b0ab7d0a5ac2e09fe710598d99d01dfa03ca469e4dba98be73002b83e3cd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16d1f6d325379d16bb2f957bbe334042be6cae1a316537b24607695732fd2552 [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" "16d1f6d325379d16bb2f957bbe334042be6cae1a316537b24607695732fd2552", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking wrecked v0.1.13 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking ctrlc v3.1.7 [INFO] [stderr] Checking sbyte v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/sbyte_editor.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/sbyte_editor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/sbyte_editor.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{time, thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/sbyte_editor.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Mutex, Arc}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sbyte_editor.rs:613:28 [INFO] [stdout] | [INFO] [stdout] 613 | if (hit.end() - hit.start() == 2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/sbyte_editor.rs:655:56 [INFO] [stdout] | [INFO] [stdout] 655 | ... testn += 2_u32.pow((wildcard_indeces[j] as u32)) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/console_displayer.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::{min, max}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/console_displayer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sbyte_editor::tests` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sbyte_editor::tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/sbyte_editor.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/sbyte_editor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/sbyte_editor.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{time, thread}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/sbyte_editor.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::{Mutex, Arc}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sbyte_editor.rs:613:28 [INFO] [stdout] | [INFO] [stdout] 613 | if (hit.end() - hit.start() == 2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/sbyte_editor.rs:655:56 [INFO] [stdout] | [INFO] [stdout] 655 | ... testn += 2_u32.pow((wildcard_indeces[j] as u32)) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `min` [INFO] [stdout] --> src/console_displayer.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::{min, max}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/console_displayer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sbyte_editor::tests` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sbyte_editor::tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/sbyte_editor.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | for j in *start..*end { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modded_string` [INFO] [stdout] --> src/sbyte_editor.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | let mut modded_string: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modded_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sbyte_editor.rs:650:29 [INFO] [stdout] | [INFO] [stdout] 650 | for i in 0 .. 2_u32.pow(wildcard_indeces.len() as u32) as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sbyte_editor.rs:677:21 [INFO] [stdout] | [INFO] [stdout] 677 | Err(e) => { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sbyte_editor.rs:709:21 [INFO] [stdout] | [INFO] [stdout] 709 | Err(e) => { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sbyte_editor.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | Err(e) => { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sbyte_editor.rs:753:17 [INFO] [stdout] | [INFO] [stdout] 753 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_cursor_length` [INFO] [stdout] --> src/input_interface.rs:1033:13 [INFO] [stdout] | [INFO] [stdout] 1033 | let mut new_cursor_length = self.backend.get_cursor_length(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_cursor_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/console_displayer.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let (width, height) = rectmanager.get_rect_size(wrecked::TOP).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/console_displayer.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let (width, height) = rectmanager.get_rect_size(wrecked::TOP).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vheight` [INFO] [stdout] --> src/console_displayer.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | let (vwidth, vheight) = sbyte_editor.get_viewport_size(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vheight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/console_displayer.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut frontend = FrontEnd::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sbyte_editor.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | let mut modded_string: bool = false; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/sbyte_editor.rs:504:17 [INFO] [stdout] | [INFO] [stdout] 504 | for j in *start..*end { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modded_string` [INFO] [stdout] --> src/sbyte_editor.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | let mut modded_string: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modded_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sbyte_editor.rs:650:29 [INFO] [stdout] | [INFO] [stdout] 650 | for i in 0 .. 2_u32.pow(wildcard_indeces.len() as u32) as usize { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sbyte_editor.rs:677:21 [INFO] [stdout] | [INFO] [stdout] 677 | Err(e) => { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sbyte_editor.rs:709:21 [INFO] [stdout] | [INFO] [stdout] 709 | Err(e) => { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sbyte_editor.rs:738:21 [INFO] [stdout] | [INFO] [stdout] 738 | Err(e) => { } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/sbyte_editor.rs:753:17 [INFO] [stdout] | [INFO] [stdout] 753 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_cursor_length` [INFO] [stdout] --> src/input_interface.rs:1033:13 [INFO] [stdout] | [INFO] [stdout] 1033 | let mut new_cursor_length = self.backend.get_cursor_length(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_cursor_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/console_displayer.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let (width, height) = rectmanager.get_rect_size(wrecked::TOP).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/console_displayer.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | let (width, height) = rectmanager.get_rect_size(wrecked::TOP).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vheight` [INFO] [stdout] --> src/console_displayer.rs:513:22 [INFO] [stdout] | [INFO] [stdout] 513 | let (vwidth, vheight) = sbyte_editor.get_viewport_size(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vheight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/console_displayer.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut frontend = FrontEnd::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/input_interface.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | let mut buffer = mutex.get_buffer(); [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_interface.rs:554:26 [INFO] [stdout] | [INFO] [stdout] 554 | Some(mut commandline) => { [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_interface.rs:620:26 [INFO] [stdout] | [INFO] [stdout] 620 | Some(mut commandline) => { [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_interface.rs:630:26 [INFO] [stdout] | [INFO] [stdout] 630 | Some(mut commandline) => { [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_interface.rs:668:34 [INFO] [stdout] | [INFO] [stdout] 668 | ... Some(mut commandline) => { [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_interface.rs:719:26 [INFO] [stdout] | [INFO] [stdout] 719 | Some(mut commandline) => { [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_interface.rs:892:13 [INFO] [stdout] | [INFO] [stdout] 892 | let mut screensize = self.frontend.size(); [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_interface.rs:1032:13 [INFO] [stdout] | [INFO] [stdout] 1032 | let mut next_offset = current_offset; [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_interface.rs:1033:13 [INFO] [stdout] | [INFO] [stdout] 1033 | let mut new_cursor_length = self.backend.get_cursor_length(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.backend` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/input_interface.rs:1304:33 [INFO] [stdout] | [INFO] [stdout] 1302 | match self.backend.get_active_file_path() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 1303 | Some(file_path) => { [INFO] [stdout] 1304 | self.backend.set_user_msg(&format!("Saved to file: {}", file_path)); [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here --------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sbyte_editor.rs:603:13 [INFO] [stdout] | [INFO] [stdout] 603 | let mut modded_string: bool = false; [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/console_displayer.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | let mut active_content = sbyte_editor.get_active_content(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_string` [INFO] [stdout] --> src/sbyte_editor/converter.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn decode_string(&self, string: String) -> Result, ConverterError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/sbyte_editor.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | register: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_input_context` [INFO] [stdout] --> src/sbyte_editor.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | flag_input_context: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `new_input_sequences` [INFO] [stdout] --> src/sbyte_editor.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | new_input_sequences: Vec<(String, String, String)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace` [INFO] [stdout] --> src/sbyte_editor.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 498 | fn replace(&mut self, search_for: &str, replace_with: Vec) -> Result<(), SbyteError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `input` [INFO] [stdout] --> src/input_interface.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn input(&mut self, new_input: u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_input_context` [INFO] [stdout] --> src/input_interface.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | flag_input_context: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lower_flag` [INFO] [stdout] --> src/console_displayer.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn lower_flag(&mut self, key: Flag) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/input_interface.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | let mut buffer = mutex.get_buffer(); [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_interface.rs:554:26 [INFO] [stdout] | [INFO] [stdout] 554 | Some(mut commandline) => { [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_interface.rs:620:26 [INFO] [stdout] | [INFO] [stdout] 620 | Some(mut commandline) => { [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_interface.rs:630:26 [INFO] [stdout] | [INFO] [stdout] 630 | Some(mut commandline) => { [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_interface.rs:668:34 [INFO] [stdout] | [INFO] [stdout] 668 | ... Some(mut commandline) => { [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_interface.rs:719:26 [INFO] [stdout] | [INFO] [stdout] 719 | Some(mut commandline) => { [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_interface.rs:892:13 [INFO] [stdout] | [INFO] [stdout] 892 | let mut screensize = self.frontend.size(); [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_interface.rs:1032:13 [INFO] [stdout] | [INFO] [stdout] 1032 | let mut next_offset = current_offset; [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_interface.rs:1033:13 [INFO] [stdout] | [INFO] [stdout] 1033 | let mut new_cursor_length = self.backend.get_cursor_length(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `self.backend` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/input_interface.rs:1304:33 [INFO] [stdout] | [INFO] [stdout] 1302 | match self.backend.get_active_file_path() { [INFO] [stdout] | ------------ immutable borrow occurs here [INFO] [stdout] 1303 | Some(file_path) => { [INFO] [stdout] 1304 | self.backend.set_user_msg(&format!("Saved to file: {}", file_path)); [INFO] [stdout] | ^^^^^^^^^^^^ mutable borrow occurs here --------- immutable borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/input_interface.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | self.backend.redo(); [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/console_displayer.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | self.rectmanager.resize(self.rect_offset, offset_display.len(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/console_displayer.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | self.rectmanager.set_position(self.rect_offset, x as isize, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/console_displayer.rs:606:13 [INFO] [stdout] | [INFO] [stdout] 606 | let mut active_content = sbyte_editor.get_active_content(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decode_string` [INFO] [stdout] --> src/sbyte_editor/converter.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn decode_string(&self, string: String) -> Result, ConverterError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `register` [INFO] [stdout] --> src/sbyte_editor.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | register: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_input_context` [INFO] [stdout] --> src/sbyte_editor.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | flag_input_context: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `new_input_sequences` [INFO] [stdout] --> src/sbyte_editor.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | new_input_sequences: Vec<(String, String, String)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `replace` [INFO] [stdout] --> src/sbyte_editor.rs:498:8 [INFO] [stdout] | [INFO] [stdout] 498 | fn replace(&mut self, search_for: &str, replace_with: Vec) -> Result<(), SbyteError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `input` [INFO] [stdout] --> src/input_interface.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn input(&mut self, new_input: u8) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `flag_input_context` [INFO] [stdout] --> src/input_interface.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | flag_input_context: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `lower_flag` [INFO] [stdout] --> src/console_displayer.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn lower_flag(&mut self, key: Flag) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/input_interface.rs:1162:13 [INFO] [stdout] | [INFO] [stdout] 1162 | self.backend.redo(); [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: unused `std::result::Result` that must be used [INFO] [stdout] --> src/console_displayer.rs:636:9 [INFO] [stdout] | [INFO] [stdout] 636 | self.rectmanager.resize(self.rect_offset, offset_display.len(), 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/console_displayer.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | self.rectmanager.set_position(self.rect_offset, x as isize, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.20s [INFO] running `Command { std: "docker" "inspect" "16d1f6d325379d16bb2f957bbe334042be6cae1a316537b24607695732fd2552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16d1f6d325379d16bb2f957bbe334042be6cae1a316537b24607695732fd2552", kill_on_drop: false }` [INFO] [stdout] 16d1f6d325379d16bb2f957bbe334042be6cae1a316537b24607695732fd2552