[INFO] fetching crate resolver-notepad 0.3.0... [INFO] checking resolver-notepad-0.3.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate resolver-notepad 0.3.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate resolver-notepad 0.3.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate resolver-notepad 0.3.0 [INFO] finished tweaking crates.io crate resolver-notepad 0.3.0 [INFO] tweaked toml for crates.io crate resolver-notepad 0.3.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate resolver-notepad 0.3.0 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook v0.3.14 [INFO] [stderr] Downloaded crossterm_winapi v0.9.0 [INFO] [stderr] Downloaded clap_derive v3.2.18 [INFO] [stderr] Downloaded textwrap v0.15.1 [INFO] [stderr] Downloaded syn v1.0.100 [INFO] [stderr] Downloaded clap v3.2.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 899f7eb9bdb6154c0c678853c4a5b0c415f263bbe77c7e1ffa5617bfea7c2e54 [INFO] running `Command { std: "docker" "start" "-a" "899f7eb9bdb6154c0c678853c4a5b0c415f263bbe77c7e1ffa5617bfea7c2e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899f7eb9bdb6154c0c678853c4a5b0c415f263bbe77c7e1ffa5617bfea7c2e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899f7eb9bdb6154c0c678853c4a5b0c415f263bbe77c7e1ffa5617bfea7c2e54", kill_on_drop: false }` [INFO] [stdout] 899f7eb9bdb6154c0c678853c4a5b0c415f263bbe77c7e1ffa5617bfea7c2e54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8ff3c67498f02f5acd54c904287fe246daa835e6a2055bc1fb92cfee8f0dcf8 [INFO] running `Command { std: "docker" "start" "-a" "f8ff3c67498f02f5acd54c904287fe246daa835e6a2055bc1fb92cfee8f0dcf8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking os_str_bytes v6.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.1 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Compiling clap_derive v3.2.18 [INFO] [stderr] Checking clap v3.2.22 [INFO] [stderr] Checking resolver-notepad v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/editor/writer.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use crossterm::style::{Color, Stylize}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::rdl` [INFO] [stdout] --> src/rdl/parse.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::rdl; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/rdl/parse.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::rdl::exec::{Context, Node}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> src/editor/writer.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use crossterm::style::{Color, Stylize}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rdl/error.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl IOError { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(msg: &str) -> IOError { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_message` is never used [INFO] [stdout] --> src/rdl/error.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 36 | impl AssertionFailed { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_with_message(msg: &str) -> AssertionFailed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RBRACE` is never used [INFO] [stdout] --> src/rdl/scan.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const RBRACE: char = '}'; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLON` is never used [INFO] [stdout] --> src/rdl/scan.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const COLON: char = ':'; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUOTE` is never used [INFO] [stdout] --> src/rdl/scan.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const QUOTE: char = '"'; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMA` is never used [INFO] [stdout] --> src/rdl/scan.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const COMMA: char = ','; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `String` is never constructed [INFO] [stdout] --> src/rdl/scan.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum TType { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TType` 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: methods `peek_fn`, `expect`, `scan_ident`, `skip_ws`, and `string` are never used [INFO] [stdout] --> src/rdl/scan.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a> Scanner<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn peek_fn(&mut self, check: impl Fn(char) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn expect(&mut self, e: char) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn scan_ident(&mut self) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | fn skip_ws(&mut self) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | fn string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rdl/exec.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl Context { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Context { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `up`, `min`, `max`, and `is_convertable` are never used [INFO] [stdout] --> src/rdl/unit.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 38 | impl Unit { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn up(&self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn min(&self) -> Unit { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn max(&self) -> Unit { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn is_convertable(&self, to: Unit) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `option`, `value`, `unit`, `is_compatible`, `base`, and `pack` are never used [INFO] [stdout] --> src/rdl/unit.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 162 | impl Value { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn option(v: f64, u: Option) -> Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn value(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn unit(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn is_compatible(&self, with: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | fn base(&self) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn pack(&self) -> Value { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug_text` and `debug_text_range` are never used [INFO] [stdout] --> src/text/mod.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 35 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn debug_text<'a>(&self, text: &'a str, idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn debug_text_range<'a>(&self, text: &'a str, rng: ops::Range) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_with_str` and `new_with_string` are never used [INFO] [stdout] --> src/text/mod.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 137 | impl Content { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 138 | pub fn new_with_str(text: &str, width: usize) -> Content { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn new_with_string(text: String, width: usize) -> Content { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/text/mod.rs:239:10 [INFO] [stdout] | [INFO] [stdout] 227 | impl Text { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn new_with_str(width: usize, text: &str) -> Text { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 305 | fn line_with_offset<'a>(&'a self, bix: usize) -> Option<&'a Line> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn index_for_offset<'a>(&'a self, bix: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn debug_text_for_index<'a>(&self, idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn debug_text_for_range<'a>(&self, rng: ops::Range) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn selection(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | pub fn selected_text<'a>(&'a self) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | fn to_rel(&mut self, movement: Movement) -> Pos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | fn to_abs(&mut self, idx: usize) -> Pos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn up_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | pub fn down_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn left_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 573 | pub fn right_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | pub fn home_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | pub fn end_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub fn delete_rel(&mut self, rng: ops::Range) -> Pos { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 716 | pub fn select_rel(&mut self, rng: Option>, extend: bool) -> Pos { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 727 | pub fn backspace(&mut self, idx: usize) -> Pos { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 738 | pub fn backspace_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Markup` is never constructed [INFO] [stdout] --> src/text/attrs.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] 10 | Terminal, [INFO] [stdout] 11 | Markup, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Mode` 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: method `render` is never used [INFO] [stdout] --> src/text/attrs.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl Attributes { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn render(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `spans`, `render`, and `render_with_mode` are never used [INFO] [stdout] --> src/text/attrs.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 127 | impl Attributed { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new() -> Attributed { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn spans<'a>(&'a self) -> &'a Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn render(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | fn render_with_mode(&self, mode: Mode) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Select` is never constructed [INFO] [stdout] --> src/text/action.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Operation { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Move, [INFO] [stdout] 16 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/rdl/error.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 11 | impl IOError { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new(msg: &str) -> IOError { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_with_message` is never used [INFO] [stdout] --> src/rdl/error.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 36 | impl AssertionFailed { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new_with_message(msg: &str) -> AssertionFailed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RBRACE` is never used [INFO] [stdout] --> src/rdl/scan.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const RBRACE: char = '}'; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COLON` is never used [INFO] [stdout] --> src/rdl/scan.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const COLON: char = ':'; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUOTE` is never used [INFO] [stdout] --> src/rdl/scan.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const QUOTE: char = '"'; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMA` is never used [INFO] [stdout] --> src/rdl/scan.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const COMMA: char = ','; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `String` is never constructed [INFO] [stdout] --> src/rdl/scan.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum TType { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 33 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TType` 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: methods `peek_fn`, `expect`, `scan_ident`, `skip_ws`, and `string` are never used [INFO] [stdout] --> src/rdl/scan.rs:158:10 [INFO] [stdout] | [INFO] [stdout] 95 | impl<'a> Scanner<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn peek_fn(&mut self, check: impl Fn(char) -> bool) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn expect(&mut self, e: char) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | fn scan_ident(&mut self) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | fn skip_ws(&mut self) -> Result<(), error::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | fn string(&mut self) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `max` and `is_convertable` are never used [INFO] [stdout] --> src/rdl/unit.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 38 | impl Unit { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn max(&self) -> Unit { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn is_convertable(&self, to: Unit) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `option`, `value`, `unit`, and `is_compatible` are never used [INFO] [stdout] --> src/rdl/unit.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 162 | impl Value { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn option(v: f64, u: Option) -> Value { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn value(&self) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn unit(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn is_compatible(&self, with: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug_text` and `debug_text_range` are never used [INFO] [stdout] --> src/text/mod.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 35 | impl Line { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn debug_text<'a>(&self, text: &'a str, idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn debug_text_range<'a>(&self, text: &'a str, rng: ops::Range) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_with_str` and `new_with_string` are never used [INFO] [stdout] --> src/text/mod.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 137 | impl Content { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 138 | pub fn new_with_str(text: &str, width: usize) -> Content { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn new_with_string(text: String, width: usize) -> Content { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/text/mod.rs:340:6 [INFO] [stdout] | [INFO] [stdout] 227 | impl Text { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 340 | fn debug_text_for_index<'a>(&self, idx: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 348 | fn debug_text_for_range<'a>(&self, rng: ops::Range) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | fn to_rel(&mut self, movement: Movement) -> Pos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 514 | pub fn up_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn left_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | pub fn home_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | pub fn end_rel(&mut self) -> Pos { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | pub fn delete_rel(&mut self, rng: ops::Range) -> Pos { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render` is never used [INFO] [stdout] --> src/text/attrs.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl Attributes { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn render(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `spans`, and `render` are never used [INFO] [stdout] --> src/text/attrs.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 127 | impl Attributed { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 128 | pub fn new() -> Attributed { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn spans<'a>(&'a self) -> &'a Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn render(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Select` is never constructed [INFO] [stdout] --> src/text/action.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum Operation { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 15 | Move, [INFO] [stdout] 16 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.37s [INFO] running `Command { std: "docker" "inspect" "f8ff3c67498f02f5acd54c904287fe246daa835e6a2055bc1fb92cfee8f0dcf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ff3c67498f02f5acd54c904287fe246daa835e6a2055bc1fb92cfee8f0dcf8", kill_on_drop: false }` [INFO] [stdout] f8ff3c67498f02f5acd54c904287fe246daa835e6a2055bc1fb92cfee8f0dcf8