[INFO] fetching crate rome_formatter 0.0.1... [INFO] checking rome_formatter-0.0.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rome_formatter 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rome_formatter 0.0.1 [INFO] finished tweaking crates.io crate rome_formatter 0.0.1 [INFO] tweaked toml for crates.io crate rome_formatter 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rome_formatter 0.0.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.0.4) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e60e6bda3b9999d13eadcc08a7c700aba0e61341ca101f37e0165feb4ebb8176 [INFO] running `Command { std: "docker" "start" "-a" "e60e6bda3b9999d13eadcc08a7c700aba0e61341ca101f37e0165feb4ebb8176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e60e6bda3b9999d13eadcc08a7c700aba0e61341ca101f37e0165feb4ebb8176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60e6bda3b9999d13eadcc08a7c700aba0e61341ca101f37e0165feb4ebb8176", kill_on_drop: false }` [INFO] [stdout] e60e6bda3b9999d13eadcc08a7c700aba0e61341ca101f37e0165feb4ebb8176 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dea514d9800c72ce473fc21ee999880f2e78082c01cd30e38e9703ed0fa9749 [INFO] running `Command { std: "docker" "start" "-a" "0dea514d9800c72ce473fc21ee999880f2e78082c01cd30e38e9703ed0fa9749", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking countme v3.0.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling rome_diagnostics_categories v0.0.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking drop_bomb v0.1.5 [INFO] [stderr] Compiling rome_markup v0.0.1 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling rome_diagnostics_macros v0.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking rome_text_size v0.0.1 [INFO] [stderr] Checking rome_text_edit v0.0.1 [INFO] [stderr] Checking rome_rowan v0.0.1 [INFO] [stderr] Checking rome_console v0.0.1 [INFO] [stderr] Checking rome_diagnostics v0.0.1 [INFO] [stderr] Checking rome_formatter v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rome_js_parser` [INFO] [stdout] --> src/comments/builder.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | use rome_js_parser::parse_module; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_parser` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_parser`, use `cargo add rome_js_parser` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rome_js_syntax` [INFO] [stdout] --> src/comments/builder.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | use rome_js_syntax::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_syntax` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_syntax`, use `cargo add rome_js_syntax` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rome_js_syntax` [INFO] [stdout] --> src/diagnostics.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | use rome_js_syntax::TextRange; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `rome_js_syntax` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rome_js_syntax`, use `cargo add rome_js_syntax` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::builders::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `BestFitting` in the type namespace is first re-exported here [INFO] [stdout] 2 | pub use crate::format_element::*; [INFO] [stdout] | ------------------------ but the name `BestFitting` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/prelude.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::builders::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the name `BestFitting` in the type namespace is first re-exported here [INFO] [stdout] 2 | pub use crate::format_element::*; [INFO] [stdout] | ------------------------ but the name `BestFitting` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueueIterator` is never constructed [INFO] [stdout] --> src/printer/queue.rs:209:19 [INFO] [stdout] | [INFO] [stdout] 209 | pub(super) struct QueueIterator<'a, 'q, Q: Queue<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/printer/stack.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub(super) trait Stack { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 13 | fn is_empty(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:608:19 [INFO] [stdout] | [INFO] [stdout] 608 | fn inspect(&mut self, inspector: F) -> Inspect [INFO] [stdout] | ^^^^^^^^^ ------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 608 | fn inspect(&mut self, inspector: F) -> Inspect<'_, Self::Context, F> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/buffer.rs:653:24 [INFO] [stdout] | [INFO] [stdout] 653 | fn start_recording(&mut self) -> Recording { [INFO] [stdout] | ^^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 653 | fn start_recording(&mut self) -> Recording<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:279:27 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn dynamic_text(text: &str, position: TextSize) -> DynamicText { [INFO] [stdout] | ^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn dynamic_text(text: &str, position: TextSize) -> DynamicText<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:420:45 [INFO] [stdout] | [INFO] [stdout] 420 | pub fn line_suffix(inner: &Content) -> LineSuffix [INFO] [stdout] | ^^^^^^^^ ------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 420 | pub fn line_suffix(inner: &Content) -> LineSuffix<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:535:63 [INFO] [stdout] | [INFO] [stdout] 535 | pub fn labelled(label_id: LabelId, content: &Content) -> FormatLabelled [INFO] [stdout] | ^^^^^^^^ ----------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 535 | pub fn labelled(label_id: LabelId, content: &Content) -> FormatLabelled<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:634:42 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn indent(content: &Content) -> Indent [INFO] [stdout] | ^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 634 | pub fn indent(content: &Content) -> Indent<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:703:42 [INFO] [stdout] | [INFO] [stdout] 703 | pub fn dedent(content: &Content) -> Dedent [INFO] [stdout] | ^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 703 | pub fn dedent(content: &Content) -> Dedent<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:776:50 [INFO] [stdout] | [INFO] [stdout] 776 | pub fn dedent_to_root(content: &Content) -> Dedent [INFO] [stdout] | ^^^^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 776 | pub fn dedent_to_root(content: &Content) -> Dedent<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:888:52 [INFO] [stdout] | [INFO] [stdout] 888 | pub fn align(count: u8, content: &Content) -> Align [INFO] [stdout] | ^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 888 | pub fn align(count: u8, content: &Content) -> Align<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:956:39 [INFO] [stdout] | [INFO] [stdout] 956 | pub fn block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 956 | pub fn block_indent(content: &impl Format) -> BlockIndent<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:1027:44 [INFO] [stdout] | [INFO] [stdout] 1027 | pub fn soft_block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1027 | pub fn soft_block_indent(content: &impl Format) -> BlockIndent<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:1101:52 [INFO] [stdout] | [INFO] [stdout] 1101 | pub fn soft_line_indent_or_space(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1101 | pub fn soft_line_indent_or_space(content: &impl Format) -> BlockIndent<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:1234:53 [INFO] [stdout] | [INFO] [stdout] 1234 | pub fn soft_space_or_block_indent(content: &impl Format) -> BlockIndent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1234 | pub fn soft_space_or_block_indent(content: &impl Format) -> BlockIndent<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:1314:32 [INFO] [stdout] | [INFO] [stdout] 1314 | pub fn group(content: &impl Format) -> Group { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1314 | pub fn group(content: &impl Format) -> Group<'_, Context> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:1497:51 [INFO] [stdout] | [INFO] [stdout] 1497 | pub fn if_group_breaks(content: &Content) -> IfGroupBreaks [INFO] [stdout] | ^^^^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1497 | pub fn if_group_breaks(content: &Content) -> IfGroupBreaks<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:1578:62 [INFO] [stdout] | [INFO] [stdout] 1578 | pub fn if_group_fits_on_line(flat_content: &Content) -> IfGroupBreaks [INFO] [stdout] | ^^^^^^^^ ---------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1578 | pub fn if_group_fits_on_line(flat_content: &Content) -> IfGroupBreaks<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/builders.rs:1762:14 [INFO] [stdout] | [INFO] [stdout] 1762 | content: &Content, [INFO] [stdout] | ^^^^^^^^ the lifetime is elided here [INFO] [stdout] 1763 | group_id: GroupId, [INFO] [stdout] 1764 | ) -> IndentIfGroupBreaks [INFO] [stdout] | ---------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1764 | ) -> IndentIfGroupBreaks<'_, Context> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/comments.rs:903:10 [INFO] [stdout] | [INFO] [stdout] 903 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 904 | node: &'a SyntaxNode, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 905 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ----------------- -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 905 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/comments/map.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn parts(&self, key: &K) -> PartsIterator { [INFO] [stdout] | ^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 243 | pub fn parts(&self, key: &K) -> PartsIterator<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format_element.rs:176:49 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn normalize_newlines(text: &str, terminators: [char; N]) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 176 | pub fn normalize_newlines(text: &str, terminators: [char; N]) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/source_map.rs:137:27 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn deleted_ranges(&self) -> DeletedRanges { [INFO] [stdout] | ^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn deleted_ranges(&self) -> DeletedRanges<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token/number.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn format_number_token(token: &SyntaxToken) -> CleanedNumberLiteralText [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 9 | pub fn format_number_token(token: &SyntaxToken) -> CleanedNumberLiteralText<'_, L> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token/number.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn format_trimmed_number(text: &str) -> Cow { [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 58 | fn format_trimmed_number(text: &str) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token/string.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | fn to_ascii_lowercase_cow(&self) -> Cow; [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 7 | fn to_ascii_lowercase_cow(&self) -> Cow<'_, str>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token/string.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | fn to_ascii_lowercase_cow(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn to_ascii_lowercase_cow(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token/string.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn to_ascii_lowercase_cow(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | fn to_ascii_lowercase_cow(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token/string.rs:136:38 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn normalize_string(raw_content: &str, preferred_quote: Quote) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn normalize_string(raw_content: &str, preferred_quote: Quote) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivia.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | node: &SyntaxNode, [INFO] [stdout] | ^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 17 | ) -> FormatLeadingComments { [INFO] [stdout] | ------------------------ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | ) -> FormatLeadingComments<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivia.rs:73:11 [INFO] [stdout] | [INFO] [stdout] 73 | node: &SyntaxNode, [INFO] [stdout] | ^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 74 | ) -> FormatTrailingComments { [INFO] [stdout] | ------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 74 | ) -> FormatTrailingComments<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivia.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | node: &SyntaxNode, [INFO] [stdout] | ^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 148 | ) -> FormatDanglingComments { [INFO] [stdout] | ------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | ) -> FormatDanglingComments<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivia.rs:292:55 [INFO] [stdout] | [INFO] [stdout] 292 | pub const fn format_trimmed_token(token: &SyntaxToken) -> FormatTrimmedToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 292 | pub const fn format_trimmed_token(token: &SyntaxToken) -> FormatTrimmedToken<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivia.rs:311:39 [INFO] [stdout] | [INFO] [stdout] 311 | pub const fn format_removed(token: &SyntaxToken) -> FormatRemoved [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 311 | pub const fn format_removed(token: &SyntaxToken) -> FormatRemoved<'_, L> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trivia.rs:446:12 [INFO] [stdout] | [INFO] [stdout] 446 | token: &SyntaxToken, [INFO] [stdout] | ^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 447 | ) -> FormatSkippedTokenTrivia { [INFO] [stdout] | --------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 447 | ) -> FormatSkippedTokenTrivia<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/verbatim.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn format_verbatim_node(node: &SyntaxNode) -> FormatVerbatimNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn format_verbatim_node(node: &SyntaxNode) -> FormatVerbatimNode<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/verbatim.rs:157:45 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn format_bogus_node(node: &SyntaxNode) -> FormatVerbatimNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 157 | pub fn format_bogus_node(node: &SyntaxNode) -> FormatVerbatimNode<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/verbatim.rs:166:50 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn format_suppressed_node(node: &SyntaxNode) -> FormatVerbatimNode { [INFO] [stdout] | ^^^^^^^^^^^^^^ --------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 166 | pub fn format_suppressed_node(node: &SyntaxNode) -> FormatVerbatimNode<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rome_formatter` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0dea514d9800c72ce473fc21ee999880f2e78082c01cd30e38e9703ed0fa9749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dea514d9800c72ce473fc21ee999880f2e78082c01cd30e38e9703ed0fa9749", kill_on_drop: false }` [INFO] [stdout] 0dea514d9800c72ce473fc21ee999880f2e78082c01cd30e38e9703ed0fa9749