[INFO] cloning repository https://github.com/petrctl/terman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/petrctl/terman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetrctl%2Fterman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetrctl%2Fterman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b4688301ead66a7ab9b245130f69a7e457de4f24 [INFO] checking petrctl/terman against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpetrctl%2Fterman" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/petrctl/terman on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/petrctl/terman [INFO] finished tweaking git repo https://github.com/petrctl/terman [INFO] tweaked toml for git repo https://github.com/petrctl/terman written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/petrctl/terman 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pty v0.2.2 [INFO] [stderr] Downloaded vte v0.8.0 [INFO] [stderr] Downloaded flagset v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3a91e2912fc638bc19dce756d67fe0400622ca8f31b5def64ac205322318447 [INFO] running `Command { std: "docker" "start" "-a" "d3a91e2912fc638bc19dce756d67fe0400622ca8f31b5def64ac205322318447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3a91e2912fc638bc19dce756d67fe0400622ca8f31b5def64ac205322318447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a91e2912fc638bc19dce756d67fe0400622ca8f31b5def64ac205322318447", kill_on_drop: false }` [INFO] [stdout] d3a91e2912fc638bc19dce756d67fe0400622ca8f31b5def64ac205322318447 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2ab265ea307916c76a4314d3540389a3f980860903248e58b1055c493168e10 [INFO] running `Command { std: "docker" "start" "-a" "f2ab265ea307916c76a4314d3540389a3f980860903248e58b1055c493168e10", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking flagset v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking vte v0.8.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking errno v0.1.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking pty v0.2.2 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking terman v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RgbColor` and `SpecialColor` [INFO] [stdout] --> src/ansi/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RgbColor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | SpecialColor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grid::Cell` [INFO] [stdout] --> src/screen/renderer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | grid::Cell, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::terminal_task` [INFO] [stdout] --> src/term/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub use task::terminal_task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P` [INFO] [stdout] --> src/util/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub use point::{Point, P}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RgbColor` and `SpecialColor` [INFO] [stdout] --> src/ansi/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RgbColor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | SpecialColor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grid::Cell` [INFO] [stdout] --> src/screen/renderer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | grid::Cell, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `task::terminal_task` [INFO] [stdout] --> src/term/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub use task::terminal_task; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P` [INFO] [stdout] --> src/util/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub use point::{Point, P}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/pty/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let flags = if NONBLOCK_AFTER_OPEN { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/pty/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let flags = if NONBLOCK_AFTER_OPEN { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_primitive`, `to_blinking`, and `to_static` are never used [INFO] [stdout] --> src/ansi/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl CursorStyle { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn to_primitive(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn to_blinking(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn to_static(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_primitive` is never used [INFO] [stdout] --> src/ansi/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 184 | impl ClipboardType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn to_primitive(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_forward_tabs`, `get_color`, and `reset_all_colors` are never used [INFO] [stdout] --> src/ansi/handler.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Handler { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 116 | fn move_forward_tabs(&mut self, count: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn get_color(&mut self, index: u8) -> Option<&RgbColor>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn reset_all_colors(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/ansi/renderer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Renderer<'a, W: io::Write>(pub &'a mut W); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_attributes` is never used [INFO] [stdout] --> src/ansi/renderer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a, W: io::Write> Renderer<'a, W> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 14 | pub fn render_attributes(&mut self, attributes: &Attributes) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tabstops` and `size` are never read [INFO] [stdout] --> src/grid/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Grid { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | data: Vec, [INFO] [stdout] 21 | tabstops: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub size: Point, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/grid/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Grid { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(size: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn add_line(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn point_to_index(&self, p: Point) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn lines>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn lines_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn selection>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn selection_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn block>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn block_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grid/line.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Line { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `normalize_range` are never used [INFO] [stdout] --> src/grid/iter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LinewisePointGenerator { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] 19 | pub fn new>(range: R, size: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn normalize_range>(range: R, size: Point) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `normalize_range` are never used [INFO] [stdout] --> src/grid/iter.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl BlockwisePointGenerator { [INFO] [stdout] | ---------------------------- associated functions in this implementation [INFO] [stdout] 75 | pub fn new>(range: R, size: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn normalize_range>(range: R, size: Point) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection` and `lines` are never used [INFO] [stdout] --> src/grid/iter.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'a> GridIterator<'a, LinewisePointGenerator> [INFO] [stdout] | ------------------------------------------------- associated functions in this implementation [INFO] [stdout] 123 | { [INFO] [stdout] 124 | pub fn selection(grid: &'a Grid, range: R) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn lines>(grid: &'a Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/grid/iter.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl<'a> GridIterator<'a, BlockwisePointGenerator> { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 158 | pub fn block>(grid: &'a Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection` and `lines` are never used [INFO] [stdout] --> src/grid/iter.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl<'a> GridMutIterator<'a, LinewisePointGenerator> [INFO] [stdout] | ---------------------------------------------------- associated functions in this implementation [INFO] [stdout] 187 | { [INFO] [stdout] 188 | pub fn selection(grid: &'a mut Grid, range: R) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn lines>(grid: &'a mut Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/grid/iter.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> GridMutIterator<'a, BlockwisePointGenerator> { [INFO] [stdout] | ----------------------------------------------------- associated function in this implementation [INFO] [stdout] 221 | pub fn block>(grid: &'a mut Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `set_size`, `get_size`, `set_mode`, and `get_mode` are never used [INFO] [stdout] --> src/pty/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Pty { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 144 | pub fn new(file: F) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn open() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn set_size(&mut self, size: Point) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_size(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_mode(&mut self, mode: &Termios) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_mode(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_pty` is never used [INFO] [stdout] --> src/pty/mod.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub trait WithPty { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 295 | fn with_pty(&mut self, master: &Pty) -> Result<&mut Self>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split` is never used [INFO] [stdout] --> src/pty/split.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn split(pty: Pty) -> (PtyReader, PtyWriter) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `cell` are never used [INFO] [stdout] --> src/screen/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Screen { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 43 | pub fn new(size: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn cell<'a>(&'a self, point: Point) -> Option<&'a Cell> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `renderer` is never used [INFO] [stdout] --> src/screen/renderer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn renderer( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenRenderer` is never constructed [INFO] [stdout] --> src/screen/renderer.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ScreenRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_loop` and `render_screen` are never used [INFO] [stdout] --> src/screen/renderer.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 57 | impl ScreenRenderer { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] 58 | pub async fn run_loop(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn render_screen(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty` is never read [INFO] [stdout] --> src/term/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub dirty: AtomicBool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `spawn`, `alive`, `pty_write`, `pty_flush`, and `pty_shutdown` are never used [INFO] [stdout] --> src/term/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Terminal { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 52 | pub fn spawn(mut command: Command, size: Point) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn alive(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn pty_write<'a>(&'a self, buf: &'a [u8]) -> fut::Write<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn pty_flush<'a>(&'a self) -> fut::Flush<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn pty_shutdown<'a>(&'a self) -> fut::Shutdown<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/term/task.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> TerminalTask<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(terminal: &'a Terminal, notifier: ScreenRendererNotifier) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `terminal_task` is never used [INFO] [stdout] --> src/term/task.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn terminal_task(terminal: &Terminal, notifier: ScreenRendererNotifier) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/util/point.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 27 | #[inline] [INFO] [stdout] 28 | pub fn new(x: usize, y: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P` is never used [INFO] [stdout] --> src/util/point.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn P(x: usize, y: usize) -> Point { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_primitive`, `to_blinking`, and `to_static` are never used [INFO] [stdout] --> src/ansi/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl CursorStyle { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn to_primitive(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn to_blinking(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn to_static(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_primitive` is never used [INFO] [stdout] --> src/ansi/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 184 | impl ClipboardType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn to_primitive(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_forward_tabs`, `get_color`, and `reset_all_colors` are never used [INFO] [stdout] --> src/ansi/handler.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Handler { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 116 | fn move_forward_tabs(&mut self, count: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn get_color(&mut self, index: u8) -> Option<&RgbColor>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn reset_all_colors(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Renderer` is never constructed [INFO] [stdout] --> src/ansi/renderer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Renderer<'a, W: io::Write>(pub &'a mut W); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_attributes` is never used [INFO] [stdout] --> src/ansi/renderer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a, W: io::Write> Renderer<'a, W> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 14 | pub fn render_attributes(&mut self, attributes: &Attributes) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tabstops` and `size` are never read [INFO] [stdout] --> src/grid/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Grid { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | data: Vec, [INFO] [stdout] 21 | tabstops: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub size: Point, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/grid/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Grid { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 26 | pub fn new(size: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn add_line(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn point_to_index(&self, p: Point) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn lines>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn lines_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn selection>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn selection_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn block>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn block_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/grid/line.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Line { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection` and `lines` are never used [INFO] [stdout] --> src/grid/iter.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'a> GridIterator<'a, LinewisePointGenerator> [INFO] [stdout] | ------------------------------------------------- associated functions in this implementation [INFO] [stdout] 123 | { [INFO] [stdout] 124 | pub fn selection(grid: &'a Grid, range: R) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn lines>(grid: &'a Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/grid/iter.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl<'a> GridIterator<'a, BlockwisePointGenerator> { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 158 | pub fn block>(grid: &'a Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection` and `lines` are never used [INFO] [stdout] --> src/grid/iter.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl<'a> GridMutIterator<'a, LinewisePointGenerator> [INFO] [stdout] | ---------------------------------------------------- associated functions in this implementation [INFO] [stdout] 187 | { [INFO] [stdout] 188 | pub fn selection(grid: &'a mut Grid, range: R) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn lines>(grid: &'a mut Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/grid/iter.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> GridMutIterator<'a, BlockwisePointGenerator> { [INFO] [stdout] | ----------------------------------------------------- associated function in this implementation [INFO] [stdout] 221 | pub fn block>(grid: &'a mut Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `set_size`, `get_size`, `set_mode`, and `get_mode` are never used [INFO] [stdout] --> src/pty/mod.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Pty { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 144 | pub fn new(file: F) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn open() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn set_size(&mut self, size: Point) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn get_size(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_mode(&mut self, mode: &Termios) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_mode(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_pty` is never used [INFO] [stdout] --> src/pty/mod.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 294 | pub trait WithPty { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 295 | fn with_pty(&mut self, master: &Pty) -> Result<&mut Self>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split` is never used [INFO] [stdout] --> src/pty/split.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn split(pty: Pty) -> (PtyReader, PtyWriter) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `cell` are never used [INFO] [stdout] --> src/screen/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Screen { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 43 | pub fn new(size: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn cell<'a>(&'a self, point: Point) -> Option<&'a Cell> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `renderer` is never used [INFO] [stdout] --> src/screen/renderer.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn renderer( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScreenRenderer` is never constructed [INFO] [stdout] --> src/screen/renderer.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct ScreenRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `run_loop` and `render_screen` are never used [INFO] [stdout] --> src/screen/renderer.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 57 | impl ScreenRenderer { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] 58 | pub async fn run_loop(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | fn render_screen(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty` is never read [INFO] [stdout] --> src/term/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub dirty: AtomicBool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `spawn`, `alive`, `pty_write`, `pty_flush`, and `pty_shutdown` are never used [INFO] [stdout] --> src/term/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Terminal { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 52 | pub fn spawn(mut command: Command, size: Point) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn alive(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn pty_write<'a>(&'a self, buf: &'a [u8]) -> fut::Write<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn pty_flush<'a>(&'a self) -> fut::Flush<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn pty_shutdown<'a>(&'a self) -> fut::Shutdown<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/term/task.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'a> TerminalTask<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 33 | pub fn new(terminal: &'a Terminal, notifier: ScreenRendererNotifier) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `terminal_task` is never used [INFO] [stdout] --> src/term/task.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn terminal_task(terminal: &Terminal, notifier: ScreenRendererNotifier) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RgbColor` and `SpecialColor` [INFO] [stdout] --> src/ansi/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RgbColor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | SpecialColor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grid::Cell` [INFO] [stdout] --> src/screen/renderer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | grid::Cell, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P` [INFO] [stdout] --> src/util/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub use point::{Point, P}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RgbColor` and `SpecialColor` [INFO] [stdout] --> src/ansi/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | RgbColor, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | SpecialColor, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `grid::Cell` [INFO] [stdout] --> src/screen/renderer.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | grid::Cell, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `P` [INFO] [stdout] --> src/util/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub use point::{Point, P}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/pty/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let flags = if NONBLOCK_AFTER_OPEN { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/pty/mod.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | let flags = if NONBLOCK_AFTER_OPEN { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_non_blocking` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn set_non_blocking(fd: RawFd) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_primitive`, `to_blinking`, and `to_static` are never used [INFO] [stdout] --> src/ansi/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl CursorStyle { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn to_primitive(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn to_blinking(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn to_static(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_primitive` is never used [INFO] [stdout] --> src/ansi/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 184 | impl ClipboardType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn to_primitive(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_forward_tabs`, `get_color`, and `reset_all_colors` are never used [INFO] [stdout] --> src/ansi/handler.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Handler { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 116 | fn move_forward_tabs(&mut self, count: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn get_color(&mut self, index: u8) -> Option<&RgbColor>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn reset_all_colors(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tabstops` and `size` are never read [INFO] [stdout] --> src/grid/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Grid { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | data: Vec, [INFO] [stdout] 21 | tabstops: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub size: Point, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/grid/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn add_line(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn point_to_index(&self, p: Point) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn lines>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn lines_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn selection>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn selection_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn block>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn block_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `normalize_range` are never used [INFO] [stdout] --> src/grid/iter.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LinewisePointGenerator { [INFO] [stdout] | --------------------------- associated functions in this implementation [INFO] [stdout] 19 | pub fn new>(range: R, size: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn normalize_range>(range: R, size: Point) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `normalize_range` are never used [INFO] [stdout] --> src/grid/iter.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl BlockwisePointGenerator { [INFO] [stdout] | ---------------------------- associated functions in this implementation [INFO] [stdout] 75 | pub fn new>(range: R, size: Point) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn normalize_range>(range: R, size: Point) -> Range { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection` and `lines` are never used [INFO] [stdout] --> src/grid/iter.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'a> GridIterator<'a, LinewisePointGenerator> [INFO] [stdout] | ------------------------------------------------- associated functions in this implementation [INFO] [stdout] 123 | { [INFO] [stdout] 124 | pub fn selection(grid: &'a Grid, range: R) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn lines>(grid: &'a Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/grid/iter.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl<'a> GridIterator<'a, BlockwisePointGenerator> { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 158 | pub fn block>(grid: &'a Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection` and `lines` are never used [INFO] [stdout] --> src/grid/iter.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl<'a> GridMutIterator<'a, LinewisePointGenerator> [INFO] [stdout] | ---------------------------------------------------- associated functions in this implementation [INFO] [stdout] 187 | { [INFO] [stdout] 188 | pub fn selection(grid: &'a mut Grid, range: R) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn lines>(grid: &'a mut Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/grid/iter.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> GridMutIterator<'a, BlockwisePointGenerator> { [INFO] [stdout] | ----------------------------------------------------- associated function in this implementation [INFO] [stdout] 221 | pub fn block>(grid: &'a mut Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mode` and `get_mode` are never used [INFO] [stdout] --> src/pty/mod.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Pty { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_mode(&mut self, mode: &Termios) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_mode(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty` is never read [INFO] [stdout] --> src/term/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub dirty: AtomicBool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pty_shutdown` is never used [INFO] [stdout] --> src/term/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Terminal { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn pty_shutdown<'a>(&'a self) -> fut::Shutdown<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `P` is never used [INFO] [stdout] --> src/util/point.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn P(x: usize, y: usize) -> Point { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_non_blocking` is never used [INFO] [stdout] --> src/main.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn set_non_blocking(fd: RawFd) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_primitive`, `to_blinking`, and `to_static` are never used [INFO] [stdout] --> src/ansi/mod.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 118 | impl CursorStyle { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn to_primitive(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn to_blinking(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn to_static(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_primitive` is never used [INFO] [stdout] --> src/ansi/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 184 | impl ClipboardType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn to_primitive(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_forward_tabs`, `get_color`, and `reset_all_colors` are never used [INFO] [stdout] --> src/ansi/handler.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub trait Handler { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 116 | fn move_forward_tabs(&mut self, count: usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn get_color(&mut self, index: u8) -> Option<&RgbColor>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn reset_all_colors(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tabstops` and `size` are never read [INFO] [stdout] --> src/grid/mod.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Grid { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | data: Vec, [INFO] [stdout] 21 | tabstops: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub size: Point, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/grid/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Grid { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn add_line(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn point_to_index(&self, p: Point) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn lines>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn lines_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn selection>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn selection_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn block>(&self, range: R) -> GridIterator { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn block_mut>(&mut self, range: R) -> GridMutIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection` and `lines` are never used [INFO] [stdout] --> src/grid/iter.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 122 | impl<'a> GridIterator<'a, LinewisePointGenerator> [INFO] [stdout] | ------------------------------------------------- associated functions in this implementation [INFO] [stdout] 123 | { [INFO] [stdout] 124 | pub fn selection(grid: &'a Grid, range: R) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn lines>(grid: &'a Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/grid/iter.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl<'a> GridIterator<'a, BlockwisePointGenerator> { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 158 | pub fn block>(grid: &'a Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `selection` and `lines` are never used [INFO] [stdout] --> src/grid/iter.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl<'a> GridMutIterator<'a, LinewisePointGenerator> [INFO] [stdout] | ---------------------------------------------------- associated functions in this implementation [INFO] [stdout] 187 | { [INFO] [stdout] 188 | pub fn selection(grid: &'a mut Grid, range: R) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn lines>(grid: &'a mut Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `block` is never used [INFO] [stdout] --> src/grid/iter.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 220 | impl<'a> GridMutIterator<'a, BlockwisePointGenerator> { [INFO] [stdout] | ----------------------------------------------------- associated function in this implementation [INFO] [stdout] 221 | pub fn block>(grid: &'a mut Grid, range: R) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mode` and `get_mode` are never used [INFO] [stdout] --> src/pty/mod.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl Pty { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn set_mode(&mut self, mode: &Termios) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn get_mode(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty` is never read [INFO] [stdout] --> src/term/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Terminal { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | pub dirty: AtomicBool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pty_shutdown` is never used [INFO] [stdout] --> src/term/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Terminal { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn pty_shutdown<'a>(&'a self) -> fut::Shutdown<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.38s [INFO] running `Command { std: "docker" "inspect" "f2ab265ea307916c76a4314d3540389a3f980860903248e58b1055c493168e10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ab265ea307916c76a4314d3540389a3f980860903248e58b1055c493168e10", kill_on_drop: false }` [INFO] [stdout] f2ab265ea307916c76a4314d3540389a3f980860903248e58b1055c493168e10