[INFO] cloning repository https://github.com/leaysgur/oxc_formatter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leaysgur/oxc_formatter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleaysgur%2Foxc_formatter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleaysgur%2Foxc_formatter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c96ae0de892e0c050a155a43b0fee87971ad66ba [INFO] checking leaysgur/oxc_formatter against master#249cb84316401daf040832cdbb8a45e0f5ab6af8 for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleaysgur%2Foxc_formatter" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leaysgur/oxc_formatter on toolchain 249cb84316401daf040832cdbb8a45e0f5ab6af8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/leaysgur/oxc_formatter [INFO] finished tweaking git repo https://github.com/leaysgur/oxc_formatter [INFO] tweaked toml for git repo https://github.com/leaysgur/oxc_formatter written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/leaysgur/oxc_formatter 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" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oxc_index v3.0.0 [INFO] [stderr] Downloaded oxc_ast_macros v0.55.0 [INFO] [stderr] Downloaded oxc_span v0.55.0 [INFO] [stderr] Downloaded oxc_diagnostics v0.55.0 [INFO] [stderr] Downloaded oxc_estree v0.55.0 [INFO] [stderr] Downloaded oxc_ecmascript v0.55.0 [INFO] [stderr] Downloaded oxc_regular_expression v0.55.0 [INFO] [stderr] Downloaded oxc_data_structures v0.55.0 [INFO] [stderr] Downloaded oxc_allocator v0.55.0 [INFO] [stderr] Downloaded oxc_syntax v0.55.0 [INFO] [stderr] Downloaded oxc_parser v0.55.0 [INFO] [stderr] Downloaded oxc_ast v0.55.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ee4dec85d2e3564be533ef55c2ffd1e834bd0a042d3f03b43aa02bcf858be57 [INFO] running `Command { std: "docker" "start" "-a" "3ee4dec85d2e3564be533ef55c2ffd1e834bd0a042d3f03b43aa02bcf858be57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ee4dec85d2e3564be533ef55c2ffd1e834bd0a042d3f03b43aa02bcf858be57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ee4dec85d2e3564be533ef55c2ffd1e834bd0a042d3f03b43aa02bcf858be57", kill_on_drop: false }` [INFO] [stdout] 3ee4dec85d2e3564be533ef55c2ffd1e834bd0a042d3f03b43aa02bcf858be57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 060fc27b7a38c11060c3d3915ff45c99a7397bc6bc83aeab448bfc3d7144d5f1 [INFO] running `Command { std: "docker" "start" "-a" "060fc27b7a38c11060c3d3915ff45c99a7397bc6bc83aeab448bfc3d7144d5f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling owo-colors v4.2.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking cow-utils v0.1.3 [INFO] [stderr] Checking oxc_estree v0.55.0 [INFO] [stderr] Checking unicode-id-start v1.3.1 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking oxc_index v3.0.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking ryu-js v1.0.2 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking oxc_data_structures v0.55.0 [INFO] [stderr] Checking oxc_allocator v0.55.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling oxc-miette-derive v1.0.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling oxc_ast_macros v0.55.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking oxc-miette v1.0.2 [INFO] [stderr] Checking oxc_span v0.55.0 [INFO] [stderr] Checking oxc_diagnostics v0.55.0 [INFO] [stderr] Checking oxc_syntax v0.55.0 [INFO] [stderr] Checking oxc_regular_expression v0.55.0 [INFO] [stderr] Checking oxc_ast v0.55.0 [INFO] [stderr] Checking oxc_ecmascript v0.55.0 [INFO] [stderr] Checking oxc_parser v0.55.0 [INFO] [stderr] Checking oxc_formatter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Any` is never constructed [INFO] [stdout] --> src/buffer.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum BufferSnapshot { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | Any(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferSnapshot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_any` is never used [INFO] [stdout] --> src/buffer.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl BufferSnapshot { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn unwrap_any(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_capacity` is never used [INFO] [stdout] --> src/buffer.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl<'a> VecBuffer<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn with_capacity(capacity: usize, state: &'a mut FormatState) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/buffer.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'inner, Inspector> Inspect<'inner, Inspector> { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 261 | fn new(inner: &'inner mut dyn Buffer, inspector: Inspector) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/buffer.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 357 | impl<'a> RemoveSoftLinesBuffer<'a> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 358 | /// Creates a new buffer that removes the soft line breaks before writing them into `buffer`. [INFO] [stdout] 359 | pub fn new(inner: &'a mut dyn Buffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inspect` and `write_elements` are never used [INFO] [stdout] --> src/buffer.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 547 | pub trait BufferExtensions: Buffer + Sized { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 550 | fn inspect(&mut self, inspector: F) -> Inspect [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | fn write_elements(&mut self, elements: I) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_element` is never used [INFO] [stdout] --> src/buffer.rs:635:12 [INFO] [stdout] | [INFO] [stdout] 618 | / impl<'buf, B> Recording<'buf, B> [INFO] [stdout] 619 | | where [INFO] [stdout] 620 | | B: Buffer, [INFO] [stdout] | |______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 635 | pub fn write_element(&mut self, element: FormatElement) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_line` is never used [INFO] [stdout] --> src/builders.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | pub const fn empty_line() -> Line { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_suffix` is never used [INFO] [stdout] --> src/builders.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn line_suffix(inner: &Content) -> LineSuffix [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_suffix_boundary` is never used [INFO] [stdout] --> src/builders.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | pub const fn line_suffix_boundary() -> LineSuffixBoundary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `labelled` is never used [INFO] [stdout] --> src/builders.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn labelled(label_id: LabelId, content: &Content) -> FormatLabelled [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_space` is never used [INFO] [stdout] --> src/builders.rs:602:8 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn maybe_space(should_insert: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/builders.rs:687:8 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn indent(content: &Content) -> Indent [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dedent` is never used [INFO] [stdout] --> src/builders.rs:844:8 [INFO] [stdout] | [INFO] [stdout] 844 | pub fn dedent(content: &Content) -> Dedent [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dedent_to_root` is never used [INFO] [stdout] --> src/builders.rs:917:8 [INFO] [stdout] | [INFO] [stdout] 917 | pub fn dedent_to_root(content: &Content) -> Dedent [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align` is never used [INFO] [stdout] --> src/builders.rs:1030:8 [INFO] [stdout] | [INFO] [stdout] 1030 | pub fn align(count: u8, content: &Content) -> Align [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_indent` is never used [INFO] [stdout] --> src/builders.rs:1098:8 [INFO] [stdout] | [INFO] [stdout] 1098 | pub fn block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_block_indent` is never used [INFO] [stdout] --> src/builders.rs:1169:8 [INFO] [stdout] | [INFO] [stdout] 1169 | pub fn soft_block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_block_indent_with_maybe_space` is never used [INFO] [stdout] --> src/builders.rs:1269:8 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn soft_block_indent_with_maybe_space( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_line_indent_or_space` is never used [INFO] [stdout] --> src/builders.rs:1347:8 [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn soft_line_indent_or_space(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_line_indent_or_hard_space` is never used [INFO] [stdout] --> src/builders.rs:1447:8 [INFO] [stdout] | [INFO] [stdout] 1447 | pub fn soft_line_indent_or_hard_space(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Soft`, `Block`, `SoftSpace`, `HardSpace`, and `SoftLineOrSpace` are never constructed [INFO] [stdout] --> src/builders.rs:1462:5 [INFO] [stdout] | [INFO] [stdout] 1461 | enum IndentMode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 1462 | Soft, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1463 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1464 | SoftSpace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1465 | HardSpace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1466 | SoftLineOrSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_space_or_block_indent` is never used [INFO] [stdout] --> src/builders.rs:1583:8 [INFO] [stdout] | [INFO] [stdout] 1583 | pub fn soft_space_or_block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group` is never used [INFO] [stdout] --> src/builders.rs:1663:8 [INFO] [stdout] | [INFO] [stdout] 1663 | pub fn group(content: &impl Format) -> Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_group_id` and `should_expand` are never used [INFO] [stdout] --> src/builders.rs:1679:12 [INFO] [stdout] | [INFO] [stdout] 1678 | impl Group<'_> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 1679 | pub fn with_group_id(mut self, group_id: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1690 | pub fn should_expand(mut self, should_expand: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_parent` is never used [INFO] [stdout] --> src/builders.rs:1759:14 [INFO] [stdout] | [INFO] [stdout] 1759 | pub const fn expand_parent() -> ExpandParent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_group_breaks` is never used [INFO] [stdout] --> src/builders.rs:1846:8 [INFO] [stdout] | [INFO] [stdout] 1846 | pub fn if_group_breaks(content: &Content) -> IfGroupBreaks [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_group_fits_on_line` is never used [INFO] [stdout] --> src/builders.rs:1927:8 [INFO] [stdout] | [INFO] [stdout] 1927 | pub fn if_group_fits_on_line(flat_content: &Content) -> IfGroupBreaks [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_group_id` is never used [INFO] [stdout] --> src/builders.rs:1999:12 [INFO] [stdout] | [INFO] [stdout] 1945 | impl IfGroupBreaks<'_> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1999 | pub fn with_group_id(mut self, group_id: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent_if_group_breaks` is never used [INFO] [stdout] --> src/builders.rs:2110:8 [INFO] [stdout] | [INFO] [stdout] 2110 | pub fn indent_if_group_breaks(content: &Content, group_id: GroupId) -> IndentIfGroupBreaks [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_once` is never used [INFO] [stdout] --> src/builders.rs:2281:14 [INFO] [stdout] | [INFO] [stdout] 2281 | pub const fn format_once(formatter: T) -> FormatOnce [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinBuilder` is never constructed [INFO] [stdout] --> src/builders.rs:2317:12 [INFO] [stdout] | [INFO] [stdout] 2317 | pub struct JoinBuilder<'fmt, 'buf, Separator> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_separator`, `entry`, `entries`, and `finish` are never used [INFO] [stdout] --> src/builders.rs:2328:19 [INFO] [stdout] | [INFO] [stdout] 2323 | / impl<'fmt, 'buf, Separator> JoinBuilder<'fmt, 'buf, Separator> [INFO] [stdout] 2324 | | where [INFO] [stdout] 2325 | | Separator: Format, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 2328 | pub(super) fn new(fmt: &'fmt mut Formatter<'buf>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2337 | pub(super) fn with_separator(fmt: &'fmt mut Formatter<'buf>, with: Separator) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2346 | pub fn entry(&mut self, entry: &dyn Format) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2360 | pub fn entries(&mut self, entries: I) -> &mut Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2373 | pub fn finish(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinNodesBuilder` is never constructed [INFO] [stdout] --> src/builders.rs:2379:12 [INFO] [stdout] | [INFO] [stdout] 2379 | pub struct JoinNodesBuilder<'fmt, 'buf, Separator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `entry`, `entry_no_separator`, `entries`, and `finish` are never used [INFO] [stdout] --> src/builders.rs:2390:19 [INFO] [stdout] | [INFO] [stdout] 2386 | / impl<'fmt, 'buf, Separator> JoinNodesBuilder<'fmt, 'buf, Separator> [INFO] [stdout] 2387 | | where [INFO] [stdout] 2388 | | Separator: Format, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 2389 | { [INFO] [stdout] 2390 | pub(super) fn new(separator: Separator, fmt: &'fmt mut Formatter<'buf>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2400 | pub fn entry(&mut self, _node: () /*&SyntaxNode*/, content: &dyn Format) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2417 | pub fn entry_no_separator(&mut self, content: &dyn Format) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2426 | pub fn entries(&mut self, entries: I) -> &mut Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2438 | pub fn finish(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines_before` is never used [INFO] [stdout] --> src/builders.rs:2442:8 [INFO] [stdout] | [INFO] [stdout] 2442 | pub fn get_lines_before(/*next_node: &SyntaxNode*/) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines_before_token` is never used [INFO] [stdout] --> src/builders.rs:2452:8 [INFO] [stdout] | [INFO] [stdout] 2452 | pub fn get_lines_before_token(/*token: &SyntaxToken*/) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FillBuilder` is never constructed [INFO] [stdout] --> src/builders.rs:2468:12 [INFO] [stdout] | [INFO] [stdout] 2468 | pub struct FillBuilder<'fmt, 'buf> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `entries`, `entry`, and `finish` are never used [INFO] [stdout] --> src/builders.rs:2474:19 [INFO] [stdout] | [INFO] [stdout] 2473 | impl<'a, 'buf> FillBuilder<'a, 'buf> { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 2474 | pub(crate) fn new(fmt: &'a mut Formatter<'buf>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2481 | pub fn entries(&mut self, separator: &dyn Format, entries: I) -> &mut Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2494 | pub fn entry(&mut self, separator: &dyn Format, entry: &dyn Format) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2511 | pub fn finish(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_arguments_unchecked` is never used [INFO] [stdout] --> src/builders.rs:2538:12 [INFO] [stdout] | [INFO] [stdout] 2523 | impl<'a> BestFitting<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 2538 | pub fn from_arguments_unchecked(variants: Arguments<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Interned` is never constructed [INFO] [stdout] --> src/format_element/elements.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum FormatElement { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Interned(Interned), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatElement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_hard` is never used [INFO] [stdout] --> src/format_element/elements.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 86 | impl LineMode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 87 | pub const fn is_hard(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expanded` is never used [INFO] [stdout] --> src/format_element/elements.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 100 | impl PrintMode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub const fn is_expanded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_SEPARATOR` is never used [INFO] [stdout] --> src/format_element/elements.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | const LINE_SEPARATOR: char = '\u{2028}'; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PARAGRAPH_SEPARATOR` is never used [INFO] [stdout] --> src/format_element/elements.rs:151:7 [INFO] [stdout] | [INFO] [stdout] 151 | const PARAGRAPH_SEPARATOR: char = '\u{2029}'; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LINE_TERMINATORS` is never used [INFO] [stdout] --> src/format_element/elements.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | pub const LINE_TERMINATORS: [char; 3] = ['\r', LINE_SEPARATOR, PARAGRAPH_SEPARATOR]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_newlines` is never used [INFO] [stdout] --> src/format_element/elements.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn normalize_newlines(text: &str, terminators: [char; N]) -> Cow { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_tag`, `is_start_tag`, `is_end_tag`, `is_text`, `is_space`, and `is_line` are never used [INFO] [stdout] --> src/format_element/elements.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 182 | impl FormatElement { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 183 | /// Returns `true` if self is a [FormatElement::Tag] [INFO] [stdout] 184 | pub const fn is_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub const fn is_start_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub const fn is_end_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub const fn is_text(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub const fn is_space(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub const fn is_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_tag` is never used [INFO] [stdout] --> src/format_element/elements.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub trait FormatElements { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 346 | fn start_tag(&self, kind: TagKind) -> Option<&Tag>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartFill`, `StartVerbatim`, and `EndVerbatim` are never constructed [INFO] [stdout] --> src/format_element/tag.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Tag { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | StartFill, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | StartVerbatim(VerbatimKind), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 63 | EndVerbatim, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Level` and `Root` are never constructed [INFO] [stdout] --> src/format_element/tag.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum DedentMode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 194 | /// Reduces the indent by a level (if the current indent is > 0) [INFO] [stdout] 195 | Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DedentMode` 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 `mode` is never used [INFO] [stdout] --> src/format_element/tag.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl Condition { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn mode(&self) -> PrintMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of` is never used [INFO] [stdout] --> src/format_element/tag.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 264 | impl LabelId { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 265 | pub fn of(label: T) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Label` is never used [INFO] [stdout] --> src/format_element/tag.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | pub trait Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bogus`, `Suppressed`, `Skipped`, and `Verbatim` are never constructed [INFO] [stdout] --> src/format_element/tag.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 285 | pub enum VerbatimKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 286 | Bogus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 287 | Suppressed, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 288 | /// This was intentionally skipped, not as a result of suppression. [INFO] [stdout] 289 | Skipped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 290 | Verbatim, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerbatimKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_bogus` is never used [INFO] [stdout] --> src/format_element/tag.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 293 | impl VerbatimKind { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 294 | pub const fn is_bogus(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `context_mut` is never used [INFO] [stdout] --> src/formatter.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> Formatter<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn context_mut(&mut self) -> &mut FormatContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_id` is never read [INFO] [stdout] --> src/group_id.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub(super) struct UniqueGroupIdBuilder { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 71 | next_id: AtomicU32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `group_id` is never used [INFO] [stdout] --> src/group_id.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl UniqueGroupIdBuilder { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 75 | /// Creates a new unique group id with the given debug name. [INFO] [stdout] 76 | pub fn group_id(&self, debug_name: &'static str) -> GroupId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/group_id.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 14 | impl GroupId { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub(super) fn new(value: NonZeroU32, debug_name: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `group_id_builder` is never read [INFO] [stdout] --> src/state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FormatState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | context: FormatContext, [INFO] [stdout] 6 | group_id_builder: UniqueGroupIdBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `context_mut` and `group_id` are never used [INFO] [stdout] --> src/state.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl FormatState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn context_mut(&mut self) -> &mut FormatContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn group_id(&self, debug_name: &'static str) -> GroupId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Any` is never constructed [INFO] [stdout] --> src/buffer.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum BufferSnapshot { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | Any(Box), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BufferSnapshot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap_any` is never used [INFO] [stdout] --> src/buffer.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 97 | impl BufferSnapshot { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn unwrap_any(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_capacity` is never used [INFO] [stdout] --> src/buffer.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl<'a> VecBuffer<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn with_capacity(capacity: usize, state: &'a mut FormatState) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/buffer.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 260 | impl<'inner, Inspector> Inspect<'inner, Inspector> { [INFO] [stdout] | -------------------------------------------------- associated function in this implementation [INFO] [stdout] 261 | fn new(inner: &'inner mut dyn Buffer, inspector: Inspector) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/buffer.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 357 | impl<'a> RemoveSoftLinesBuffer<'a> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 358 | /// Creates a new buffer that removes the soft line breaks before writing them into `buffer`. [INFO] [stdout] 359 | pub fn new(inner: &'a mut dyn Buffer) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `inspect` and `write_elements` are never used [INFO] [stdout] --> src/buffer.rs:550:8 [INFO] [stdout] | [INFO] [stdout] 547 | pub trait BufferExtensions: Buffer + Sized { [INFO] [stdout] | ---------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 550 | fn inspect(&mut self, inspector: F) -> Inspect [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 600 | fn write_elements(&mut self, elements: I) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_element` is never used [INFO] [stdout] --> src/buffer.rs:635:12 [INFO] [stdout] | [INFO] [stdout] 618 | / impl<'buf, B> Recording<'buf, B> [INFO] [stdout] 619 | | where [INFO] [stdout] 620 | | B: Buffer, [INFO] [stdout] | |______________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 635 | pub fn write_element(&mut self, element: FormatElement) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `empty_line` is never used [INFO] [stdout] --> src/builders.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | pub const fn empty_line() -> Line { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_suffix` is never used [INFO] [stdout] --> src/builders.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn line_suffix(inner: &Content) -> LineSuffix [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_suffix_boundary` is never used [INFO] [stdout] --> src/builders.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 389 | pub const fn line_suffix_boundary() -> LineSuffixBoundary { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `labelled` is never used [INFO] [stdout] --> src/builders.rs:465:8 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn labelled(label_id: LabelId, content: &Content) -> FormatLabelled [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `maybe_space` is never used [INFO] [stdout] --> src/builders.rs:602:8 [INFO] [stdout] | [INFO] [stdout] 602 | pub fn maybe_space(should_insert: bool) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent` is never used [INFO] [stdout] --> src/builders.rs:687:8 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn indent(content: &Content) -> Indent [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dedent` is never used [INFO] [stdout] --> src/builders.rs:844:8 [INFO] [stdout] | [INFO] [stdout] 844 | pub fn dedent(content: &Content) -> Dedent [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dedent_to_root` is never used [INFO] [stdout] --> src/builders.rs:917:8 [INFO] [stdout] | [INFO] [stdout] 917 | pub fn dedent_to_root(content: &Content) -> Dedent [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `align` is never used [INFO] [stdout] --> src/builders.rs:1030:8 [INFO] [stdout] | [INFO] [stdout] 1030 | pub fn align(count: u8, content: &Content) -> Align [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_indent` is never used [INFO] [stdout] --> src/builders.rs:1098:8 [INFO] [stdout] | [INFO] [stdout] 1098 | pub fn block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_block_indent` is never used [INFO] [stdout] --> src/builders.rs:1169:8 [INFO] [stdout] | [INFO] [stdout] 1169 | pub fn soft_block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_block_indent_with_maybe_space` is never used [INFO] [stdout] --> src/builders.rs:1269:8 [INFO] [stdout] | [INFO] [stdout] 1269 | pub fn soft_block_indent_with_maybe_space( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_line_indent_or_space` is never used [INFO] [stdout] --> src/builders.rs:1347:8 [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn soft_line_indent_or_space(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_line_indent_or_hard_space` is never used [INFO] [stdout] --> src/builders.rs:1447:8 [INFO] [stdout] | [INFO] [stdout] 1447 | pub fn soft_line_indent_or_hard_space(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Soft`, `Block`, `SoftSpace`, `HardSpace`, and `SoftLineOrSpace` are never constructed [INFO] [stdout] --> src/builders.rs:1462:5 [INFO] [stdout] | [INFO] [stdout] 1461 | enum IndentMode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 1462 | Soft, [INFO] [stdout] | ^^^^ [INFO] [stdout] 1463 | Block, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1464 | SoftSpace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1465 | HardSpace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1466 | SoftLineOrSpace, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndentMode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `soft_space_or_block_indent` is never used [INFO] [stdout] --> src/builders.rs:1583:8 [INFO] [stdout] | [INFO] [stdout] 1583 | pub fn soft_space_or_block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group` is never used [INFO] [stdout] --> src/builders.rs:1663:8 [INFO] [stdout] | [INFO] [stdout] 1663 | pub fn group(content: &impl Format) -> Group { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_group_id` and `should_expand` are never used [INFO] [stdout] --> src/builders.rs:1679:12 [INFO] [stdout] | [INFO] [stdout] 1678 | impl Group<'_> { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 1679 | pub fn with_group_id(mut self, group_id: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1690 | pub fn should_expand(mut self, should_expand: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_parent` is never used [INFO] [stdout] --> src/builders.rs:1759:14 [INFO] [stdout] | [INFO] [stdout] 1759 | pub const fn expand_parent() -> ExpandParent { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_group_breaks` is never used [INFO] [stdout] --> src/builders.rs:1846:8 [INFO] [stdout] | [INFO] [stdout] 1846 | pub fn if_group_breaks(content: &Content) -> IfGroupBreaks [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `if_group_fits_on_line` is never used [INFO] [stdout] --> src/builders.rs:1927:8 [INFO] [stdout] | [INFO] [stdout] 1927 | pub fn if_group_fits_on_line(flat_content: &Content) -> IfGroupBreaks [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_group_id` is never used [INFO] [stdout] --> src/builders.rs:1999:12 [INFO] [stdout] | [INFO] [stdout] 1945 | impl IfGroupBreaks<'_> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1999 | pub fn with_group_id(mut self, group_id: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent_if_group_breaks` is never used [INFO] [stdout] --> src/builders.rs:2110:8 [INFO] [stdout] | [INFO] [stdout] 2110 | pub fn indent_if_group_breaks(content: &Content, group_id: GroupId) -> IndentIfGroupBreaks [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_once` is never used [INFO] [stdout] --> src/builders.rs:2281:14 [INFO] [stdout] | [INFO] [stdout] 2281 | pub const fn format_once(formatter: T) -> FormatOnce [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinBuilder` is never constructed [INFO] [stdout] --> src/builders.rs:2317:12 [INFO] [stdout] | [INFO] [stdout] 2317 | pub struct JoinBuilder<'fmt, 'buf, Separator> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_separator`, `entry`, `entries`, and `finish` are never used [INFO] [stdout] --> src/builders.rs:2328:19 [INFO] [stdout] | [INFO] [stdout] 2323 | / impl<'fmt, 'buf, Separator> JoinBuilder<'fmt, 'buf, Separator> [INFO] [stdout] 2324 | | where [INFO] [stdout] 2325 | | Separator: Format, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 2328 | pub(super) fn new(fmt: &'fmt mut Formatter<'buf>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2337 | pub(super) fn with_separator(fmt: &'fmt mut Formatter<'buf>, with: Separator) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2346 | pub fn entry(&mut self, entry: &dyn Format) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2360 | pub fn entries(&mut self, entries: I) -> &mut Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2373 | pub fn finish(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinNodesBuilder` is never constructed [INFO] [stdout] --> src/builders.rs:2379:12 [INFO] [stdout] | [INFO] [stdout] 2379 | pub struct JoinNodesBuilder<'fmt, 'buf, Separator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `entry`, `entry_no_separator`, `entries`, and `finish` are never used [INFO] [stdout] --> src/builders.rs:2390:19 [INFO] [stdout] | [INFO] [stdout] 2386 | / impl<'fmt, 'buf, Separator> JoinNodesBuilder<'fmt, 'buf, Separator> [INFO] [stdout] 2387 | | where [INFO] [stdout] 2388 | | Separator: Format, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 2389 | { [INFO] [stdout] 2390 | pub(super) fn new(separator: Separator, fmt: &'fmt mut Formatter<'buf>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2400 | pub fn entry(&mut self, _node: () /*&SyntaxNode*/, content: &dyn Format) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2417 | pub fn entry_no_separator(&mut self, content: &dyn Format) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2426 | pub fn entries(&mut self, entries: I) -> &mut Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2438 | pub fn finish(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines_before` is never used [INFO] [stdout] --> src/builders.rs:2442:8 [INFO] [stdout] | [INFO] [stdout] 2442 | pub fn get_lines_before(/*next_node: &SyntaxNode*/) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines_before_token` is never used [INFO] [stdout] --> src/builders.rs:2452:8 [INFO] [stdout] | [INFO] [stdout] 2452 | pub fn get_lines_before_token(/*token: &SyntaxToken*/) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FillBuilder` is never constructed [INFO] [stdout] --> src/builders.rs:2468:12 [INFO] [stdout] | [INFO] [stdout] 2468 | pub struct FillBuilder<'fmt, 'buf> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `entries`, `entry`, and `finish` are never used [INFO] [stdout] --> src/builders.rs:2474:19 [INFO] [stdout] | [INFO] [stdout] 2473 | impl<'a, 'buf> FillBuilder<'a, 'buf> { [INFO] [stdout] | ------------------------------------ associated items in this implementation [INFO] [stdout] 2474 | pub(crate) fn new(fmt: &'a mut Formatter<'buf>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 2481 | pub fn entries(&mut self, separator: &dyn Format, entries: I) -> &mut Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2494 | pub fn entry(&mut self, separator: &dyn Format, entry: &dyn Format) -> &mut Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 2511 | pub fn finish(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_arguments_unchecked` is never used [INFO] [stdout] --> src/builders.rs:2538:12 [INFO] [stdout] | [INFO] [stdout] 2523 | impl<'a> BestFitting<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 2538 | pub fn from_arguments_unchecked(variants: Arguments<'a>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Interned` is never constructed [INFO] [stdout] --> src/format_element/elements.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum FormatElement { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Interned(Interned), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatElement` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_hard` is never used [INFO] [stdout] --> src/format_element/elements.rs:87:18 [INFO] [stdout] | [INFO] [stdout] 86 | impl LineMode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 87 | pub const fn is_hard(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_expanded` is never used [INFO] [stdout] --> src/format_element/elements.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 100 | impl PrintMode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub const fn is_expanded(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_tag`, `is_start_tag`, `is_end_tag`, `is_text`, `is_space`, and `is_line` are never used [INFO] [stdout] --> src/format_element/elements.rs:184:18 [INFO] [stdout] | [INFO] [stdout] 182 | impl FormatElement { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 183 | /// Returns `true` if self is a [FormatElement::Tag] [INFO] [stdout] 184 | pub const fn is_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub const fn is_start_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub const fn is_end_tag(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub const fn is_text(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub const fn is_space(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub const fn is_line(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `start_tag` is never used [INFO] [stdout] --> src/format_element/elements.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 321 | pub trait FormatElements { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 346 | fn start_tag(&self, kind: TagKind) -> Option<&Tag>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `StartFill`, `StartVerbatim`, and `EndVerbatim` are never constructed [INFO] [stdout] --> src/format_element/tag.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Tag { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | StartFill, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | StartVerbatim(VerbatimKind), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 63 | EndVerbatim, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Level` and `Root` are never constructed [INFO] [stdout] --> src/format_element/tag.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum DedentMode { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 194 | /// Reduces the indent by a level (if the current indent is > 0) [INFO] [stdout] 195 | Level, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | Root, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DedentMode` 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 `mode` is never used [INFO] [stdout] --> src/format_element/tag.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl Condition { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn mode(&self) -> PrintMode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `of` is never used [INFO] [stdout] --> src/format_element/tag.rs:265:12 [INFO] [stdout] | [INFO] [stdout] 264 | impl LabelId { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 265 | pub fn of(label: T) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Label` is never used [INFO] [stdout] --> src/format_element/tag.rs:276:11 [INFO] [stdout] | [INFO] [stdout] 276 | pub trait Label { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bogus`, `Suppressed`, `Skipped`, and `Verbatim` are never constructed [INFO] [stdout] --> src/format_element/tag.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 285 | pub enum VerbatimKind { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 286 | Bogus, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 287 | Suppressed, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 288 | /// This was intentionally skipped, not as a result of suppression. [INFO] [stdout] 289 | Skipped, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 290 | Verbatim, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VerbatimKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_bogus` is never used [INFO] [stdout] --> src/format_element/tag.rs:294:18 [INFO] [stdout] | [INFO] [stdout] 293 | impl VerbatimKind { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 294 | pub const fn is_bogus(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `context_mut` is never used [INFO] [stdout] --> src/formatter.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> Formatter<'a> { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn context_mut(&mut self) -> &mut FormatContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_id` is never read [INFO] [stdout] --> src/group_id.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub(super) struct UniqueGroupIdBuilder { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 71 | next_id: AtomicU32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `group_id` is never used [INFO] [stdout] --> src/group_id.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl UniqueGroupIdBuilder { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 75 | /// Creates a new unique group id with the given debug name. [INFO] [stdout] 76 | pub fn group_id(&self, debug_name: &'static str) -> GroupId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/group_id.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 14 | impl GroupId { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | pub(super) fn new(value: NonZeroU32, debug_name: &'static str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `group_id_builder` is never read [INFO] [stdout] --> src/state.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FormatState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 5 | context: FormatContext, [INFO] [stdout] 6 | group_id_builder: UniqueGroupIdBuilder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `context_mut` and `group_id` are never used [INFO] [stdout] --> src/state.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl FormatState { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn context_mut(&mut self) -> &mut FormatContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn group_id(&self, debug_name: &'static str) -> GroupId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.34s [INFO] running `Command { std: "docker" "inspect" "060fc27b7a38c11060c3d3915ff45c99a7397bc6bc83aeab448bfc3d7144d5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "060fc27b7a38c11060c3d3915ff45c99a7397bc6bc83aeab448bfc3d7144d5f1", kill_on_drop: false }` [INFO] [stdout] 060fc27b7a38c11060c3d3915ff45c99a7397bc6bc83aeab448bfc3d7144d5f1