[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 try#901e6d56697c79b2e80df6a487b2318ec6f57ee3 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleaysgur%2Foxc_formatter" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/leaysgur/oxc_formatter on toolchain 901e6d56697c79b2e80df6a487b2318ec6f57ee3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "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-5-tc2/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" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e67a7acdf22cc8f0624d829a6afbd1d93e22e0dd367bdf698130bfca8d42fc5 [INFO] running `Command { std: "docker" "start" "-a" "7e67a7acdf22cc8f0624d829a6afbd1d93e22e0dd367bdf698130bfca8d42fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e67a7acdf22cc8f0624d829a6afbd1d93e22e0dd367bdf698130bfca8d42fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e67a7acdf22cc8f0624d829a6afbd1d93e22e0dd367bdf698130bfca8d42fc5", kill_on_drop: false }` [INFO] [stdout] 7e67a7acdf22cc8f0624d829a6afbd1d93e22e0dd367bdf698130bfca8d42fc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+901e6d56697c79b2e80df6a487b2318ec6f57ee3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ba6a98eba221cb01c9a6c802f544a28b8fba6905b6ff432bbd534ef8ecd0b40 [INFO] running `Command { std: "docker" "start" "-a" "9ba6a98eba221cb01c9a6c802f544a28b8fba6905b6ff432bbd534ef8ecd0b40", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling owo-colors v4.2.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking oxc_estree v0.55.0 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking cow-utils v0.1.3 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking unicode-id-start v1.3.1 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking oxc_index v3.0.0 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Checking oxc_allocator v0.55.0 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Checking ryu-js v1.0.2 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking oxc_data_structures v0.55.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking drop_bomb v0.1.5 [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 oxc_ast_macros v0.55.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking thiserror v1.0.69 [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] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/printer/queue.rs:351:30 [INFO] [stdout] | [INFO] [stdout] 351 | PrintQueue::new(&[FormatElement::Tag(Tag::StartEntry), FormatElement::Space]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 352 | [INFO] [stdout] 353 | assert_eq!(queue.pop(), Some(&FormatElement::Tag(Tag::StartEntry))); [INFO] [stdout] | ----- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 350 ~ let binding = [FormatElement::Tag(Tag::StartEntry), FormatElement::Space]; [INFO] [stdout] 351 ~ let mut queue = [INFO] [stdout] 352 ~ PrintQueue::new(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/printer/queue.rs:355:28 [INFO] [stdout] | [INFO] [stdout] 355 | queue.extend_back(&[FormatElement::Line(LineMode::SoftOrSpace)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 358 | queue.pop(), [INFO] [stdout] | ----- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 355 ~ let binding = [FormatElement::Line(LineMode::SoftOrSpace)]; [INFO] [stdout] 356 ~ queue.extend_back(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/printer/queue.rs:369:30 [INFO] [stdout] | [INFO] [stdout] 369 | PrintQueue::new(&[FormatElement::Tag(Tag::StartEntry), FormatElement::Space]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] 370 | [INFO] [stdout] 371 | assert_eq!(queue.pop(), Some(&FormatElement::Tag(Tag::StartEntry))); [INFO] [stdout] | ----- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 368 ~ let binding = [FormatElement::Tag(Tag::StartEntry), FormatElement::Space]; [INFO] [stdout] 369 ~ let mut queue = [INFO] [stdout] 370 ~ PrintQueue::new(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/printer/queue.rs:374:28 [INFO] [stdout] | [INFO] [stdout] 374 | queue.extend_back(&[FormatElement::Line(LineMode::SoftOrSpace)]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 377 | queue.pop(), [INFO] [stdout] | ----- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 374 ~ let binding = [FormatElement::Line(LineMode::SoftOrSpace)]; [INFO] [stdout] 375 ~ queue.extend_back(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxc_formatter` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `elements`, `state_mut`, `snapshot`, and `restore_snapshot` are never used [INFO] [stdout] --> src/buffer.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait Buffer { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 43 | fn elements(&self) -> &[FormatElement]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn state_mut(&mut self) -> &mut FormatState; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn snapshot(&self) -> BufferSnapshot; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn restore_snapshot(&mut self, snapshot: BufferSnapshot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BufferSnapshot` is never used [INFO] [stdout] --> src/buffer.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum BufferSnapshot { [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] [INFO] [stdout] [INFO] [stdout] warning: associated items `position`, `unwrap_position`, and `unwrap_any` are never used [INFO] [stdout] --> src/buffer.rs:99:18 [INFO] [stdout] | [INFO] [stdout] 97 | impl BufferSnapshot { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 98 | /// Creates a new buffer snapshot that points to the specified position. [INFO] [stdout] 99 | pub const fn position(index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn unwrap_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn unwrap_any(self) -> T { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_capacity` and `take_vec` are never used [INFO] [stdout] --> src/buffer.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 179 | impl<'a> VecBuffer<'a> { [INFO] [stdout] | ---------------------- associated items 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] 202 | pub fn take_vec(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Inspect` is never constructed [INFO] [stdout] --> src/buffer.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct Inspect<'inner, Inspector> { [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: struct `RemoveSoftLinesBuffer` is never constructed [INFO] [stdout] --> src/buffer.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 341 | pub struct RemoveSoftLinesBuffer<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `clean_interned`, and `is_in_expanded_conditional_content` are never used [INFO] [stdout] --> src/buffer.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 357 | impl<'a> RemoveSoftLinesBuffer<'a> { [INFO] [stdout] | ---------------------------------- associated items 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] 368 | fn clean_interned(&mut self, interned: &Interned) -> Interned { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | fn is_in_expanded_conditional_content(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_interned` is never used [INFO] [stdout] --> src/buffer.rs:387:4 [INFO] [stdout] | [INFO] [stdout] 387 | fn clean_interned( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `BufferExtensions` is never used [INFO] [stdout] --> src/buffer.rs:547:11 [INFO] [stdout] | [INFO] [stdout] 547 | pub trait BufferExtensions: Buffer + Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Recording` is never constructed [INFO] [stdout] --> src/buffer.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 613 | pub struct Recording<'buf, Buffer> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recording` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `write_fmt`, `write_element`, and `stop` are never used [INFO] [stdout] --> src/buffer.rs:622:8 [INFO] [stdout] | [INFO] [stdout] 618 | / impl<'buf, B> Recording<'buf, B> [INFO] [stdout] 619 | | where [INFO] [stdout] 620 | | B: Buffer, [INFO] [stdout] | |______________- associated items in this implementation [INFO] [stdout] 621 | { [INFO] [stdout] 622 | fn new(buffer: &'buf mut B) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 630 | pub fn write_fmt(&mut self, arguments: Arguments) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 635 | pub fn write_element(&mut self, element: FormatElement) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 639 | pub fn stop(self) -> Recorded<'buf> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Recorded` is never constructed [INFO] [stdout] --> src/buffer.rs:655:12 [INFO] [stdout] | [INFO] [stdout] 655 | pub struct Recorded<'a>(&'a [FormatElement]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Recorded` 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_line_break` is never used [INFO] [stdout] --> src/builders.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub const fn soft_line_break() -> Line { [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 `soft_line_break_or_space` is never used [INFO] [stdout] --> src/builders.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | pub const fn soft_line_break_or_space() -> 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: struct `LineSuffix` is never constructed [INFO] [stdout] --> src/builders.rs:345:12 [INFO] [stdout] | [INFO] [stdout] 345 | pub struct LineSuffix<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineSuffix` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: struct `LineSuffixBoundary` is never constructed [INFO] [stdout] --> src/builders.rs:394:12 [INFO] [stdout] | [INFO] [stdout] 394 | pub struct LineSuffixBoundary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineSuffixBoundary` 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 `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: struct `FormatLabelled` is never constructed [INFO] [stdout] --> src/builders.rs:476:12 [INFO] [stdout] | [INFO] [stdout] 476 | pub struct FormatLabelled<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatLabelled` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hard_space` is never used [INFO] [stdout] --> src/builders.rs:580:14 [INFO] [stdout] | [INFO] [stdout] 580 | pub const fn hard_space() -> HardSpace { [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: struct `HardSpace` is never constructed [INFO] [stdout] --> src/builders.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 616 | pub struct HardSpace; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HardSpace` 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 `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: struct `Indent` is never constructed [INFO] [stdout] --> src/builders.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 697 | pub struct Indent<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Indent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: struct `Dedent` is never constructed [INFO] [stdout] --> src/builders.rs:855:12 [INFO] [stdout] | [INFO] [stdout] 855 | pub struct Dedent<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dedent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: struct `Align` is never constructed [INFO] [stdout] --> src/builders.rs:1041:12 [INFO] [stdout] | [INFO] [stdout] 1041 | pub struct Align<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Align` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: struct `BlockIndent` is never constructed [INFO] [stdout] --> src/builders.rs:1455:12 [INFO] [stdout] | [INFO] [stdout] 1455 | pub struct BlockIndent<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockIndent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndentMode` is never used [INFO] [stdout] --> src/builders.rs:1461:6 [INFO] [stdout] | [INFO] [stdout] 1461 | enum IndentMode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndentMode` 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 `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: struct `Group` is never constructed [INFO] [stdout] --> src/builders.rs:1672:12 [INFO] [stdout] | [INFO] [stdout] 1672 | pub struct Group<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Group` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: struct `ExpandParent` is never constructed [INFO] [stdout] --> src/builders.rs:1764:12 [INFO] [stdout] | [INFO] [stdout] 1764 | pub struct ExpandParent; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExpandParent` 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 `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: struct `IfGroupBreaks` is never constructed [INFO] [stdout] --> src/builders.rs:1939:12 [INFO] [stdout] | [INFO] [stdout] 1939 | pub struct IfGroupBreaks<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IfGroupBreaks` 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 `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: struct `IndentIfGroupBreaks` is never constructed [INFO] [stdout] --> src/builders.rs:2121:12 [INFO] [stdout] | [INFO] [stdout] 2121 | pub struct IndentIfGroupBreaks<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndentIfGroupBreaks` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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 `FormatOnce` is never constructed [INFO] [stdout] --> src/builders.rs:2291:12 [INFO] [stdout] | [INFO] [stdout] 2291 | pub struct 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: struct `BestFitting` is never constructed [INFO] [stdout] --> src/builders.rs:2519:12 [INFO] [stdout] | [INFO] [stdout] 2519 | pub struct BestFitting<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BestFitting` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `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: variants `HardSpace`, `ExpandParent`, `LineSuffixBoundary`, `Interned`, and `BestFitting` are never constructed [INFO] [stdout] --> src/format_element/elements.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum FormatElement { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | HardSpace, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | ExpandParent, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | LineSuffixBoundary, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | Interned(Interned), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | BestFitting(BestFittingElement), [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: variant `Soft` is never constructed [INFO] [stdout] --> src/format_element/elements.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum LineMode { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 79 | Soft, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineMode` 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_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: associated function `new` is never used [INFO] [stdout] --> src/format_element/elements.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl Interned { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 114 | pub fn new(content: Vec) -> Self { [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: associated function `from_vec_unchecked` is never used [INFO] [stdout] --> src/format_element/elements.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 275 | impl BestFittingElement { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 285 | pub unsafe fn from_vec_unchecked(variants: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FormatElements` is never used [INFO] [stdout] --> src/format_element/elements.rs:321:11 [INFO] [stdout] | [INFO] [stdout] 321 | pub trait FormatElements { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/format_element/tag.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Tag { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 13 | /// Indents the content one level deeper, see [crate::builders::indent] for documentation and examples. [INFO] [stdout] 14 | StartIndent, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | EndIndent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | StartAlign(Align), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | EndAlign, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | StartDedent(DedentMode), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 27 | EndDedent(DedentMode), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | StartGroup(Group), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | EndGroup, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | StartConditionalContent(Condition), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | EndConditionalContent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | StartIndentIfGroupBreaks(GroupId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | EndIndentIfGroupBreaks(GroupId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | StartFill, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | StartEntry, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 55 | EndEntry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | StartLineSuffix, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | StartVerbatim(VerbatimKind), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 63 | EndVerbatim, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | StartLabelled(LabelId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 70 | EndLabelled, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` 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 `is_end` is never used [INFO] [stdout] --> src/format_element/tag.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 73 | impl Tag { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub const fn is_end(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Expand` is never constructed [INFO] [stdout] --> src/format_element/tag.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub enum GroupMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 141 | Expand, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GroupMode` 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: associated items `new`, `with_id`, and `with_mode` are never used [INFO] [stdout] --> src/format_element/tag.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 159 | impl Group { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 160 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn with_id(mut self, id: Option) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn with_mode(mut self, mode: GroupMode) -> Self { [INFO] [stdout] | ^^^^^^^^^ [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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_group_id`, and `mode` are never used [INFO] [stdout] --> src/format_element/tag.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 212 | impl Condition { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 213 | pub fn new(mode: PrintMode) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn with_group_id(mut self, id: Option) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/buffer.rs:550:19 [INFO] [stdout] | [INFO] [stdout] 550 | fn inspect(&mut self, inspector: F) -> Inspect [INFO] [stdout] | ^^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 550 | fn inspect(&mut self, inspector: F) -> Inspect<'_, F> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/buffer.rs:595:24 [INFO] [stdout] | [INFO] [stdout] 595 | fn start_recording(&mut self) -> Recording { [INFO] [stdout] | ^^^^^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 595 | fn start_recording(&mut self) -> Recording<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:280:27 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn dynamic_text(text: &str) -> DynamicText { [INFO] [stdout] | ^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 280 | pub fn dynamic_text(text: &str) -> DynamicText<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:335:36 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn line_suffix(inner: &Content) -> LineSuffix [INFO] [stdout] | ^^^^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 335 | pub fn line_suffix(inner: &Content) -> LineSuffix<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:465:54 [INFO] [stdout] | [INFO] [stdout] 465 | pub fn labelled(label_id: LabelId, content: &Content) -> FormatLabelled [INFO] [stdout] | ^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 465 | pub fn labelled(label_id: LabelId, content: &Content) -> FormatLabelled<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:687:33 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn indent(content: &Content) -> Indent [INFO] [stdout] | ^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 687 | pub fn indent(content: &Content) -> Indent<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:844:33 [INFO] [stdout] | [INFO] [stdout] 844 | pub fn dedent(content: &Content) -> Dedent [INFO] [stdout] | ^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 844 | pub fn dedent(content: &Content) -> Dedent<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:917:41 [INFO] [stdout] | [INFO] [stdout] 917 | pub fn dedent_to_root(content: &Content) -> Dedent [INFO] [stdout] | ^^^^^^^^ ------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 917 | pub fn dedent_to_root(content: &Content) -> Dedent<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1030:43 [INFO] [stdout] | [INFO] [stdout] 1030 | pub fn align(count: u8, content: &Content) -> Align [INFO] [stdout] | ^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1030 | pub fn align(count: u8, content: &Content) -> Align<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1098:30 [INFO] [stdout] | [INFO] [stdout] 1098 | pub fn block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1098 | pub fn block_indent(content: &impl Format) -> BlockIndent<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1169:35 [INFO] [stdout] | [INFO] [stdout] 1169 | pub fn soft_block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1169 | pub fn soft_block_indent(content: &impl Format) -> BlockIndent<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1270:14 [INFO] [stdout] | [INFO] [stdout] 1270 | content: &impl Format, [INFO] [stdout] | ^^^^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 1271 | should_add_space: bool, [INFO] [stdout] 1272 | ) -> BlockIndent { [INFO] [stdout] | ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1272 | ) -> BlockIndent<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1347:43 [INFO] [stdout] | [INFO] [stdout] 1347 | pub fn soft_line_indent_or_space(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1447:48 [INFO] [stdout] | [INFO] [stdout] 1447 | pub fn soft_line_indent_or_hard_space(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1583:44 [INFO] [stdout] | [INFO] [stdout] 1583 | pub fn soft_space_or_block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1663:23 [INFO] [stdout] | [INFO] [stdout] 1663 | pub fn group(content: &impl Format) -> Group { [INFO] [stdout] | ^^^^^^^^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1663 | pub fn group(content: &impl Format) -> Group<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1846:42 [INFO] [stdout] | [INFO] [stdout] 1846 | pub fn if_group_breaks(content: &Content) -> IfGroupBreaks [INFO] [stdout] | ^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1846 | pub fn if_group_breaks(content: &Content) -> IfGroupBreaks<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:1927:53 [INFO] [stdout] | [INFO] [stdout] 1927 | pub fn if_group_fits_on_line(flat_content: &Content) -> IfGroupBreaks [INFO] [stdout] | ^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/builders.rs:2110:49 [INFO] [stdout] | [INFO] [stdout] 2110 | pub fn indent_if_group_breaks(content: &Content, group_id: GroupId) -> IndentIfGroupBreaks [INFO] [stdout] | ^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/format_element/elements.rs:156:49 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn normalize_newlines(text: &str, terminators: [char; N]) -> Cow { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 156 | pub fn normalize_newlines(text: &str, terminators: [char; N]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ba6a98eba221cb01c9a6c802f544a28b8fba6905b6ff432bbd534ef8ecd0b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ba6a98eba221cb01c9a6c802f544a28b8fba6905b6ff432bbd534ef8ecd0b40", kill_on_drop: false }` [INFO] [stdout] 9ba6a98eba221cb01c9a6c802f544a28b8fba6905b6ff432bbd534ef8ecd0b40