[INFO] fetching crate omp-manager 0.1.2... [INFO] testing omp-manager-0.1.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate omp-manager 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate omp-manager 0.1.2 [INFO] finished tweaking crates.io crate omp-manager 0.1.2 [INFO] tweaked toml for crates.io crate omp-manager 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate omp-manager 0.1.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate omp-manager 0.1.2 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 995e5da888cf0488f97e0dac2e506ba1338f7357de7243f3c7b97dcaa72dfe97 [INFO] running `Command { std: "docker" "start" "-a" "995e5da888cf0488f97e0dac2e506ba1338f7357de7243f3c7b97dcaa72dfe97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "995e5da888cf0488f97e0dac2e506ba1338f7357de7243f3c7b97dcaa72dfe97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "995e5da888cf0488f97e0dac2e506ba1338f7357de7243f3c7b97dcaa72dfe97", kill_on_drop: false }` [INFO] [stdout] 995e5da888cf0488f97e0dac2e506ba1338f7357de7243f3c7b97dcaa72dfe97 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5858a8f994ec29705761f213171cac7229299a85fdc9efa4e10f08eacc314150 [INFO] running `Command { std: "docker" "start" "-a" "5858a8f994ec29705761f213171cac7229299a85fdc9efa4e10f08eacc314150", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling omp-manager v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `ConfigureShell` and `UnconfigureShell` are never constructed [INFO] [stdout] --> src/app.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum ConfirmAction { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 121 | ConfigureShell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 122 | UnconfigureShell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfirmAction` 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: associated function `clamp_selection` is never used [INFO] [stdout] --> src/app.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 221 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn clamp_selection(sel: &mut usize, scroll: &mut usize, len: usize, visible: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_config` is never used [INFO] [stdout] --> src/config.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn save_config(path: &Path, config: &OmpConfig) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total_segments` is never used [INFO] [stdout] --> src/config.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl OmpConfig { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 196 | /// Count total segments across all blocks. [INFO] [stdout] 197 | pub fn total_segments(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_prompt` is never used [INFO] [stdout] --> src/config.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 211 | /// Create a new empty prompt block. [INFO] [stdout] 212 | pub fn new_prompt(alignment: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/config.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 223 | impl Segment { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 224 | /// Create a minimal segment of the given type. [INFO] [stdout] 225 | pub fn new(seg_type: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_config_path` is never used [INFO] [stdout] --> src/config.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn user_config_path() -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_wsl` is never read [INFO] [stdout] --> src/detect.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OsInfo { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub is_wsl: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OsInfo` 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: fields `executable` and `cache_path` are never read [INFO] [stdout] --> src/detect.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct OmpInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 65 | pub version: String, [INFO] [stdout] 66 | pub executable: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | pub themes_path: Option, [INFO] [stdout] 68 | pub cache_path: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OmpInfo` 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: variants `InProgress`, `Failed`, and `Skipped` are never constructed [INFO] [stdout] --> src/install.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub enum StepStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 202 | Pending, [INFO] [stdout] 203 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 204 | Done, [INFO] [stdout] 205 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 206 | Skipped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepStatus` 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: struct `PreviewChunk` is never constructed [INFO] [stdout] --> src/preview.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PreviewChunk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_placeholder` is never used [INFO] [stdout] --> src/preview.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn render_placeholder<'a>(name: &str, description: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ALL`, `label`, and `icon` are never used [INFO] [stdout] --> src/segments.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 22 | impl SegmentCategory { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 23 | pub const ALL: &'static [SegmentCategory] = &[ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn label(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn icon(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `label`, `description`, and `category` are never read [INFO] [stdout] --> src/segments.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SegmentInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub label: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | /// One-line description. [INFO] [stdout] 67 | pub description: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | /// Category for grouping. [INFO] [stdout] 69 | pub category: SegmentCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SegmentInfo` 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: function `segments_in_category` is never used [INFO] [stdout] --> src/segments.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn segments_in_category(cat: SegmentCategory) -> Vec<&'static SegmentInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `icon` and `omp_name` are never used [INFO] [stdout] --> src/shell.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Shell { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn icon(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn omp_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_ACTIVE` is never used [INFO] [stdout] --> src/theme.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const BG_ACTIVE: Color = Color::Rgb(24, 89, 161); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/theme.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const BLUE: Color = Color::Rgb(59, 120, 255); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PURPLE` is never used [INFO] [stdout] --> src/theme.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const PURPLE: Color = Color::Rgb(180, 0, 158); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_all_themes` is never used [INFO] [stdout] --> src/themes.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn download_all_themes(dest_dir: &Path) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.25s [INFO] running `Command { std: "docker" "inspect" "5858a8f994ec29705761f213171cac7229299a85fdc9efa4e10f08eacc314150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5858a8f994ec29705761f213171cac7229299a85fdc9efa4e10f08eacc314150", kill_on_drop: false }` [INFO] [stdout] 5858a8f994ec29705761f213171cac7229299a85fdc9efa4e10f08eacc314150 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4cf1e300dfcd4a24f7f988f224d4a4ebc4340e9a16dc4007f9e11e85ca2ed0c [INFO] running `Command { std: "docker" "start" "-a" "c4cf1e300dfcd4a24f7f988f224d4a4ebc4340e9a16dc4007f9e11e85ca2ed0c", kill_on_drop: false }` [INFO] [stderr] Compiling omp-manager v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `ConfigureShell` and `UnconfigureShell` are never constructed [INFO] [stdout] --> src/app.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum ConfirmAction { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 121 | ConfigureShell, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 122 | UnconfigureShell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfirmAction` 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: associated function `clamp_selection` is never used [INFO] [stdout] --> src/app.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 221 | impl App { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn clamp_selection(sel: &mut usize, scroll: &mut usize, len: usize, visible: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_config` is never used [INFO] [stdout] --> src/config.rs:184:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn save_config(path: &Path, config: &OmpConfig) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_prompt` is never used [INFO] [stdout] --> src/config.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl Block { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 211 | /// Create a new empty prompt block. [INFO] [stdout] 212 | pub fn new_prompt(alignment: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `user_config_path` is never used [INFO] [stdout] --> src/config.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn user_config_path() -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_wsl` is never read [INFO] [stdout] --> src/detect.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct OsInfo { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub is_wsl: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OsInfo` 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: fields `executable` and `cache_path` are never read [INFO] [stdout] --> src/detect.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct OmpInfo { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 65 | pub version: String, [INFO] [stdout] 66 | pub executable: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 67 | pub themes_path: Option, [INFO] [stdout] 68 | pub cache_path: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OmpInfo` 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: variants `InProgress`, `Failed`, and `Skipped` are never constructed [INFO] [stdout] --> src/install.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 201 | pub enum StepStatus { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 202 | Pending, [INFO] [stdout] 203 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 204 | Done, [INFO] [stdout] 205 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 206 | Skipped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StepStatus` 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: struct `PreviewChunk` is never constructed [INFO] [stdout] --> src/preview.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PreviewChunk { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_placeholder` is never used [INFO] [stdout] --> src/preview.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn render_placeholder<'a>(name: &str, description: &str) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ALL`, `label`, and `icon` are never used [INFO] [stdout] --> src/segments.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 22 | impl SegmentCategory { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 23 | pub const ALL: &'static [SegmentCategory] = &[ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn label(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn icon(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `label`, `description`, and `category` are never read [INFO] [stdout] --> src/segments.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct SegmentInfo { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 65 | pub label: &'static str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | /// One-line description. [INFO] [stdout] 67 | pub description: &'static str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 68 | /// Category for grouping. [INFO] [stdout] 69 | pub category: SegmentCategory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SegmentInfo` 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: function `segments_in_category` is never used [INFO] [stdout] --> src/segments.rs:189:8 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn segments_in_category(cat: SegmentCategory) -> Vec<&'static SegmentInfo> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `icon` and `omp_name` are never used [INFO] [stdout] --> src/shell.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Shell { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn icon(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn omp_name(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BG_ACTIVE` is never used [INFO] [stdout] --> src/theme.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const BG_ACTIVE: Color = Color::Rgb(24, 89, 161); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE` is never used [INFO] [stdout] --> src/theme.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const BLUE: Color = Color::Rgb(59, 120, 255); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PURPLE` is never used [INFO] [stdout] --> src/theme.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | pub const PURPLE: Color = Color::Rgb(180, 0, 158); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_all_themes` is never used [INFO] [stdout] --> src/themes.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn download_all_themes(dest_dir: &Path) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "c4cf1e300dfcd4a24f7f988f224d4a4ebc4340e9a16dc4007f9e11e85ca2ed0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4cf1e300dfcd4a24f7f988f224d4a4ebc4340e9a16dc4007f9e11e85ca2ed0c", kill_on_drop: false }` [INFO] [stdout] c4cf1e300dfcd4a24f7f988f224d4a4ebc4340e9a16dc4007f9e11e85ca2ed0c [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] daafe5449d73e76432fe3099d49c6b0590b2461548460de3dfd8d50196935913 [INFO] running `Command { std: "docker" "start" "-a" "daafe5449d73e76432fe3099d49c6b0590b2461548460de3dfd8d50196935913", kill_on_drop: false }` [INFO] [stderr] warning: variants `ConfigureShell` and `UnconfigureShell` are never constructed [INFO] [stderr] --> src/app.rs:121:5 [INFO] [stderr] | [INFO] [stderr] 117 | pub enum ConfirmAction { [INFO] [stderr] | ------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 121 | ConfigureShell, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 122 | UnconfigureShell, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConfirmAction` 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: associated function `clamp_selection` is never used [INFO] [stderr] --> src/app.rs:388:12 [INFO] [stderr] | [INFO] [stderr] 221 | impl App { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 388 | pub fn clamp_selection(sel: &mut usize, scroll: &mut usize, len: usize, visible: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_config` is never used [INFO] [stderr] --> src/config.rs:184:8 [INFO] [stderr] | [INFO] [stderr] 184 | pub fn save_config(path: &Path, config: &OmpConfig) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new_prompt` is never used [INFO] [stderr] --> src/config.rs:212:12 [INFO] [stderr] | [INFO] [stderr] 210 | impl Block { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 211 | /// Create a new empty prompt block. [INFO] [stderr] 212 | pub fn new_prompt(alignment: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `user_config_path` is never used [INFO] [stderr] --> src/config.rs:248:8 [INFO] [stderr] | [INFO] [stderr] 248 | pub fn user_config_path() -> std::path::PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `is_wsl` is never read [INFO] [stderr] --> src/detect.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct OsInfo { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 15 | pub is_wsl: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OsInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `executable` and `cache_path` are never read [INFO] [stderr] --> src/detect.rs:66:9 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct OmpInfo { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 65 | pub version: String, [INFO] [stderr] 66 | pub executable: PathBuf, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 67 | pub themes_path: Option, [INFO] [stderr] 68 | pub cache_path: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OmpInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `InProgress`, `Failed`, and `Skipped` are never constructed [INFO] [stderr] --> src/install.rs:203:5 [INFO] [stderr] | [INFO] [stderr] 201 | pub enum StepStatus { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 202 | Pending, [INFO] [stderr] 203 | InProgress, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 204 | Done, [INFO] [stderr] 205 | Failed, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 206 | Skipped, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StepStatus` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `PreviewChunk` is never constructed [INFO] [stderr] --> src/preview.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct PreviewChunk { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `render_placeholder` is never used [INFO] [stderr] --> src/preview.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn render_placeholder<'a>(name: &str, description: &str) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `ALL`, `label`, and `icon` are never used [INFO] [stderr] --> src/segments.rs:23:15 [INFO] [stderr] | [INFO] [stderr] 22 | impl SegmentCategory { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 23 | pub const ALL: &'static [SegmentCategory] = &[ [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn label(&self) -> &'static str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn icon(&self) -> &'static str { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `label`, `description`, and `category` are never read [INFO] [stderr] --> src/segments.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct SegmentInfo { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 65 | pub label: &'static str, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 66 | /// One-line description. [INFO] [stderr] 67 | pub description: &'static str, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 68 | /// Category for grouping. [INFO] [stderr] 69 | pub category: SegmentCategory, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SegmentInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `segments_in_category` is never used [INFO] [stderr] --> src/segments.rs:189:8 [INFO] [stderr] | [INFO] [stderr] 189 | pub fn segments_in_category(cat: SegmentCategory) -> Vec<&'static SegmentInfo> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `icon` and `omp_name` are never used [INFO] [stderr] --> src/shell.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl Shell { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn icon(&self) -> &'static str { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 63 | pub fn omp_name(&self) -> &'static str { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BG_ACTIVE` is never used [INFO] [stderr] --> src/theme.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub const BG_ACTIVE: Color = Color::Rgb(24, 89, 161); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BLUE` is never used [INFO] [stderr] --> src/theme.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | pub const BLUE: Color = Color::Rgb(59, 120, 255); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PURPLE` is never used [INFO] [stderr] --> src/theme.rs:38:11 [INFO] [stderr] | [INFO] [stderr] 38 | pub const PURPLE: Color = Color::Rgb(180, 0, 158); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `download_all_themes` is never used [INFO] [stderr] --> src/themes.rs:340:8 [INFO] [stderr] | [INFO] [stderr] 340 | pub fn download_all_themes(dest_dir: &Path) -> (usize, usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `omp-manager` (bin "omp-manager" test) generated 18 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/omp_manager-4ecc07ccaa8e9501) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test config::tests::test_segment_new ... ok [INFO] [stdout] test config::tests::test_minimal_config_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "daafe5449d73e76432fe3099d49c6b0590b2461548460de3dfd8d50196935913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daafe5449d73e76432fe3099d49c6b0590b2461548460de3dfd8d50196935913", kill_on_drop: false }` [INFO] [stdout] daafe5449d73e76432fe3099d49c6b0590b2461548460de3dfd8d50196935913