[INFO] cloning repository https://github.com/mysangle/podocpodoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mysangle/podocpodoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmysangle%2Fpodocpodoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmysangle%2Fpodocpodoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df760dd8085ffa6da016cabac14cab2cff7d3ea7 [INFO] testing mysangle/podocpodoc against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmysangle%2Fpodocpodoc" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mysangle/podocpodoc [INFO] finished tweaking git repo https://github.com/mysangle/podocpodoc [INFO] tweaked toml for git repo https://github.com/mysangle/podocpodoc written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mysangle/podocpodoc on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mysangle/podocpodoc 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3e0c55ef5277ffcdb0f6f6e1d6ed1d693d6cb723ee74d55e3d24169dad46f52 [INFO] running `Command { std: "docker" "start" "-a" "e3e0c55ef5277ffcdb0f6f6e1d6ed1d693d6cb723ee74d55e3d24169dad46f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3e0c55ef5277ffcdb0f6f6e1d6ed1d693d6cb723ee74d55e3d24169dad46f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3e0c55ef5277ffcdb0f6f6e1d6ed1d693d6cb723ee74d55e3d24169dad46f52", kill_on_drop: false }` [INFO] [stdout] e3e0c55ef5277ffcdb0f6f6e1d6ed1d693d6cb723ee74d55e3d24169dad46f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e3f3fcaf542aca4392dca65e28e1c26b80a19833d6c5d03de2b859c163e5d72 [INFO] running `Command { std: "docker" "start" "-a" "1e3f3fcaf542aca4392dca65e28e1c26b80a19833d6c5d03de2b859c163e5d72", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling podocpodoc v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `buffer_rope::BufferRope` [INFO] [stdout] --> src/editor/uicomponents/view/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use buffer_rope::BufferRope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 174 | pub fn width_until(&self, _idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_LINE_NUM_WIDTH` [INFO] [stdout] | [INFO] [stdout] 174 - pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] 174 + pub fn width_until(&self, editor::uicomponents::view::MIN_LINE_NUM_WIDTH: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/searchresulthighlighter.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | fn highlight_string(&mut self, _idx: LineIdx, line_str: &str) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_LINE_NUM_WIDTH` [INFO] [stdout] | [INFO] [stdout] 63 - fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stdout] 63 + fn highlight_string(&mut self, editor::uicomponents::view::MIN_LINE_NUM_WIDTH: LineIdx, line_str: &str) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_str` [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/searchresulthighlighter.rs:63:50 [INFO] [stdout] | [INFO] [stdout] 63 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edit_command` [INFO] [stdout] --> src/editor/mod.rs:343:18 [INFO] [stdout] | [INFO] [stdout] 343 | Edit(edit_command) => {}, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edit_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Select` is never constructed [INFO] [stdout] --> src/editor/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Select = 1, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Resize` is never constructed [INFO] [stdout] --> src/editor/command/system.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum System { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 9 | Resize(Size), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `System` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_annotated_row` is never used [INFO] [stdout] --> src/editor/terminal/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Terminal { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn print_annotated_row( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferRope` is never constructed [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BufferRope { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BufferRope { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn load(file_name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub const fn is_dirty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub const fn get_file_info(&self) -> &FileInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn height(&self) -> LineIdx { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub const fn is_file_loaded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn save_as(&mut self, file_name: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn save(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn save_to_file(&self, file_info: &FileInfo) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn insert_char(&mut self, character: char, at: Location) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn insert_newline(&mut self, at: Location) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn delete(&mut self, at: Location) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn highlight(&self, idx: LineIdx, highlighter: &mut Highlighter) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_highlighted_substring( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn grapheme_count(&self, idx: LineIdx) -> GraphemeIdx { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn get_annotated_visible_substr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `highlight_string` is never used [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> Highlighter<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `highlight_string` is never used [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/syntaxhighlighter.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait SyntaxHighlighter { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 5 | fn highlight(&mut self, idx: LineIdx, line: &Line); [INFO] [stdout] 6 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initial_annotation_string` is never used [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/rustsyntaxhighlighter.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl RustSyntaxHighlighter { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn initial_annotation_string(&mut self, line_str: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.08s [INFO] running `Command { std: "docker" "inspect" "1e3f3fcaf542aca4392dca65e28e1c26b80a19833d6c5d03de2b859c163e5d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3f3fcaf542aca4392dca65e28e1c26b80a19833d6c5d03de2b859c163e5d72", kill_on_drop: false }` [INFO] [stdout] 1e3f3fcaf542aca4392dca65e28e1c26b80a19833d6c5d03de2b859c163e5d72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e807dcd9f0f98f6c3c901d4c24d94347b00c8532c77ed39e8bee227544e9513a [INFO] running `Command { std: "docker" "start" "-a" "e807dcd9f0f98f6c3c901d4c24d94347b00c8532c77ed39e8bee227544e9513a", kill_on_drop: false }` [INFO] [stderr] Compiling podocpodoc v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `buffer_rope::BufferRope` [INFO] [stdout] --> src/editor/uicomponents/view/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use buffer_rope::BufferRope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:119:47 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:123:48 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:174:31 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 174 | pub fn width_until(&self, _idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_LINE_NUM_WIDTH` [INFO] [stdout] | [INFO] [stdout] 174 - pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] 174 + pub fn width_until(&self, editor::uicomponents::view::MIN_LINE_NUM_WIDTH: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/searchresulthighlighter.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | fn highlight_string(&mut self, _idx: LineIdx, line_str: &str) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MIN_LINE_NUM_WIDTH` [INFO] [stdout] | [INFO] [stdout] 63 - fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stdout] 63 + fn highlight_string(&mut self, editor::uicomponents::view::MIN_LINE_NUM_WIDTH: LineIdx, line_str: &str) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_str` [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/searchresulthighlighter.rs:63:50 [INFO] [stdout] | [INFO] [stdout] 63 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edit_command` [INFO] [stdout] --> src/editor/mod.rs:343:18 [INFO] [stdout] | [INFO] [stdout] 343 | Edit(edit_command) => {}, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edit_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Select` is never constructed [INFO] [stdout] --> src/editor/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Mode { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 37 | Select = 1, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Resize` is never constructed [INFO] [stdout] --> src/editor/command/system.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum System { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 9 | Resize(Size), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `System` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `print_annotated_row` is never used [INFO] [stdout] --> src/editor/terminal/mod.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Terminal { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn print_annotated_row( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BufferRope` is never constructed [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BufferRope { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/editor/uicomponents/view/buffer_rope.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl BufferRope { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 23 | pub fn load(file_name: &str) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub const fn is_dirty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub const fn get_file_info(&self) -> &FileInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn height(&self) -> LineIdx { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub const fn is_file_loaded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn save_as(&mut self, file_name: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn save(&mut self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn save_to_file(&self, file_info: &FileInfo) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn insert_char(&mut self, character: char, at: Location) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn insert_newline(&mut self, at: Location) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn delete(&mut self, at: Location) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn highlight(&self, idx: LineIdx, highlighter: &mut Highlighter) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn get_highlighted_substring( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn grapheme_count(&self, idx: LineIdx) -> GraphemeIdx { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | fn get_annotated_visible_substr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `highlight_string` is never used [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl<'a> Highlighter<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `highlight_string` is never used [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/syntaxhighlighter.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait SyntaxHighlighter { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] 5 | fn highlight(&mut self, idx: LineIdx, line: &Line); [INFO] [stdout] 6 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initial_annotation_string` is never used [INFO] [stdout] --> src/editor/uicomponents/view/highlighter/rustsyntaxhighlighter.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 72 | impl RustSyntaxHighlighter { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | fn initial_annotation_string(&mut self, line_str: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "e807dcd9f0f98f6c3c901d4c24d94347b00c8532c77ed39e8bee227544e9513a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e807dcd9f0f98f6c3c901d4c24d94347b00c8532c77ed39e8bee227544e9513a", kill_on_drop: false }` [INFO] [stdout] e807dcd9f0f98f6c3c901d4c24d94347b00c8532c77ed39e8bee227544e9513a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d5fc6a0e74ad7a04ff3d7bbf2551c2352725ca26409531853e58849330c184b0 [INFO] running `Command { std: "docker" "start" "-a" "d5fc6a0e74ad7a04ff3d7bbf2551c2352725ca26409531853e58849330c184b0", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `buffer_rope::BufferRope` [INFO] [stderr] --> src/editor/uicomponents/view/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use buffer_rope::BufferRope; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `query` [INFO] [stderr] --> src/editor/uicomponents/view/buffer_rope.rs:119:34 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/editor/uicomponents/view/buffer_rope.rs:119:47 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `query` [INFO] [stderr] --> src/editor/uicomponents/view/buffer_rope.rs:123:35 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from` [INFO] [stderr] --> src/editor/uicomponents/view/buffer_rope.rs:123:48 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_from` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/editor/uicomponents/view/buffer_rope.rs:174:31 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 174 | pub fn width_until(&self, _idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MIN_LINE_NUM_WIDTH` [INFO] [stderr] | [INFO] [stderr] 174 - pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stderr] 174 + pub fn width_until(&self, editor::uicomponents::view::MIN_LINE_NUM_WIDTH: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `idx` [INFO] [stderr] --> src/editor/uicomponents/view/highlighter/searchresulthighlighter.rs:63:36 [INFO] [stderr] | [INFO] [stderr] 63 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 63 | fn highlight_string(&mut self, _idx: LineIdx, line_str: &str) { [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MIN_LINE_NUM_WIDTH` [INFO] [stderr] | [INFO] [stderr] 63 - fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stderr] 63 + fn highlight_string(&mut self, editor::uicomponents::view::MIN_LINE_NUM_WIDTH: LineIdx, line_str: &str) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `line_str` [INFO] [stderr] --> src/editor/uicomponents/view/highlighter/searchresulthighlighter.rs:63:50 [INFO] [stderr] | [INFO] [stderr] 63 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_str` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `edit_command` [INFO] [stderr] --> src/editor/mod.rs:343:18 [INFO] [stderr] | [INFO] [stderr] 343 | Edit(edit_command) => {}, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edit_command` [INFO] [stderr] [INFO] [stderr] warning: variant `Select` is never constructed [INFO] [stderr] --> src/editor/mod.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 34 | pub enum Mode { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 37 | Select = 1, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Resize` is never constructed [INFO] [stderr] --> src/editor/command/system.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum System { [INFO] [stderr] | ------ variant in this enum [INFO] [stderr] 9 | Resize(Size), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `System` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `print_annotated_row` is never used [INFO] [stderr] --> src/editor/terminal/mod.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 27 | impl Terminal { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn print_annotated_row( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BufferRope` is never constructed [INFO] [stderr] --> src/editor/uicomponents/view/buffer_rope.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct BufferRope { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/editor/uicomponents/view/buffer_rope.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl BufferRope { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 23 | pub fn load(file_name: &str) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 36 | pub const fn is_dirty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub const fn get_file_info(&self) -> &FileInfo { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn height(&self) -> LineIdx { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 49 | pub const fn is_file_loaded(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn save_as(&mut self, file_name: &str) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn save(&mut self) -> Result<(), Error> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 71 | fn save_to_file(&self, file_info: &FileInfo) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn insert_char(&mut self, character: char, at: Location) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn insert_newline(&mut self, at: Location) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn delete(&mut self, at: Location) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn search_forward(&self, query: &str, from: Location) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn search_backward(&self, query: &str, from: Location) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 127 | pub fn highlight(&self, idx: LineIdx, highlighter: &mut Highlighter) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | pub fn get_highlighted_substring( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 160 | pub fn grapheme_count(&self, idx: LineIdx) -> GraphemeIdx { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 174 | pub fn width_until(&self, idx: LineIdx, until: GraphemeIdx) -> GraphemeIdx { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 178 | fn get_annotated_visible_substr( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `highlight_string` is never used [INFO] [stderr] --> src/editor/uicomponents/view/highlighter/mod.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl<'a> Highlighter<'a> { [INFO] [stderr] | ------------------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn highlight_string(&mut self, idx: LineIdx, line_str: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `highlight_string` is never used [INFO] [stderr] --> src/editor/uicomponents/view/highlighter/syntaxhighlighter.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub trait SyntaxHighlighter { [INFO] [stderr] | ----------------- method in this trait [INFO] [stderr] 5 | fn highlight(&mut self, idx: LineIdx, line: &Line); [INFO] [stderr] 6 | fn highlight_string(&mut self, idx: LineIdx, line_str: &str); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `initial_annotation_string` is never used [INFO] [stderr] --> src/editor/uicomponents/view/highlighter/rustsyntaxhighlighter.rs:146:8 [INFO] [stderr] | [INFO] [stderr] 72 | impl RustSyntaxHighlighter { [INFO] [stderr] | -------------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 146 | fn initial_annotation_string(&mut self, line_str: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `podocpodoc` (bin "podocpodoc" test) generated 17 warnings (run `cargo fix --bin "podocpodoc" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/podocpodoc-c18c54a6e57ddb3d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d5fc6a0e74ad7a04ff3d7bbf2551c2352725ca26409531853e58849330c184b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5fc6a0e74ad7a04ff3d7bbf2551c2352725ca26409531853e58849330c184b0", kill_on_drop: false }` [INFO] [stdout] d5fc6a0e74ad7a04ff3d7bbf2551c2352725ca26409531853e58849330c184b0