[INFO] cloning repository https://github.com/h0bb3/mdrdr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/h0bb3/mdrdr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh0bb3%2Fmdrdr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh0bb3%2Fmdrdr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a84c39599e381bdae5e20c428f6233e56cedcec9 [INFO] checking h0bb3/mdrdr against 69bccf03c4733f57482f9691456efcd80f86a5f6 for pr-164053 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fh0bb3%2Fmdrdr" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/h0bb3/mdrdr [INFO] finished tweaking git repo https://github.com/h0bb3/mdrdr [INFO] tweaked toml for git repo https://github.com/h0bb3/mdrdr written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/h0bb3/mdrdr on toolchain 69bccf03c4733f57482f9691456efcd80f86a5f6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/h0bb3/mdrdr 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" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winnow v1.0.2 [INFO] [stderr] Downloaded quick-xml v0.39.2 [INFO] [stderr] Downloaded orbclient v0.3.53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21 [INFO] running `Command { std: "docker" "start" "05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21" "/opt/rustwide/cargo-home/bin/cargo" "+69bccf03c4733f57482f9691456efcd80f86a5f6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking dlib v0.5.3 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling quick-xml v0.39.2 [INFO] [stderr] Compiling wayland-client v0.31.14 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling drm-sys v0.8.1 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling drm-fourcc v2.2.0 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling wayland-scanner v0.31.10 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wayland-backend v0.3.15 [INFO] [stderr] Compiling tiny-xlib v0.2.5 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling winit v0.30.13 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking ctor v0.10.1 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Checking drm-ffi v0.9.1 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking drm v0.14.1 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking wayland-protocols v0.32.12 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wayland-cursor v0.31.14 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking softbuffer v0.4.8 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.12 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.12 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking mdrdr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `outline` [INFO] [stdout] --> src/layout.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | outline: &[OutlineEntry], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/layout.rs:568:21 [INFO] [stdout] | [INFO] [stdout] 520 | x += m.advance_width; [INFO] [stdout] | -------------------- `x` is overwritten here before the previous value is read [INFO] [stdout] ... [INFO] [stdout] 568 | x += ell_w; [INFO] [stdout] | ^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_w` is never read [INFO] [stdout] --> src/mermaid.rs:669:10 [INFO] [stdout] | [INFO] [stdout] 669 | let (mut total_w, mut total_h) = (0.0f32, 0.0f32); [INFO] [stdout] | ^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 686 | total_w = max_w.max(1.0); [INFO] [stdout] | ------------------------ `total_w` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_h` is never read [INFO] [stdout] --> src/mermaid.rs:669:23 [INFO] [stdout] | [INFO] [stdout] 669 | let (mut total_w, mut total_h) = (0.0f32, 0.0f32); [INFO] [stdout] | ^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 721 | total_h = y; [INFO] [stdout] | ----------- `total_h` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `outline` [INFO] [stdout] --> src/layout.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | outline: &[OutlineEntry], [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outline` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/layout.rs:568:21 [INFO] [stdout] | [INFO] [stdout] 520 | x += m.advance_width; [INFO] [stdout] | -------------------- `x` is overwritten here before the previous value is read [INFO] [stdout] ... [INFO] [stdout] 568 | x += ell_w; [INFO] [stdout] | ^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_xend` is never read [INFO] [stdout] --> src/render.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | last_xend = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 188 | last_xend = Some(*x + adv); [INFO] [stdout] | -------------------------- `last_xend` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_xend` is never read [INFO] [stdout] --> src/render.rs:923:17 [INFO] [stdout] | [INFO] [stdout] 923 | last_xend = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 934 | last_xend = Some(*x + adv); [INFO] [stdout] | -------------------------- `last_xend` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_w` is never read [INFO] [stdout] --> src/mermaid.rs:669:10 [INFO] [stdout] | [INFO] [stdout] 669 | let (mut total_w, mut total_h) = (0.0f32, 0.0f32); [INFO] [stdout] | ^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 686 | total_w = max_w.max(1.0); [INFO] [stdout] | ------------------------ `total_w` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_h` is never read [INFO] [stdout] --> src/mermaid.rs:669:23 [INFO] [stdout] | [INFO] [stdout] 669 | let (mut total_w, mut total_h) = (0.0f32, 0.0f32); [INFO] [stdout] | ^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 721 | total_h = y; [INFO] [stdout] | ----------- `total_h` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_xend` is never read [INFO] [stdout] --> src/render.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | last_xend = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 188 | last_xend = Some(*x + adv); [INFO] [stdout] | -------------------------- `last_xend` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_xend` is never read [INFO] [stdout] --> src/render.rs:923:17 [INFO] [stdout] | [INFO] [stdout] 923 | last_xend = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 934 | last_xend = Some(*x + adv); [INFO] [stdout] | -------------------------- `last_xend` is overwritten here before the previous value is read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Glyph` is more private than the item `WordPayload::Text::glyphs` [INFO] [stdout] --> src/layout.rs:1752:12 [INFO] [stdout] | [INFO] [stdout] 1752 | Text { glyphs: Vec, style: Style }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `WordPayload::Text::glyphs` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Glyph` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/layout.rs:1742:1 [INFO] [stdout] | [INFO] [stdout] 1742 | struct Glyph { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Style` is more private than the item `WordPayload::Text::style` [INFO] [stdout] --> src/layout.rs:1752:32 [INFO] [stdout] | [INFO] [stdout] 1752 | Text { glyphs: Vec, style: Style }, [INFO] [stdout] | ^^^^^^^^^^^^ field `WordPayload::Text::style` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Style` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/layout.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | struct Style { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CopyCode` is never constructed [INFO] [stdout] --> src/layout.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum HitAction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 106 | CopyCode(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitAction` 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: field `sidebar_content_height` is never read [INFO] [stdout] --> src/layout.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Layout { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub sidebar_content_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIDEBAR_WIDTH_DEFAULT` is never used [INFO] [stdout] --> src/layout.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | pub const SIDEBAR_WIDTH_DEFAULT: f32 = 260.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/md.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | CodeBlock { lang: Option, text: String }, [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> src/mermaid.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn label(self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/mermaid.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 69 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/mermaid.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn render(src: &str, max_width: f32, theme: &Theme, fonts: &Fonts) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `label`, and `top_y` are never read [INFO] [stdout] --> src/mermaid.rs:2026:9 [INFO] [stdout] | [INFO] [stdout] 2025 | struct PendingBlock { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 2026 | kind: SeqBlockKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2027 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2028 | top_y: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_copy_zones` is never used [INFO] [stdout] --> src/render.rs:556:8 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn compute_copy_zones(input: &RenderInput, images: &mut ImageCache) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_baselines` is never used [INFO] [stdout] --> src/render.rs:588:8 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn compute_baselines(input: &RenderInput, images: &mut ImageCache) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_outline` is never used [INFO] [stdout] --> src/render.rs:628:8 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn compute_outline(input: &RenderInput, images: &mut ImageCache) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/text_input.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn clamp(text: &str, cursor: &mut usize, anchor: &mut usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_cursor` is never read [INFO] [stdout] --> src/window.rs:753:9 [INFO] [stdout] | [INFO] [stdout] 722 | pub struct Snapshot { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 753 | pub read_cursor: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_hovered` is never used [INFO] [stdout] --> src/window.rs:4349:8 [INFO] [stdout] | [INFO] [stdout] 4321 | impl SubmenuKind { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 4349 | fn is_hovered(self, m: &ContextMenu, x: f32, y: f32, fonts: &Fonts) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ExitCode` that must be used [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | usage(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = usage(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Glyph` is more private than the item `WordPayload::Text::glyphs` [INFO] [stdout] --> src/layout.rs:1752:12 [INFO] [stdout] | [INFO] [stdout] 1752 | Text { glyphs: Vec, style: Style }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ field `WordPayload::Text::glyphs` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Glyph` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/layout.rs:1742:1 [INFO] [stdout] | [INFO] [stdout] 1742 | struct Glyph { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Style` is more private than the item `WordPayload::Text::style` [INFO] [stdout] --> src/layout.rs:1752:32 [INFO] [stdout] | [INFO] [stdout] 1752 | Text { glyphs: Vec, style: Style }, [INFO] [stdout] | ^^^^^^^^^^^^ field `WordPayload::Text::style` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Style` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/layout.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 194 | struct Style { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CopyCode` is never constructed [INFO] [stdout] --> src/layout.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum HitAction { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 106 | CopyCode(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitAction` 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: field `sidebar_content_height` is never read [INFO] [stdout] --> src/layout.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct Layout { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 172 | pub sidebar_content_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SIDEBAR_WIDTH_DEFAULT` is never used [INFO] [stdout] --> src/layout.rs:230:11 [INFO] [stdout] | [INFO] [stdout] 230 | pub const SIDEBAR_WIDTH_DEFAULT: f32 = 260.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `lang` is never read [INFO] [stdout] --> src/md.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | CodeBlock { lang: Option, text: String }, [INFO] [stdout] | --------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Block` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> src/mermaid.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Direction { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn label(self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/mermaid.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 69 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/mermaid.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn render(src: &str, max_width: f32, theme: &Theme, fonts: &Fonts) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind`, `label`, and `top_y` are never read [INFO] [stdout] --> src/mermaid.rs:2026:9 [INFO] [stdout] | [INFO] [stdout] 2025 | struct PendingBlock { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 2026 | kind: SeqBlockKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 2027 | label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2028 | top_y: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_copy_zones` is never used [INFO] [stdout] --> src/render.rs:556:8 [INFO] [stdout] | [INFO] [stdout] 556 | pub fn compute_copy_zones(input: &RenderInput, images: &mut ImageCache) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_baselines` is never used [INFO] [stdout] --> src/render.rs:588:8 [INFO] [stdout] | [INFO] [stdout] 588 | pub fn compute_baselines(input: &RenderInput, images: &mut ImageCache) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_outline` is never used [INFO] [stdout] --> src/render.rs:628:8 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn compute_outline(input: &RenderInput, images: &mut ImageCache) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/text_input.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn clamp(text: &str, cursor: &mut usize, anchor: &mut usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `read_cursor` is never read [INFO] [stdout] --> src/window.rs:753:9 [INFO] [stdout] | [INFO] [stdout] 722 | pub struct Snapshot { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 753 | pub read_cursor: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_hovered` is never used [INFO] [stdout] --> src/window.rs:4349:8 [INFO] [stdout] | [INFO] [stdout] 4321 | impl SubmenuKind { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 4349 | fn is_hovered(self, m: &ContextMenu, x: f32, y: f32, fonts: &Fonts) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `ExitCode` that must be used [INFO] [stdout] --> src/main.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | usage(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = usage(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21", kill_on_drop: false }` [INFO] [stdout] 05d914ba5d507220dd3b2852c875e6bf1c6a91f5f8b0791ce3c0e2838f120f21