[INFO] cloning repository https://github.com/sirgl/analysis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sirgl/analysis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirgl%2Fanalysis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirgl%2Fanalysis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70243aa006948902507eba649188e803cd46aac1 [INFO] checking sirgl/analysis against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirgl%2Fanalysis" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sirgl/analysis on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sirgl/analysis [INFO] finished tweaking git repo https://github.com/sirgl/analysis [INFO] tweaked toml for git repo https://github.com/sirgl/analysis written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/sirgl/analysis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded superslice v0.1.0 [INFO] [stderr] Downloaded logos-derive v0.9.7 [INFO] [stderr] Downloaded logos v0.9.7 [INFO] [stderr] Downloaded drop_bomb v0.1.4 [INFO] [stderr] Downloaded text_unit v0.1.5 [INFO] [stderr] Downloaded smol_str v0.1.8 [INFO] [stderr] Downloaded rowan v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a54cfabd4609fb601516df6720a9bab1bf61f41e19dc9ed8d8aaaed1bf8b58a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6a54cfabd4609fb601516df6720a9bab1bf61f41e19dc9ed8d8aaaed1bf8b58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a54cfabd4609fb601516df6720a9bab1bf61f41e19dc9ed8d8aaaed1bf8b58a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a54cfabd4609fb601516df6720a9bab1bf61f41e19dc9ed8d8aaaed1bf8b58a", kill_on_drop: false }` [INFO] [stdout] 6a54cfabd4609fb601516df6720a9bab1bf61f41e19dc9ed8d8aaaed1bf8b58a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99b8aa200480834d58ca7ba09a48fcc8ff2605057a92c247dbf0d4af3623014d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "99b8aa200480834d58ca7ba09a48fcc8ff2605057a92c247dbf0d4af3623014d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.44 [INFO] [stderr] Checking text_unit v0.1.5 [INFO] [stderr] Checking smol_str v0.1.8 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Checking drop_bomb v0.1.4 [INFO] [stderr] Checking superslice v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Checking highlight_reporter v0.1.0 (/opt/rustwide/workdir/crates/highlight_reporter) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> crates/highlight_reporter/src/per_line.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_count` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let line_count = self.text.lines().count(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_to_highlights` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let line_to_highlights = group_by_line(highlights, &line_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_to_highlights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:54:65 [INFO] [stdout] | [INFO] [stdout] 54 | fn render_highlights(&self, highlights: Vec, options: HighlightOptions) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/highlight_reporter/src/per_line.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | fn put_underline(&mut self, start: CanvasPoint, length: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn put_underline(&mut self, start: CanvasPoint, length: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn put_text(&mut self, start: CanvasPoint, text: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | fn put_text(&mut self, start: CanvasPoint, text: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut text = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn text(mut self) -> String { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/highlight_reporter/src/line_index.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `line_offsets` [INFO] [stdout] --> crates/highlight_reporter/src/line_index.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn line_offsets(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_offsets` [INFO] [stdout] --> crates/highlight_reporter/src/line_index.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn calculate_offsets(text: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HighlightRange` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HighlightRange { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(start: usize, end: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TextHighlight` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct TextHighlight { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(range: HighlightRange, text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TextHighlighter` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct TextHighlighter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(text: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HighlightOptions` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct HighlightOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_highlights` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn render_highlights(&self, highlights: Vec, options: HighlightOptions) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group_by_line` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn group_by_line(highlights: Vec, line_index: &LinearLineIndex) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_per_line` [INFO] [stdout] --> crates/highlight_reporter/src/per_line.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn print_per_line Option>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `push_indent` [INFO] [stdout] --> crates/highlight_reporter/src/per_line.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn push_indent(str: &mut String, count: u32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Canvas` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_underline` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn put_underline(&mut self, start: CanvasPoint, length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_text` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn put_text(&mut self, start: CanvasPoint, text: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn text(mut self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking errors v0.1.0 (/opt/rustwide/workdir/crates/errors) [INFO] [stderr] Checking inspections_base v0.1.0 (/opt/rustwide/workdir/crates/inspections_base) [INFO] [stdout] warning: unused variable: `line_count` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let line_count = self.text.lines().count(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_to_highlights` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let line_to_highlights = group_by_line(highlights, &line_index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_to_highlights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:54:65 [INFO] [stdout] | [INFO] [stdout] 54 | fn render_highlights(&self, highlights: Vec, options: HighlightOptions) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> crates/highlight_reporter/src/per_line.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | fn put_underline(&mut self, start: CanvasPoint, length: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn put_underline(&mut self, start: CanvasPoint, length: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | fn put_text(&mut self, start: CanvasPoint, text: String) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `text` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:38:48 [INFO] [stdout] | [INFO] [stdout] 38 | fn put_text(&mut self, start: CanvasPoint, text: String) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IntentionFamily` in this scope [INFO] [stdout] --> crates/inspections_base/src/problem.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn suggest_fixes() -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use crate::fixes::IntentionFamily; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `C` in this scope [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | impl SingleNodeVisitor for ContextBasedNodeVisitor { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl InspectionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | impl SingleNodeVisitor for ContextBasedNodeVisitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: indicate the anonymous lifetime: `ContextBasedNodeVisitor<'_, C>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | funcs: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SingleNodeVisitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(funcs: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SingleNodeVisitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let mut text = String::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | fn text(mut self) -> String { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HighlightRange` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct HighlightRange { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(start: usize, end: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TextHighlight` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct TextHighlight { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(range: HighlightRange, text: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TextHighlighter` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct TextHighlighter<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn new(text: &'a str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `HighlightOptions` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct HighlightOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_highlights` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn render_highlights(&self, highlights: Vec, options: HighlightOptions) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `group_by_line` [INFO] [stdout] --> crates/highlight_reporter/src/highlight.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn group_by_line(highlights: Vec, line_index: &LinearLineIndex) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Line` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Line { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Canvas` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | struct Canvas { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_underline` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn put_underline(&mut self, start: CanvasPoint, length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `put_text` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn put_text(&mut self, start: CanvasPoint, text: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> crates/highlight_reporter/src/canvas.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn text(mut self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `'a` is never used [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct InspectionEngine<'a> { [INFO] [stdout] | ^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inspections_base` [INFO] [stdout] error[E0412]: cannot find type `IntentionFamily` in this scope [INFO] [stdout] --> crates/inspections_base/src/problem.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | fn suggest_fixes() -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use crate::fixes::IntentionFamily; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `C` in this scope [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:49:52 [INFO] [stdout] | [INFO] [stdout] 49 | impl SingleNodeVisitor for ContextBasedNodeVisitor { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | impl InspectionEngine { [INFO] [stdout] | ^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0726]: implicit elided lifetime not allowed here [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | impl SingleNodeVisitor for ContextBasedNodeVisitor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: indicate the anonymous lifetime: `ContextBasedNodeVisitor<'_, C>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | funcs: Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SingleNodeVisitor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(funcs: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn SingleNodeVisitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0392]: parameter `'a` is never used [INFO] [stdout] --> crates/inspections_base/src/inspection_impl.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct InspectionEngine<'a> { [INFO] [stdout] | ^^ unused parameter [INFO] [stdout] | [INFO] [stdout] = help: consider removing `'a`, referring to it in a field, or using a marker such as `PhantomData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0392, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0392`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "99b8aa200480834d58ca7ba09a48fcc8ff2605057a92c247dbf0d4af3623014d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99b8aa200480834d58ca7ba09a48fcc8ff2605057a92c247dbf0d4af3623014d", kill_on_drop: false }` [INFO] [stdout] 99b8aa200480834d58ca7ba09a48fcc8ff2605057a92c247dbf0d4af3623014d